Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Duet2 wifi stuck repeating Wifi Error.

    Scheduled Pinned Locked Moved Unsolved
    Duet Hardware and wiring
    6
    65
    2.9k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • zBeebleundefined
      zBeeble @droftarts
      last edited by

      @droftarts All of the things are updated. It's still repeating that error. DWC is unavailable (port is just closed). I can ping it and it's still printing, but it's otherwise unavailable to me.

      But all of the firmware was just updated to 3.5.1 and whatever else arrives in that big zip. And before that, in Feb, I updated all the bits from scratch.

      It's going to be at least another 24h for the print to finish.

      droftartsundefined 1 Reply Last reply Reply Quote 0
      • droftartsundefined
        droftarts administrators @zBeeble
        last edited by Phaedrux

        @zBeeble Okay. Getting an M112M122 when the print finishes would help. A lot of WiFi bugs where quashed in the run up to 3.5 release, but that doesn't mean they all are!

        This thread seems very similar, and sounds like it didn't get resolved: https://forum.duet3d.com/topic/34029/wifi-spi-timeout-error/
        And this one https://forum.duet3d.com/topic/31075/3-5-0b1-wifi-error-spi-timeout

        Do you have FTP enabled?

        Ian

        Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

        zBeebleundefined 1 Reply Last reply Reply Quote 0
        • zBeebleundefined
          zBeeble @droftarts
          last edited by

          @droftarts I can't check at the moment, but I probably have FTP on.

          zBeebleundefined 1 Reply Last reply Reply Quote 0
          • zBeebleundefined
            zBeeble @zBeeble
            last edited by

            @zBeeble Here's a question: what if I can't get in via IP and the screen is still flashing that message? Any ideas on getting that command in?

            droftartsundefined 1 Reply Last reply Reply Quote 0
            • droftartsundefined
              droftarts administrators @zBeeble
              last edited by

              @zBeeble Connect via USB and serial terminal.

              Ian

              Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

              zBeebleundefined 1 Reply Last reply Reply Quote 0
              • zBeebleundefined
                zBeeble @droftarts
                last edited by

                @droftarts I was unable to get all that together. After rebooting the machine, as usual, it is again running normally. Any info you want from it before it craps out again?

                droftartsundefined rechrtbundefined 2 Replies Last reply Reply Quote 0
                • droftartsundefined
                  droftarts administrators @zBeeble
                  last edited by

                  @zBeeble I've passed the info on to @rechrtb who does the ESP side of things, hopefully he'll get a chance to look at it and come back with any suggestions. Have you turned off FTP?

                  Ian

                  Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                  1 Reply Last reply Reply Quote 0
                  • rechrtbundefined
                    rechrtb @zBeeble
                    last edited by

                    @zBeeble Hello, I have some questions:

                    "DWC is unavailable (port is just closed)"

                    When you said , did the browser only keep spinning when trying to load DWC, or was there a more definite error message?

                    I was unable to get all that together.

                    Did you mean trying to get M122 failed as well, or were you only not able to attempt to do a M122 prior to reboot?

                    My Duet2 Wifi occasionally sticks repeating

                    Do you have some notion on how often this repeats? Does it happen when printing, or when the printer has a high uptime? What's the signal level like on the printer normally, is it far from the AP? Are there multiple DWC instances open from multiple devices?

                    rechrtbundefined zBeebleundefined 2 Replies Last reply Reply Quote 0
                    • rechrtbundefined
                      rechrtb @rechrtb
                      last edited by

                      @zBeeble , also are you able and willing to load a special build of the WiFi firmware with more debug output on the printer? This can help us tremendously in diagnosing the problem if you can.

                      If you are, the other thing is also to turn on wifi and network debug outputs using M111 P14 S1 and M111 P1 S1, and having the printer continuously connected to a computer, monitoring the serial output , until the issue happens again . And then once it does happen, we have more logs to go by.

                      rechrtbundefined zBeebleundefined 2 Replies Last reply Reply Quote 0
                      • rechrtbundefined
                        rechrtb @rechrtb
                        last edited by

                        @OwenD @danzaywer you previously reported this issue on other threads mentioned by @droftarts , are you still encountering this issue?

                        If yes, are you also able to do https://forum.duet3d.com/post/339484?

                        @zBeeble , also are you able and willing to load a special build of the WiFi firmware with more debug output on the printer? This can help us tremendously in diagnosing the problem if you can.

                        If you are, the other thing is also to turn on wifi and network debug outputs using M111 P14 S1 and M111 P1 S1, and having the printer continuously connected to a computer, monitoring the serial output , until the issue happens again . And then once it does happen, we have more logs to go by.

                        zBeebleundefined OwenDundefined 2 Replies Last reply Reply Quote 0
                        • zBeebleundefined
                          zBeeble @rechrtb
                          last edited by

                          @rechrtb said in Duet2 wifi stuck repeating Wifi Error.:

                          @zBeeble Hello, I have some questions:

                          "DWC is unavailable (port is just closed)"

                          When you said , did the browser only keep spinning when trying to load DWC, or was there a more definite error message?

                          I'm a network guy (most familiar with the FreeBSD IP stack). I didn't try telnetting to it, but the browser response was that of the port being closed before the page was being delivered. I'm relatively sure it's delivering no data, but I didn't check that for sure. I am sure it's closing the port.

                          I was unable to get all that together.

                          Did you mean trying to get M122 failed as well, or were you only not able to attempt to do a M122 prior to reboot?

                          I didn't have time to sort out a usb/serial cable.

                          My Duet2 Wifi occasionally sticks repeating

                          Do you have some notion on how often this repeats? Does it happen when printing, or when the printer has a high uptime? What's the signal level like on the printer normally, is it far from the AP? Are there multiple DWC instances open from multiple devices?

                          From a large view ... it's been happening about once a week. It may have happened before the 3.5.0 beta -> 3.5.1 update, but not before then. At a more granular view, previously, it errored a few times and then was back online. This constant error until restart is new ... it's happened twice. The errors happen so quickly that I cannot usefully cancel them on the printer display.

                          rechrtbundefined 1 Reply Last reply Reply Quote 0
                          • zBeebleundefined
                            zBeeble @rechrtb
                            last edited by

                            @rechrtb said in Duet2 wifi stuck repeating Wifi Error.:

                            @zBeeble , also are you able and willing to load a special build of the WiFi firmware with more debug output on the printer? This can help us tremendously in diagnosing the problem if you can.

                            If you are, the other thing is also to turn on wifi and network debug outputs using M111 P14 S1 and M111 P1 S1, and having the printer continuously connected to a computer, monitoring the serial output , until the issue happens again . And then once it does happen, we have more logs to go by.

                            I'm certainly willing. I'll try to find a cable. Do I just need an A to mini-A?

                            1 Reply Last reply Reply Quote 0
                            • zBeebleundefined
                              zBeeble @rechrtb
                              last edited by

                              @rechrtb urnh? That seems to point to this forum post.

                              droftartsundefined 1 Reply Last reply Reply Quote 0
                              • droftartsundefined
                                droftarts administrators @zBeeble
                                last edited by

                                @zBeeble The link @rechrtb posted was asking the other users that had reported this problem to look at his previous post.

                                Can you get an M122 report? I want to check what version of DuetWiFiServer you are using.

                                Do I just need an A to mini-A?

                                Yes, just make sure it's power AND data, some aren't. SendM111 P14 S1 and M111 P1 S1 at startup, and you'll need to connect to the Duet using a serial monitor (eg YAT) and leave it connected and running.

                                Ian

                                Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                                1 Reply Last reply Reply Quote 0
                                • OwenDundefined
                                  OwenD @rechrtb
                                  last edited by

                                  @rechrtb
                                  I was randomly having that issue, but haven't seen it for a while.
                                  I turned off telnet , but still have ftp running.
                                  DWC was unresponsive when it happened, but I could connect via usb.

                                  zBeebleundefined rechrtbundefined 2 Replies Last reply Reply Quote 0
                                  • zBeebleundefined
                                    zBeeble @OwenD
                                    last edited by

                                    @OwenD How do you turn telnet and/or ftp on/off?

                                    OwenDundefined 1 Reply Last reply Reply Quote 0
                                    • rechrtbundefined
                                      rechrtb @zBeeble
                                      last edited by rechrtb

                                      @zBeeble Great! Here is the custom WiFi module firmware. To confirm you have this, M122 should say Firmware version 2.1.0d.

                                      DuetWiFiServer.bin

                                      Also, I would suggest logging the terminal outputs to a file (some terminal software have this feature). This is because some terminals have a line/character liimit - and this might be a long term log gathering. If you mention the terminal software you are going to use, we can maybe advise you on how to turn on logging to file.

                                      zBeebleundefined 2 Replies Last reply Reply Quote 0
                                      • rechrtbundefined
                                        rechrtb @OwenD
                                        last edited by

                                        @OwenD Are you currently on 1.27 or 2.x wifi firmware?

                                        zBeebleundefined OwenDundefined 2 Replies Last reply Reply Quote 0
                                        • zBeebleundefined
                                          zBeeble @rechrtb
                                          last edited by

                                          @rechrtb I was just going to jack it into one of the FreeBSD boxes here ... so any unix/linux software. I'm lazy enough to use CU for most things, but there are a few term programs.

                                          1 Reply Last reply Reply Quote 0
                                          • zBeebleundefined
                                            zBeeble @rechrtb
                                            last edited by

                                            @rechrtb 8d62f00b-0607-440b-b7f6-f17dda28fb76-image.png

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Unless otherwise noted, all forum content is licensed under CC-BY-SA