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

CONSTANT AJAX disconnect errors

Scheduled Pinned Locked Moved
General Discussion
28
307
54.6k
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.
  • undefined
    fma
    last edited by 20 Oct 2017, 17:37

    In fact, me too 😞

    Frédéric

    1 Reply Last reply Reply Quote 0
    • undefined
      KeeganB
      last edited by 22 Oct 2017, 21:30

      Oddly, my Duet no longer shows up under my list of connected clients in my router admin control.

      Ideas?

      Artemis
      Rostock Max v2
      Orion

      1 Reply Last reply Reply Quote 0
      • undefined
        T3P3Tony administrators
        last edited by 22 Oct 2017, 23:22

        did you recently update your router firmware?

        www.duet3d.com

        1 Reply Last reply Reply Quote 0
        • undefined
          KeeganB
          last edited by 23 Oct 2017, 00:06

          @T3P3Tony:

          did you recently update your router firmware?

          No.

          But I did just updated to the Wifi Server 1.20alpha1+1 and it is showing in my list of clients again.

          odd.

          Artemis
          Rostock Max v2
          Orion

          1 Reply Last reply Reply Quote 0
          • undefined
            KeeganB
            last edited by 23 Oct 2017, 00:18

            and…. disconnects

            Wifi Server 1.20alpha1+1

            Artemis
            Rostock Max v2
            Orion

            1 Reply Last reply Reply Quote 0
            • undefined
              KeeganB
              last edited by 23 Oct 2017, 00:58

              [c]8:56:21 PM Disconnected.
              8:53:51 PM Connection established!
              8:51:30 PM Disconnected.
              8:51:08 PM WiFi module stopped
              8:51:08 PM Connection established!
              8:44:11 PM Disconnected.
              8:43:10 PM M0 H1
              Printing paused[/c]

              y'all, I'm losing my mind over here.

              Artemis
              Rostock Max v2
              Orion

              1 Reply Last reply Reply Quote 0
              • undefined
                dc42 administrators
                last edited by 23 Oct 2017, 06:33

                Did the "wifi module stopped" message happen because you sent a M552 command to stop it, or spontaneously?

                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
                • undefined
                  KeeganB
                  last edited by 23 Oct 2017, 13:15

                  @dc42:

                  Did the "wifi module stopped" message happen because you sent a M552 command to stop it, or spontaneously?

                  Probably b/c I sent the command to stop/start it, but honestly the disconnects were so bad and so frequent last night, I can't remember.

                  To even use the printer last night I was running M552 S-1/S1 pretty much any time I needed to access DWC because even if it had only be a couple of minutes it would have already disconnected.

                  If you have an exact set of steps you'd like me to walk through, I'm happy to try ANYTHING.

                  Also, even during the times that it is connected, it is not showing up as a connected client in my routers admin utility.

                  Artemis
                  Rostock Max v2
                  Orion

                  1 Reply Last reply Reply Quote 0
                  • undefined
                    dc42 administrators
                    last edited by 23 Oct 2017, 13:49

                    If it is connected but not showing up in your router's admin page, that is a problem with your router. You may need to refresh your router's admin page.

                    I'll be releasing a new firmware version soon that displays the wifi module sleep mode, along with a patched wifi module that doesn't sleep at all.

                    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
                    • undefined
                      KeeganB
                      last edited by 23 Oct 2017, 14:03

                      I don't think it is a problem with my router. All other devices on the network show connected. I can even power my phone off then on and watch it disappear and reappear on the connected clients list.

                      I guess it could be that the Duet disconnects so quickly after reconnecting that the client list doesn't update fast enough, but I am not sure.

                      Artemis
                      Rostock Max v2
                      Orion

                      1 Reply Last reply Reply Quote 0
                      • undefined
                        PeteIHughes
                        last edited by 23 Oct 2017, 14:35

                        Got a brand new Duet WIFI last week.
                        (had another previously which work fine - for a while)

                        Had constant Ajax timeouts with the new one.
                        Could not stay connected for more than 30 seconds.
                        Could not always reconnect.
                        Restarted browser; hit reset button etc.
                        Had reported WiFi signal strength -62dBm.
                        Printer in basement, wifi router upstairs.

                        Went to bestbuy, bought a NETGEAR - AC1200 Dual-Band Gigabit Wi-Fi Range Extender. $99
                        this is mounted in an outlet near the printer.

                        Have not had a single disconnect since.

                        Pete

                        btw my previous Duet wifi which appears to have a broken wifi hardware issue (which I need to get resolved)
                        never had this timeout issue with everything in the same locations as pre-Wi-Fi Range Extender.

                        1 Reply Last reply Reply Quote 0
                        • undefined
                          KeeganB
                          last edited by 23 Oct 2017, 14:58

                          I am glad that worked for you Pete.

                          I've got my Duet in the same room as my router, reporting mid -30dBm.
                          I've tried multiple different channels, moving the router around and to different rooms, and even replaced the router with a brand new one and created a from scratch network. I don't think the router or location is part of my problem.

                          I'd like to set up a DHCP reservation for the Duet, but I can't seem to get that done since the router rarely sees the Duet as a connected client.

                          Artemis
                          Rostock Max v2
                          Orion

                          1 Reply Last reply Reply Quote 0
                          • undefined
                            PeteIHughes
                            last edited by 23 Oct 2017, 15:24

                            I am not saying you should fork out $99 for the wifi extender I got,
                            they have much cheaper versions.

                            But what this extender did (after the configuration) do was allow me to connect
                            the DUET to a different SSID than everything else in my house
                            (NETGEAR20_2GEXT instead of NETGEAR20).
                            I don't necessarily know what difference this would make,
                            but it may be part of the issue.

                            My original signal strength of -62dBm should have been perfectly ok
                            (and my previous Duet was OK with it),
                            Anything below 70 is considered very good.
                            Your 30 value SHOULD be beyond OK. And yet it is not.

                            Is it worth a $20 try - TP-LINK - Wireless N300 Wi-Fi Range Extender with Ethernet Port - White
                            at bestbuy

                            1 Reply Last reply Reply Quote 0
                            • undefined
                              KeeganB
                              last edited by 23 Oct 2017, 16:00

                              I've got a few extenders laying around, ill add one to my network and let the Duet be its only client with a different SSID as you suggest. It's worth a shot!

                              Thanks

                              Artemis
                              Rostock Max v2
                              Orion

                              1 Reply Last reply Reply Quote 0
                              • undefined
                                KeeganB
                                last edited by 23 Oct 2017, 23:51

                                Just tested the separate extender with dedicated SSID, and it only took 8 mins of sitting idle to disconnect.

                                Artemis
                                Rostock Max v2
                                Orion

                                1 Reply Last reply Reply Quote 0
                                • undefined
                                  Jarery
                                  last edited by 24 Oct 2017, 00:27

                                  I have two duet wifi's, both exhibit same behaviour, so it pretty much has to be a setting in the router.
                                  these are my settings

                                  1 Reply Last reply Reply Quote 0
                                  • undefined
                                    KeeganB
                                    last edited by 24 Oct 2017, 00:34

                                    I was able to reconnect and it actually showed up in my router admin as a connected device. This allowed me to bind a DHCP reservation to it. It has been sitting idle now CONNECTED for 44 mins. I am far from convinced that this will work, but so far it has. I will start a print next and see how that goes.

                                    Artemis
                                    Rostock Max v2
                                    Orion

                                    1 Reply Last reply Reply Quote 0
                                    • undefined
                                      KeeganB
                                      last edited by 24 Oct 2017, 00:57

                                      aaaaaaand about 30 seconds into a print…. DISCONNECT!

                                      Artemis
                                      Rostock Max v2
                                      Orion

                                      1 Reply Last reply Reply Quote 0
                                      • undefined
                                        number40fan
                                        last edited by 24 Oct 2017, 01:06

                                        Jarery, I'd roll one of the Duets back to 1.18.2 and see if you still have issues.

                                        1 Reply Last reply Reply Quote 0
                                        • undefined
                                          dc42 administrators
                                          last edited by 24 Oct 2017, 07:19

                                          KeeganB, please can you try a couple of things:

                                          1. Start a print, wait until the motors are moving, then pause it. If it has disconnected already, reconnect. See whether it stays connected.

                                          2. If it does stay connected, set the motor idle current to 100%, resume the print and pause it again, and once again see if it stays connected.

                                          What I am wondering is whether the current to the stepper motors is causing interference.

                                          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
                                          179 out of 307
                                          • First post
                                            179/307
                                            Last post
                                          Unless otherwise noted, all forum content is licensed under CC-BY-SA