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

    DWC crashing; repeatedly

    Scheduled Pinned Locked Moved
    Firmware installation
    8
    37
    4.1k
    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.
    • dc42undefined
      dc42 administrators
      last edited by

      Have you tried increasing the maximum number of AJAX retries? See the screenshot 2 posts above.

      Series 1.19 firmware includes the WiFi signal strength in the M122 report.

      Duet WiFi hardware designer and firmware engineer
      Please do not ask me for Duet support via PM or email, use the forum
      http://www.escher3d.com, https://miscsolutions.wordpress.com

      1 Reply Last reply Reply Quote 0
      • BMMalundefined
        BMMal
        last edited by

        @dc42:

        Have you tried increasing the maximum number of AJAX retries? See the screenshot 2 posts above.

        Series 1.19 firmware includes the WiFi signal strength in the M122 report.

        Mine is set to 10 retries.

        Duet Ethernet - Most likely the most recent Edge firmware
        Duet X5
        7" Panel Due V2
        Cartesian, 4 Nozzles with Flex3Drives, Heated Chamber, Simple Switch Filament Sensing

        1 Reply Last reply Reply Quote 0
        • TYPPA Albert Einsteinundefined
          TYPPA Albert Einstein
          last edited by

          @dc42:

          Have you tried increasing the maximum number of AJAX retries? See the screenshot 2 posts above.

          Series 1.19 firmware includes the WiFi signal strength in the M122 report.

          M122

          Network state is running
          WiFi module is connected to access point
          WiFi firmware version 1.19beta9
          WiFi MAC address 5c:cf:7f:ee:63:dc
          WiFi Vcc 3.08, reset reason Turned on by main processor
          WiFi flash size 4194304, free heap 38168
          WiFi IP address 192.168.1.80
          WiFi signal strength -59db ?????
          HTTP sessions: 1 of 8
          Socket states: 2 0 0 0 0 0 0 0
          Responder states: HTTP(1) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0)

          I have no special talent. I am only passionately curious.
          -Albert Einstein

          1 Reply Last reply Reply Quote 0
          • BMMalundefined
            BMMal
            last edited by

            I should add, that eventually the run, download, and delete buttons will show up next to the gcode files. Once this happens, it seems that things go back to normal and I have good stability.

            Duet Ethernet - Most likely the most recent Edge firmware
            Duet X5
            7" Panel Due V2
            Cartesian, 4 Nozzles with Flex3Drives, Heated Chamber, Simple Switch Filament Sensing

            1 Reply Last reply Reply Quote 0
            • dc42undefined
              dc42 administrators
              last edited by

              @TYPPA:

              @dc42:

              Have you tried increasing the maximum number of AJAX retries? See the screenshot 2 posts above.

              Series 1.19 firmware includes the WiFi signal strength in the M122 report.

              M122

              Network state is running
              WiFi module is connected to access point
              WiFi firmware version 1.19beta9
              WiFi MAC address 5c:cf:7f:ee:63:dc
              WiFi Vcc 3.08, reset reason Turned on by main processor
              WiFi flash size 4194304, free heap 38168
              WiFi IP address 192.168.1.80
              WiFi signal strength -59db ?????
              HTTP sessions: 1 of 8
              Socket states: 2 0 0 0 0 0 0 0
              Responder states: HTTP(1) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0)

              -59db is a good strength. I get -52db from a Duet WiFi about 2m from the router. See https://support.randomsolutions.nl/827069-Best-dBm-Values-for-Wifi.

              I'll change it to say dBm instead of db in the next firmware, technically db is a relative signal strength.

              Duet WiFi hardware designer and firmware engineer
              Please do not ask me for Duet support via PM or email, use the forum
              http://www.escher3d.com, https://miscsolutions.wordpress.com

              1 Reply Last reply Reply Quote 0
              • TYPPA Albert Einsteinundefined
                TYPPA Albert Einstein
                last edited by

                @dc42:

                @TYPPA:

                @dc42:

                Have you tried increasing the maximum number of AJAX retries? See the screenshot 2 posts above.

                Series 1.19 firmware includes the WiFi signal strength in the M122 report.

                M122

                Network state is running
                WiFi module is connected to access point
                WiFi firmware version 1.19beta9
                WiFi MAC address 5c:cf:7f:ee:63:dc
                WiFi Vcc 3.08, reset reason Turned on by main processor
                WiFi flash size 4194304, free heap 38168
                WiFi IP address 192.168.1.80
                WiFi signal strength -59db ?????
                HTTP sessions: 1 of 8
                Socket states: 2 0 0 0 0 0 0 0
                Responder states: HTTP(1) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0)

                -59db is a good strength. I get -52db from a Duet WiFi about 2m from the router. See https://support.randomsolutions.nl/827069-Best-dBm-Values-for-Wifi.

                I'll change it to say dBm instead of db in the next firmware, technically db is a relative signal strength.

                ok now Maximum number of AJAX retries: is 10 for the moment is not disconnect …. 😉
                WiFi signal strength -59db / -68db at 8 mt.... 😉

                I have no special talent. I am only passionately curious.
                -Albert Einstein

                1 Reply Last reply Reply Quote 0
                • BMMalundefined
                  BMMal
                  last edited by

                  When I run an SD file from Repetier, the log has a bunch of the below lines in it. I noticed in DWC that the object height, layer height, filament usage, and generated by fields all say "loading." The Macros and System Editor file pages all say loading as well. I have not tested, but I think this started to become an issue when I switched from S3D to the beta of Kisslicer. Is it possibly an issue with the way kisslicer stores its settings in the gcode file or something along those lines? An example file is here: https://pastebin.com/YT10MAgr

                  12:57:56.056 : Request: fileinfo?name=0%3A%2Fgcodes%2F20mmTestCube_repaired.gcode fragment 2147483648

                  Duet Ethernet - Most likely the most recent Edge firmware
                  Duet X5
                  7" Panel Due V2
                  Cartesian, 4 Nozzles with Flex3Drives, Heated Chamber, Simple Switch Filament Sensing

                  1 Reply Last reply Reply Quote 0
                  • BMMalundefined
                    BMMal
                    last edited by

                    If I try to release the SD card via M22 while this issue is occurring, the console will display the following in DWC:

                    1:41:01 PMCan't open 0:/gcodes/20mmTestCube.gcode to read, error code 12

                    Duet Ethernet - Most likely the most recent Edge firmware
                    Duet X5
                    7" Panel Due V2
                    Cartesian, 4 Nozzles with Flex3Drives, Heated Chamber, Simple Switch Filament Sensing

                    1 Reply Last reply Reply Quote 0
                    • dc42undefined
                      dc42 administrators
                      last edited by

                      You are the first person I know of to use M22 to release a card! After releasing a card, you must use M21 to mount it again.

                      Releasing card 0 is not advised because it contains files essential to the operation of the Duet, for example the homing files, macro files, bed.g, heightmap.csv etc.

                      Duet WiFi hardware designer and firmware engineer
                      Please do not ask me for Duet support via PM or email, use the forum
                      http://www.escher3d.com, https://miscsolutions.wordpress.com

                      1 Reply Last reply Reply Quote 0
                      • BMMalundefined
                        BMMal
                        last edited by

                        I upgraded the firmware to the new experimental stuff which seems to have improved, if not eliminated, the problem I was having.

                        The new firmware definitely seems more sensitive to the wifi signal strength. Admittedly, mine is not very good at -69dB with the control box door open and -72dB or not able to connect with it closed. Previously, I rarely had a problem connecting and errors due to signal strength were uncommon enough that it wasn't a problem, even with the door closed.

                        Duet Ethernet - Most likely the most recent Edge firmware
                        Duet X5
                        7" Panel Due V2
                        Cartesian, 4 Nozzles with Flex3Drives, Heated Chamber, Simple Switch Filament Sensing

                        1 Reply Last reply Reply Quote 0
                        • fcwiltundefined
                          fcwilt
                          last edited by

                          Hi,

                          Using an AP (recent model dual radio b/g/n and ac/n) in a nearby room my signal strength by was reported via DWC as -67.

                          I could stay connected a good while when actively using DWC but if I left for a while and returned it was usually to a disconnect error.

                          As a test I installed a simple AP (older model single radio b/g only) four feet away from the printer.

                          The signal strength is now -46 and DWC has remained connected for several hours with no errors as of yet.

                          Just FYI

                          Frederick

                          Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                          1 Reply Last reply Reply Quote 0
                          • dc42undefined
                            dc42 administrators
                            last edited by

                            It's important that the wifi antenna is not shielded from radio waves. This is especially important if the printer is enclosed. On my delta, I have it poking through a slot in a plastic side panel. That same panel also provides access to the USB connector and SD card, and the LEDEs along that edge of the board can been seen through it.

                            Duet WiFi hardware designer and firmware engineer
                            Please do not ask me for Duet support via PM or email, use the forum
                            http://www.escher3d.com, https://miscsolutions.wordpress.com

                            1 Reply Last reply Reply Quote 0
                            • MrBlomundefined
                              MrBlom
                              last edited by

                              also having a lot of problem with wifi and the betas
                              timo outs or can't connect
                              start to get very frustrating
                              Please prioritize this

                              1 Reply Last reply Reply Quote 0
                              • Forgvn77undefined
                                Forgvn77
                                last edited by

                                I am pleased to report that with the latest betas (Firmware 1.19beta10+2, WiFi Server 1.19beta9, and DWC 1.17+2) my Wifi and Ajax connection problems have largely gone away and I can connect and stay connected pretty reliably. This was a major problem for me the past month or so in previous releases and I was almost ready to bail it had gotten so unusable. Thanks for getting it fixed!

                                Velleman K8200, Geeetech G2S Pro (x2), Geeetech Rostock 301 retrofitted with Duet
                                Make A Difference!

                                1 Reply Last reply Reply Quote 0
                                • BMMalundefined
                                  BMMal
                                  last edited by

                                  I'm also getting the following error on occasion now. Is this just due to less than great wifi too?

                                  A JavaScript error has occurred so the web interface has closed the connection to your board. It is recommended to reload the web interface now. If this happens again, please contact the author and share this error message:

                                  Message: Uncaught TypeError: Cannot read property 'axesHomed' of undefined
                                  URL: http://10.0.0.115/js/dwc.js
                                  Line: 763:69
                                  Error object: {}

                                  I think I spoke too soon about my issue with disconnecting after files have been uploaded. Regardless of that, the beta firmware still seems more sensitive to changes in wifi strength than previous versions.

                                  Duet Ethernet - Most likely the most recent Edge firmware
                                  Duet X5
                                  7" Panel Due V2
                                  Cartesian, 4 Nozzles with Flex3Drives, Heated Chamber, Simple Switch Filament Sensing

                                  1 Reply Last reply Reply Quote 0
                                  • Whitewolfundefined
                                    Whitewolf
                                    last edited by

                                    Hi everyone,

                                    I have something for you to try to see if it helps (it worked for me though DC42 does not know what change couldnhave lead to this)

                                    After upgrading to the beta versions i had the same issue, i could not stay connected. What I did and now rarely get disconnected is delete the DHCP lease from the router and reboot the router then readd the assigned ip via mac address and reboot again

                                    after doing this things have been much smoother.

                                    Exploring the universe wherever the tech blows

                                    1 Reply Last reply Reply Quote 0
                                    • BMMalundefined
                                      BMMal
                                      last edited by

                                      @Whitewolf:

                                      Hi everyone,

                                      I have something for you to try to see if it helps (it worked for me though DC42 does not know what change couldnhave lead to this)

                                      After upgrading to the beta versions i had the same issue, i could not stay connected. What I did and now rarely get disconnected is delete the DHCP lease from the router and reboot the router then readd the assigned ip via mac address and reboot again

                                      after doing this things have been much smoother.

                                      I'll have to give that a try when our IT guy is in. Fortunately, I am building this machine for work. Unfortunately, I don't have much freedom to go and make changes to the network.

                                      I have updated to the 10+2 firmware and though it seems my wifi signal is maybe a little better, the issues still prevail.

                                      I'm also going to make a bracket and cut some holes to allow my wifi antenna to protrude through the wall of my control box.

                                      Duet Ethernet - Most likely the most recent Edge firmware
                                      Duet X5
                                      7" Panel Due V2
                                      Cartesian, 4 Nozzles with Flex3Drives, Heated Chamber, Simple Switch Filament Sensing

                                      1 Reply Last reply Reply Quote 0
                                      • BMMalundefined
                                        BMMal
                                        last edited by

                                        Was finally able to get an AP set up next to the machine. The WiFi signal is now -45dbm which has improved the stability of my connection when I am simply looking at the control screen and issuing manual commands.

                                        When I try to go to the gcode files tab, the files will be greyed out and the connection is quickly dropped. If I attempt to upload a file through this interface, it usually fails to upload and drops the connection. However, using the "Upload and Print" button works alright. Even if the connection gets dropped, the machine starts the print and I can reconnect to see the status screen. This typically gets very unstable eventually as well and often ends up with me not being able to connect at all.

                                        Additionally, it seems that some part of the Duet is having a difficult time computing the layer height, as it generally is never actually calculated and if it is, it calculates two, the second one is usually because I use a Z offset in the slicer, or maybe only one. I'm using the newest beta of Kisslicer. Is the Duet having difficulty in parsing information from files and causing these issues? If there is something I can test to help determine a cause please let me know.

                                        Duet Ethernet - Most likely the most recent Edge firmware
                                        Duet X5
                                        7" Panel Due V2
                                        Cartesian, 4 Nozzles with Flex3Drives, Heated Chamber, Simple Switch Filament Sensing

                                        1 Reply Last reply Reply Quote 0
                                        • dc42undefined
                                          dc42 administrators
                                          last edited by

                                          BMMal, if you are running older beta firmware then please upgrade to the latest betas (DuetWiFiFirmware 1.19beta11, DuetWiFiServer 1.19beta10 and DWC 1.17+2). If after that you still have problems, here are some suggestions:

                                          • another user reported that changing WiFi channel on the router made a big difference
                                          • if you can capture a Wireshark trace of what happens when you try to get the Gcode files list, that may help us diagnose the problem.

                                          HTH David

                                          Duet WiFi hardware designer and firmware engineer
                                          Please do not ask me for Duet support via PM or email, use the forum
                                          http://www.escher3d.com, https://miscsolutions.wordpress.com

                                          1 Reply Last reply Reply Quote 0
                                          • BMMalundefined
                                            BMMal
                                            last edited by

                                            Thanks for the suggestion David. I will have to try changing the channel tomorrow. For now here is a couple wireshark captures.

                                            https://www.dropbox.com/sh/lubl3jzp2jffil8/AAAafAxwGmdWUMUaJKus4bd2a?dl=0

                                            Duet Ethernet - Most likely the most recent Edge firmware
                                            Duet X5
                                            7" Panel Due V2
                                            Cartesian, 4 Nozzles with Flex3Drives, Heated Chamber, Simple Switch Filament Sensing

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