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

    Web interface AJAX timeouts

    Scheduled Pinned Locked Moved
    General Discussion
    10
    40
    6.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.
    • koko76undefined
      koko76
      last edited by

      Happening to me as well. I get a stretch of a bunch of them in a row, and then nothing for a while. Had a print finish last night, and no timeout since then, but last night there were many.

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

        As these disconnects are so sporadic, my guess is that they may be caused by temporary loss of the wireless connection. DWC doesn't allow for that, so it's on my list to allow at least one retry after a timeout.

        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
        • elmoretundefined
          elmoret
          last edited by

          Same here, about one timeout related disconnect every 15 minutes. AJAX timeout set to 20s.

          1 Reply Last reply Reply Quote 0
          • RCarlyleundefined
            RCarlyle
            last edited by

            Haven't had any timeouts yet tonight. Currently 36 minutes into a print.

            1 Reply Last reply Reply Quote 0
            • RCarlyleundefined
              RCarlyle
              last edited by

              It's really weird that some nights I get the timeouts constantly, and some nights I make it 4+ hours without one.

              1 Reply Last reply Reply Quote 0
              • elmoretundefined
                elmoret
                last edited by

                I'm seeing the same behavior here.

                1 Reply Last reply Reply Quote 0
                • RCarlyleundefined
                  RCarlyle
                  last edited by

                  Not sure what just happened, but I had an AJAX timeout in the middle of uploading a file, and the web interface lost the ability to upload files until I reloaded the interface page (in Chrome). When I clicked Upload & Print, it would open the file selection dialog, and then upon selecting the file nothing would happen. Persisted through power cycling the printer. Reloading the web page (which took ~20+ seconds) fixed it.

                  1 Reply Last reply Reply Quote 0
                  • briangilbertundefined
                    briangilbert
                    last edited by

                    This has just happened to me as well, except I was unable to reload the web interface without power cycling the duet

                    Co-creator of the Zesty Nimble direct drive extruder

                    1 Reply Last reply Reply Quote 0
                    • elmoretundefined
                      elmoret
                      last edited by

                      The AJAX errors are really my only complaint at this point, everything else has been smooth sailing.

                      1 Reply Last reply Reply Quote 0
                      • roboduetundefined
                        roboduet
                        last edited by

                        @RCarlyle:

                        Reloading the web page (which took ~20+ seconds) fixed it.

                        Not sure that I'm right, but it seems like such long times with page reload caused by this: https://www.duet3d.com/forum/thread.php?pid=402#p402

                        1 Reply Last reply Reply Quote 0
                        • curieosundefined
                          curieos
                          last edited by

                          I'm printing now but I keep getting timeouts. I got two in a row after restarting the same print (had to power cycle the printer both times) and then this one got a ways in before it timed out. The print is still going, but I need to reconnect to increase the temp by 5 degrees. Its been 25 minutes since the DC and I still can't connect.

                          She/Her
                          I work at a local 3D printing shop.
                          Printers: Micron+ w/Duet 3 Mini, in-progress adaptation of the Jubilee REL onto an E3D MS, Prusa i3 MK3S.

                          1 Reply Last reply Reply Quote 0
                          • T3P3Tonyundefined
                            T3P3Tony administrators
                            last edited by

                            Nyl0cke, check out the resolution on this thread:
                            https://www.duet3d.com/forum/thread.php?id=38&p=2

                            It will be interesting to see what effect this has

                            www.duet3d.com

                            1 Reply Last reply Reply Quote 0
                            • roboduetundefined
                              roboduet
                              last edited by

                              Seems like this fix is only for static files (css/html/js) coming from Duet to browser. But not for dynamic ajax responses.

                              1 Reply Last reply Reply Quote 0
                              • curieosundefined
                                curieos
                                last edited by

                                Yeah I'm also still getting a lot of errors. About the same amount, maybe more but its a small sample size so it might be coincidence.

                                She/Her
                                I work at a local 3D printing shop.
                                Printers: Micron+ w/Duet 3 Mini, in-progress adaptation of the Jubilee REL onto an E3D MS, Prusa i3 MK3S.

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

                                  1. Those of you who are getting Ajax disconnects: is the Error Reason at the bottom of the box always given as timeout?

                                  2. If you ever find that you can't reconnect after a disconnect, please try the following if possible:

                                  A. Close the browser tab, open a new one and try to connect in that.

                                  B. If that doesn't work, use Pronterface or PanelDue to send M552 S0 followed by M552 S1 to restart the wifi module. Then try to connect.

                                  C. If that doesn't work, run M122 from Pronterface and see what the number of free buffers is.

                                  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
                                  • curieosundefined
                                    curieos
                                    last edited by

                                    Yes for me. I canceled the print I had going (had a mechanical problem I had to fix) and I updated the web server and now I can't keep connected for more than a couple minutes it seems. its been anywhere between 30 seconds to 8 minutes right now.

                                    I'll try what you said when it happens again

                                    She/Her
                                    I work at a local 3D printing shop.
                                    Printers: Micron+ w/Duet 3 Mini, in-progress adaptation of the Jubilee REL onto an E3D MS, Prusa i3 MK3S.

                                    1 Reply Last reply Reply Quote 0
                                    • pjr3Dundefined
                                      pjr3D
                                      last edited by

                                      1. It certainly is for me.

                                        • A. Connect from another browser instance (machine) works but is slow

                                      B. Hasn't been necessary yet and I have no paneldue on this machine

                                      C. Will try next time if I can't reconnect

                                      Seems to be worse after I went from wired-wifi connection to wifi-wifi after I moved my laptop. Upload speeds dropped to ~250k (even seen 30-40k on smallish files!).

                                      Hope you can find a fix for timeouts as well as speed.

                                      1 Reply Last reply Reply Quote 0
                                      • curieosundefined
                                        curieos
                                        last edited by

                                        Okay, If it disconnects I can not reconnect by opening a new tab and trying to connect. If I connect to the board via serial I can turn off the server and turn it back on and I can connect.

                                        I can leave it connected but I can't test while printing for a while, the mount I used for my hotend isn't working very well, the hotend is moving around in its mount (flying extruder) a good 3mm or so.

                                        I also tried reconnecting on a different computer to no avail.

                                        She/Her
                                        I work at a local 3D printing shop.
                                        Printers: Micron+ w/Duet 3 Mini, in-progress adaptation of the Jubilee REL onto an E3D MS, Prusa i3 MK3S.

                                        1 Reply Last reply Reply Quote 0
                                        • mhackneyundefined
                                          mhackney
                                          last edited by

                                          I've been chasing timeout problems on my thread here too. I also can not reconnect after a timeout but can do things from PanelDue. When I first commissioned Duet WiFi using the installed firmware, it was up and running for well over 48 hrs with no time outs. I then attempted to install a custom DWC.bin (simple hack) and it has been disconnecting within 1 minute since and once disconnected, I can't stay connected. I copied and pasted all of the error dialogs and exactly what I did on my thread. I'm now going to go back and reinstall all of the original binaries and see what happens and do some network captures in wireshark.

                                          My 3D Printing blog: http://www.sublimelayers.com
                                          Coming this summer: "3D Printing Strategies - the art of perfecting your designs and prints"

                                          1 Reply Last reply Reply Quote 0
                                          • elmoretundefined
                                            elmoret
                                            last edited by

                                            I think I've always been able to reconnect without power cycling. Maybe once did I have to, otherwise a reload of the page or clicking the connect button worked.

                                            Have not upgraded to the recently released firmware though.

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