• 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
    bot
    last edited by 21 Sept 2017, 15:38

    Just a note, to anyone who is questioning whether their signal strength is sufficient, here is a great article I found:

    https://support.metageek.com/hc/en-us/articles/201955754-Understanding-WiFi-Signal-Strength

    Notice the chart at the end that gives general guidelines for required signal strength.

    *not actually a robot

    1 Reply Last reply Reply Quote 0
    • undefined
      Jarery
      last edited by 22 Sept 2017, 02:20

      Currently I cannot connect at all anymore via web. Ive tried clearing cache, safari and chrome, rebooted the printer 3 times, cycled the wifi on/off.
      Consol says it connects to my network and lists assigned ip, but unable to connect.

      Edit : connected after about 20min of throwing things at it

      Via USB my M122 network is :

      Network state is running
      WiFi module is connected to access point
      WiFi firmware version 1.19.2
      WiFi MAC address 5c:cf:7f:a4:a1:64
      WiFi Vcc 3.13, reset reason Turned on by main processor
      WiFi flash size 4194304, free heap 39944
      WiFi IP address 192.168.2.54
      WiFi signal strength -33dBm
      Reconnections 0
      HTTP sessions: 0 of 8
      Socket states: 0 0 0 0 0 0 0 0
      Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0)

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

        Ok, after a few more nights of testing, I can confidently say the following:

        1. It will stay connected forever at idle.
        2. It seems to stay connected forever running G32 commands, and other manual control commands
        3. Within minutes of starting a new print, it disconnects. EVERY SINGLE TIME. The same AJAX error every time.
        4. After approximately 30-60 mins, it can be reconnected fine and will stay connected forever or until I start a new print.

        I am still on 1.19.2, but may downgrade as this is really annoying.

        Artemis
        Rostock Max v2
        Orion

        1 Reply Last reply Reply Quote 0
        • undefined
          dc42 administrators
          last edited by 23 Sept 2017, 07:14

          Is the "Error reason:" given in the Ajax disconnect message Timeout, or something else?

          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 Sept 2017, 14:40

            @dc42:

            Is the "Error reason:" given in the Ajax disconnect message Timeout, or something else?

            Sorry, I should have included that. Yes, I believe that is the error message. It’s the same message every time.

            Artemis
            Rostock Max v2
            Orion

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

              my Ajax error is the same, doesn't say what the cause is whether timeout or other.

              Just states "an AJAX error has been reported, so the current session has been terminated. Please check if your printer is still on and try to connect again "

              I also disconnect every print but mine do not reconnect.

              Edit:
              I'm just commissioning a second DuetWifi delta, it has :
              Firmware Version: 1.18.1 (2017-04-09)
              WiFi Server Version: 1.03 (ch fork)
              Web Interface Version: 1.15a

              And if I force a disconnect, the warning message has at the bottom "Reason: Timeout". This bottom line is not present at all in the 19.2 firmware disconnects issue. Cannot print yet so unable to tell if the issue is board related or wifi network.

              1 Reply Last reply Reply Quote 0
              • undefined
                Jarery
                last edited by 24 Sept 2017, 23:01

                Comissioned my 2nd duet wifi printer.
                Board came with 1.18.1 firmware. No disconnects when printing. Although only did few prints, 10 min long or so.

                Upgraded to 1.19.2, disconnected a coulee min into my first print. Ajax error message again has no line on the bottom stating reason.

                So i have 2 new Duet wifi's, both disconnect from my Asus RT-AC3100 wifi network on every print.

                The chances its a "bad board" or slim as it happens on both boards.
                The chances its my network settings are low as Ive set everything to set channel, etc, and it works on 1.18 without disconnects.

                There is something in 1.19 that just makes it appear to timeout

                1 Reply Last reply Reply Quote 0
                • undefined
                  KeeganB
                  last edited by 25 Sept 2017, 01:35

                  I've never downgraded a Duet. Is it the same process as the update from 1.18 to 1.19.2 was, but in reverse?

                  Artemis
                  Rostock Max v2
                  Orion

                  1 Reply Last reply Reply Quote 0
                  • undefined
                    dc42 administrators
                    last edited by 25 Sept 2017, 07:17

                    I really wish there was some way I could reproduce the problem you are experiencing. AFAIK you are the only user who finds 1.19.2 less reliable than 1.18.

                    Downgrading to 1.18 you will need to do a simultaneous install of both DuetWiFiFirmware and DuetWiFiServer. If the board was shipped with 1.19 firmware originally then you will also need to install DuetWiFiFirmware.bin on the WiFi module.

                    Then you will need to follow the connection instructions for 1.18 and earlier.

                    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
                      lolorc
                      last edited by 25 Sept 2017, 07:55

                      i also find 1.19.2 less reliable than 1.8 with regard to the wireless/ajax issue. (sorry I'm not really helping with the debugging at the moment, house for sell, can't use my printer as often as I wish)

                      1 Reply Last reply Reply Quote 0
                      • undefined
                        KeeganB
                        last edited by 25 Sept 2017, 15:15

                        Thanks David.

                        My board was shipped with 1.18.

                        I understand that network issues are near impossible to replicate. I wish there was more detailed log info or something I could get to you. I am able to force a reconnect via USB with M552 S-1/S1

                        The real frustration comes when doing calibration prints and etc. It disconnects so quickly I can't make any adjustments easily; baby stepping, extrusion, temp etc to do on-the-fly adjustments. That, and every time I want to start a new test print I have to go through the reconnect process every time.

                        I feel pretty confident my network is not the issue, but I have been toying with the idea of upgrading my router and other network equipment, so maybe I will do that now just in case. I've also considered taking on my my extra routers and setting up a clean dummy network to test.

                        David, is there any possible advantage in doing a "clean" install of 1.19.2. Meaning, could/should I format the SD card and do a completely clean install of everything, and then just paste in my config values as needed?

                        Artemis
                        Rostock Max v2
                        Orion

                        1 Reply Last reply Reply Quote 0
                        • undefined
                          Jarery
                          last edited by 25 Sept 2017, 17:38

                          @KeeganB:

                          Thanks David.
                          David, is there any possible advantage in doing a "clean" install of 1.19.2. Meaning, could/should I format the SD card and do a completely clean install of everything, and then just paste in my config values as needed?

                          My thoughts also.
                          I'm also not happy with 1.19 in regards to 1.18.
                          All the additions are awesome, and I always use volumetric extrusion and other features not in 1.18. But if i have no method of connecting to the system the features it has are a moot point.

                          1 Reply Last reply Reply Quote 0
                          • undefined
                            Dougal1957
                            last edited by 25 Sept 2017, 17:43

                            I Did have an issue to start with which was almost instant disconnects I fitted an AP Extender and got round it but then when I moved the printer back to it rightful location the issue re-appeared turns out my WiFi AP Credentials for the original AP was corrupt deleting them and re-applying fixed the problem not saying it will fix you issues but may be worth a try?

                            FWIW I am using a netgear WiFi router (D6400)

                            1 Reply Last reply Reply Quote 0
                            • undefined
                              KeeganB
                              last edited by 25 Sept 2017, 17:55

                              Sorry Dougal,

                              I am not following what you are suggesting? Are you saying the credentials saved to the DUET for connecting to your AP were bad?

                              Artemis
                              Rostock Max v2
                              Orion

                              1 Reply Last reply Reply Quote 0
                              • undefined
                                Dougal1957
                                last edited by 25 Sept 2017, 18:27

                                yes indeed

                                1 Reply Last reply Reply Quote 0
                                • undefined
                                  KeeganB
                                  last edited by 25 Sept 2017, 18:58

                                  Thanks, I will certainly try that. It won't hurt anything and if it resolves this issue, Ill be ecstatic!

                                  Artemis
                                  Rostock Max v2
                                  Orion

                                  1 Reply Last reply Reply Quote 0
                                  • undefined
                                    Dougal1957
                                    last edited by 25 Sept 2017, 19:09

                                    Use the M588 to remove it from the list first before trying to re-instate it

                                    1 Reply Last reply Reply Quote 0
                                    • undefined
                                      KeeganB
                                      last edited by 26 Sept 2017, 13:04

                                      I didn't have much time last night, but I tested your idea Dougal. Nope 😞

                                      Artemis
                                      Rostock Max v2
                                      Orion

                                      1 Reply Last reply Reply Quote 0
                                      • undefined
                                        Dougal1957
                                        last edited by 26 Sept 2017, 17:03

                                        I didn't think it would TBH your symptoms are different to what mine were but it was worth a try.

                                        1 Reply Last reply Reply Quote 0
                                        • undefined
                                          KeeganB
                                          last edited by 26 Sept 2017, 17:32

                                          Yeah, I wasn't holding much hope, but it was easy enough to give it a shot! Thanks

                                          Artemis
                                          Rostock Max v2
                                          Orion

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