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

    CONSTANT AJAX disconnect errors

    Scheduled Pinned Locked Moved
    General Discussion
    28
    307
    55.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.
    • KeeganBundefined
      KeeganB
      last edited by

      @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
      • Jareryundefined
        Jarery
        last edited by

        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
        • Jareryundefined
          Jarery
          last edited by

          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
          • KeeganBundefined
            KeeganB
            last edited by

            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
            • dc42undefined
              dc42 administrators
              last edited by

              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
              • lolorcundefined
                lolorc
                last edited by

                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
                • KeeganBundefined
                  KeeganB
                  last edited by

                  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
                  • Jareryundefined
                    Jarery
                    last edited by

                    @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
                    • Dougal1957undefined
                      Dougal1957
                      last edited by

                      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
                      • KeeganBundefined
                        KeeganB
                        last edited by

                        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
                        • Dougal1957undefined
                          Dougal1957
                          last edited by

                          yes indeed

                          1 Reply Last reply Reply Quote 0
                          • KeeganBundefined
                            KeeganB
                            last edited by

                            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
                            • Dougal1957undefined
                              Dougal1957
                              last edited by

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

                              1 Reply Last reply Reply Quote 0
                              • KeeganBundefined
                                KeeganB
                                last edited by

                                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
                                • Dougal1957undefined
                                  Dougal1957
                                  last edited by

                                  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
                                  • KeeganBundefined
                                    KeeganB
                                    last edited by

                                    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
                                    • TimVukmanundefined
                                      TimVukman
                                      last edited by

                                      Hi
                                      I am jumping in here too as I had written my own post on this issue between last night and today. I will collect some data based on the gcodes posted here that will provide the data. I have not been able to connect today because I upgraded to 1.20.7 and something must have gone wrong because now I can't get the Wifi to initialize.

                                      I can say that I never had the connection to the printer drop when I was running 1.18.2. That says the connection from the printer to the network and from the DWC to the printer both had enough signal strength. I will get the numbers if I can.

                                      1 Reply Last reply Reply Quote 0
                                      • TimVukmanundefined
                                        TimVukman
                                        last edited by

                                        Hi
                                        I am going to try to downgrade to 1.18.2 since that is when everything was working properly. I currently can't initialize the Wifi module. Any way to test if it is ok?

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

                                          @TimVukman:

                                          Hi
                                          I am jumping in here too as I had written my own post on this issue between last night and today. I will collect some data based on the gcodes posted here that will provide the data. I have not been able to connect today because I upgraded to 1.20.7 and something must have gone wrong because now I can't get the Wifi to initialize.

                                          Did you follow the upgrade instructions at https://duet3d.com/wiki/Upgrading_to_DuetWiFiFirmware_1.19 ? In particular, the but about using M587 to enter your WIFI access point ssid and password.

                                          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
                                          • KeeganBundefined
                                            KeeganB
                                            last edited by

                                            Send M552 S-1

                                            wait for it to complete

                                            Send M552 S1

                                            Try that?

                                            Artemis
                                            Rostock Max v2
                                            Orion

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