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

    AJAX timeout error during a print

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    11
    48
    8.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.
    • DjDemonDundefined
      DjDemonD
      last edited by

      I've had lots of these too. I'm running windows 10 and using chrome. It doesn't cause any trouble I just hit reconnect but it is happening every 10-15 minutes.

      Simon. Precision Piezo Z-Probe Technology
      www.precisionpiezo.co.uk
      PT1000 cartridge sensors NOW IN, just attach to your Duet board directly!

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

        Can both of you confirm that the error reason given is always timeout, and that you are running DWC 1.12?

        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
        • DjDemonDundefined
          DjDemonD
          last edited by

          Firmware Version: 1.15c (2016-09-05)
          WiFi Server Version: 1.02
          Web Interface Version: 1.12

          Communication Error

          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.

          Error reason: timeout

          Simon. Precision Piezo Z-Probe Technology
          www.precisionpiezo.co.uk
          PT1000 cartridge sensors NOW IN, just attach to your Duet board directly!

          1 Reply Last reply Reply Quote 0
          • appjawsundefined
            appjaws
            last edited by

            Yes the reason is always timeout and I am using DWC1.12

            appjaws - Core XYUV Duet Ethernet Duex5
            firmware 3.5.0-rc.4 Web Interface 3.5.0-rc.4
            Ormerod 1-converted to laser engraver, Duet wifi
            OpenSCAD version 2024.03.18
            Simplify3D 5.1.2

            1 Reply Last reply Reply Quote 0
            • DjDemonDundefined
              DjDemonD
              last edited by

              I have only used Chrome for windows 10 so far. I will try other browsers as I read in another thread it might be the browser ending the session.

              Simon. Precision Piezo Z-Probe Technology
              www.precisionpiezo.co.uk
              PT1000 cartridge sensors NOW IN, just attach to your Duet board directly!

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

                I suspect it's caused by an unreliable WiFi connection, for example due to temporary interference. I've asked chrishamm if he can change DWC to do a configurable number of retries instead of just one.

                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
                • W3DRKundefined
                  W3DRK
                  last edited by

                  For what it's worth I have yet to experience this with my Duet WiFi. I use both Chrome and Firefox on Linux…no issues at all.

                  On the other hand, with my Duet 0.6-which is obviously wired- I receive the AJAX timeout error like clockwork. It's not running the latest firmware though and I can't recall off hand what version it is...maybe 1.12 I believe...

                  1 Reply Last reply Reply Quote 0
                  • appjawsundefined
                    appjaws
                    last edited by

                    @dc42:

                    I suspect it's caused by an unreliable WiFi connection, for example due to temporary interference. I've asked chrishamm if he can change DWC to do a configurable number of retries instead of just one.

                    I have a pre-production duet wifi board.
                    Nothing else is on my network wirelessly so any hints as to what could be causing interference?

                    appjaws - Core XYUV Duet Ethernet Duex5
                    firmware 3.5.0-rc.4 Web Interface 3.5.0-rc.4
                    Ormerod 1-converted to laser engraver, Duet wifi
                    OpenSCAD version 2024.03.18
                    Simplify3D 5.1.2

                    1 Reply Last reply Reply Quote 0
                    • appjawsundefined
                      appjaws
                      last edited by

                      @dc42:

                      I suspect it's caused by an unreliable WiFi connection, for example due to temporary interference. I've asked chrishamm if he can change DWC to do a configurable number of retries instead of just one.

                      I have a pre-production duet wifi board.
                      Nothing else is on my network wirelessly so any hints as to what could be causing interference?

                      appjaws - Core XYUV Duet Ethernet Duex5
                      firmware 3.5.0-rc.4 Web Interface 3.5.0-rc.4
                      Ormerod 1-converted to laser engraver, Duet wifi
                      OpenSCAD version 2024.03.18
                      Simplify3D 5.1.2

                      1 Reply Last reply Reply Quote 0
                      • W3DRKundefined
                        W3DRK
                        last edited by

                        I think the ESP8266 is limited to 2.4GHz which can get really crowded these days. It may be nothing particular to your network but rather any number of wireless devices in your vicinity that share the same RF spectrum.

                        Most wireless routers or access points give you ability to manually choose a particular "channel" to use, you may want to try arbitrarily changing that to a few different ones and see if that makes a difference.

                        1 Reply Last reply Reply Quote 0
                        • appjawsundefined
                          appjaws
                          last edited by

                          @W3DRK I'll look into that, thanks for the info

                          appjaws - Core XYUV Duet Ethernet Duex5
                          firmware 3.5.0-rc.4 Web Interface 3.5.0-rc.4
                          Ormerod 1-converted to laser engraver, Duet wifi
                          OpenSCAD version 2024.03.18
                          Simplify3D 5.1.2

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

                            I am on my phone right now so can't check but I thought the latest version of DWC has the ability to set the number of AJAX timeout retries…

                            www.duet3d.com

                            1 Reply Last reply Reply Quote 0
                            • appjawsundefined
                              appjaws
                              last edited by

                              Yes you are right, I've just set it to 3 so I will see how that performs.

                              appjaws - Core XYUV Duet Ethernet Duex5
                              firmware 3.5.0-rc.4 Web Interface 3.5.0-rc.4
                              Ormerod 1-converted to laser engraver, Duet wifi
                              OpenSCAD version 2024.03.18
                              Simplify3D 5.1.2

                              1 Reply Last reply Reply Quote 0
                              • botundefined
                                bot
                                last edited by

                                In regards to the WIFI channel selection, there are free programs available that detect and list all SSIDs in range, their strength, and the channel they are broadcasting on. This is really useful information for selecting a channel to use for your own SSID.

                                Microwave ovens can disturb wifi signals at 2.4Ghz. As can wireless landline telephones.

                                *not actually a robot

                                1 Reply Last reply Reply Quote 0
                                • DjDemonDundefined
                                  DjDemonD
                                  last edited by

                                  I'll try independently testing the increase retries for dwc (how do I set this?) and installing a WiFi access point in the room near to the printer.

                                  Simon. Precision Piezo Z-Probe Technology
                                  www.precisionpiezo.co.uk
                                  PT1000 cartridge sensors NOW IN, just attach to your Duet board directly!

                                  1 Reply Last reply Reply Quote 0
                                  • DjDemonDundefined
                                    DjDemonD
                                    last edited by

                                    Definitely fewer disconnects with a router in the room with the printer in it, on a clear channel and fairly close by.

                                    Simon. Precision Piezo Z-Probe Technology
                                    www.precisionpiezo.co.uk
                                    PT1000 cartridge sensors NOW IN, just attach to your Duet board directly!

                                    1 Reply Last reply Reply Quote 0
                                    • DjDemonDundefined
                                      DjDemonD
                                      last edited by

                                      Switched to Chrome Canary and had even fewer but still maybe 2 today in about 3-4 hours. This is not really a problem. Still unsure why these are happening though.

                                      Simon. Precision Piezo Z-Probe Technology
                                      www.precisionpiezo.co.uk
                                      PT1000 cartridge sensors NOW IN, just attach to your Duet board directly!

                                      1 Reply Last reply Reply Quote 0
                                      • Russ Griesundefined
                                        Russ Gries
                                        last edited by

                                        also for me i get a lot of timeouts.

                                        it dose seem to be when its trying to do something, like download a file or during printing.

                                        some times when i go to the G code tab it starts lagging and will not display stuff, or just time out.

                                        I think part of this is the connection for me ( but I'm not sure of that yet) , but i though i would post for more feed back!

                                        ~Russ

                                        One Day At A Time…
                                        My Main Research Page:
                                        http://rwgresearch.com/open-projects/3d-printing-research/

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

                                          FWIW the WiFi received signal strength is reported to the USB port when you enable WiFi. This might help diagnose connection issues. I'll make it easier to retrieve this information in a future firmware release.

                                          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
                                          • DjDemonDundefined
                                            DjDemonD
                                            last edited by

                                            I improved mine a lot but I've got a router 4 feet away from it. I imagine the environment immediately near to a 3d printer is not the best in terms of EMI.

                                            Is it possible to have an external wifi antenna, in a future revision? Or the port for one if its needed?

                                            Simon. Precision Piezo Z-Probe Technology
                                            www.precisionpiezo.co.uk
                                            PT1000 cartridge sensors NOW IN, just attach to your Duet board directly!

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