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

    DWC crashing; repeatedly

    Scheduled Pinned Locked Moved
    Firmware installation
    8
    37
    4.2k
    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.
    • dc42undefined
      dc42 administrators
      last edited by

      Please answered the question: what is the "Error reason" given in the Ajax error message?

      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
      • Cinproundefined
        Cinpro
        last edited by

        AJAX error after it disconnects is to make sure my printer is still on, that its lost communication

        Thats all I have unless you want me to fabricate a story, I wish I had more to go on, and more to give you. It has made it through 3 prints without doing this. However this is also the second time it has done the same thing, just week apart. Its frustrating saying I have a problem but I don't have more to give.

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

          When DWC reports an Ajax error, at the bottom of the message box it reports "Error reason:" followed by some text. I want to know what that text is. If it's not there, take a screenshot showing the Ajax message box and post that.

          Also please tell us what version of DWC you are using.

          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
          • Cinproundefined
            Cinpro
            last edited by

            It just did it, and the last line this time says "error reason is timeout" I do not remember seeing this before now other than when I turn the machine off myself.

            1 Reply Last reply Reply Quote 0
            • Cinproundefined
              Cinpro
              last edited by

              lots of family things to do, so not much time to play with the printer I'm afraid. Will post a screen of the error next time I get it.

              1 Reply Last reply Reply Quote 0
              • Cinproundefined
                Cinpro
                last edited by

                Well the card died, it's bad enough that the SD card format app locks up. I got a new card but can only connect via USB. I emptied the WWW folder and unzipped straight into it using Win zip. The M552 is set as M552 P192.168.1.149 S1. I also tried all Zeros for the address. Internet here is spotty at best due to some recent storms. Will check back when I can thanks.

                1 Reply Last reply Reply Quote 0
                • BMMalundefined
                  BMMal
                  last edited by

                  I'm having a similar problem. At first it seemed to only be when I uploaded large files. Then it was even if I put the large file on the SD card first. Now it's I can't upload or put any file on the SD card. The printer will still print from SD if I go through Repetier Host to start it, but the web control is not very useful and seems to be unstable. It gets hung up looking like the below images where it is trying to load gcodes, macros, etc but never does and eventually times out.

                  I'm using Chrome Version 59.0.3071.115 (Official Build) (64-bit)
                  Duet WiFi 1 + DueX5
                  FW 1.18.2 (2017-06-16)
                  WiFi Server 1.03 ch fork
                  Web Interface 1.15a


                  Duet Ethernet - Most likely the most recent Edge firmware
                  Duet X5
                  7" Panel Due V2
                  Cartesian, 4 Nozzles with Flex3Drives, Heated Chamber, Simple Switch Filament Sensing

                  1 Reply Last reply Reply Quote 0
                  • TYPPA Albert Einsteinundefined
                    TYPPA Albert Einstein
                    last edited by

                    Same for me !!!


                    AJAX error

                    I have no special talent. I am only passionately curious.
                    -Albert Einstein

                    1 Reply Last reply Reply Quote 0
                    • fcwiltundefined
                      fcwilt
                      last edited by

                      I occasionally have this problem - it seems to be related to WiFi signal strength.

                      I added an unique SSID to the nearest WiFi access point in my home and used it for my printers and it improved things quite a bit - not perfect but much better.

                      I have been meaning to try placing an WiFi access point in the same room as my printers to what effect, if any, that has on the problem.

                      Is there a G-code to that can be used to display signal strength information?

                      Thanks.

                      Frederick

                      Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

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

                        Have you tried increasing the maximum number of AJAX retries? See the screenshot 2 posts above.

                        Series 1.19 firmware includes the WiFi signal strength in the M122 report.

                        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
                        • BMMalundefined
                          BMMal
                          last edited by

                          @dc42:

                          Have you tried increasing the maximum number of AJAX retries? See the screenshot 2 posts above.

                          Series 1.19 firmware includes the WiFi signal strength in the M122 report.

                          Mine is set to 10 retries.

                          Duet Ethernet - Most likely the most recent Edge firmware
                          Duet X5
                          7" Panel Due V2
                          Cartesian, 4 Nozzles with Flex3Drives, Heated Chamber, Simple Switch Filament Sensing

                          1 Reply Last reply Reply Quote 0
                          • TYPPA Albert Einsteinundefined
                            TYPPA Albert Einstein
                            last edited by

                            @dc42:

                            Have you tried increasing the maximum number of AJAX retries? See the screenshot 2 posts above.

                            Series 1.19 firmware includes the WiFi signal strength in the M122 report.

                            M122

                            Network state is running
                            WiFi module is connected to access point
                            WiFi firmware version 1.19beta9
                            WiFi MAC address 5c:cf:7f:ee:63:dc
                            WiFi Vcc 3.08, reset reason Turned on by main processor
                            WiFi flash size 4194304, free heap 38168
                            WiFi IP address 192.168.1.80
                            WiFi signal strength -59db ?????
                            HTTP sessions: 1 of 8
                            Socket states: 2 0 0 0 0 0 0 0
                            Responder states: HTTP(1) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0)

                            I have no special talent. I am only passionately curious.
                            -Albert Einstein

                            1 Reply Last reply Reply Quote 0
                            • BMMalundefined
                              BMMal
                              last edited by

                              I should add, that eventually the run, download, and delete buttons will show up next to the gcode files. Once this happens, it seems that things go back to normal and I have good stability.

                              Duet Ethernet - Most likely the most recent Edge firmware
                              Duet X5
                              7" Panel Due V2
                              Cartesian, 4 Nozzles with Flex3Drives, Heated Chamber, Simple Switch Filament Sensing

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

                                @TYPPA:

                                @dc42:

                                Have you tried increasing the maximum number of AJAX retries? See the screenshot 2 posts above.

                                Series 1.19 firmware includes the WiFi signal strength in the M122 report.

                                M122

                                Network state is running
                                WiFi module is connected to access point
                                WiFi firmware version 1.19beta9
                                WiFi MAC address 5c:cf:7f:ee:63:dc
                                WiFi Vcc 3.08, reset reason Turned on by main processor
                                WiFi flash size 4194304, free heap 38168
                                WiFi IP address 192.168.1.80
                                WiFi signal strength -59db ?????
                                HTTP sessions: 1 of 8
                                Socket states: 2 0 0 0 0 0 0 0
                                Responder states: HTTP(1) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0)

                                -59db is a good strength. I get -52db from a Duet WiFi about 2m from the router. See https://support.randomsolutions.nl/827069-Best-dBm-Values-for-Wifi.

                                I'll change it to say dBm instead of db in the next firmware, technically db is a relative signal strength.

                                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
                                • TYPPA Albert Einsteinundefined
                                  TYPPA Albert Einstein
                                  last edited by

                                  @dc42:

                                  @TYPPA:

                                  @dc42:

                                  Have you tried increasing the maximum number of AJAX retries? See the screenshot 2 posts above.

                                  Series 1.19 firmware includes the WiFi signal strength in the M122 report.

                                  M122

                                  Network state is running
                                  WiFi module is connected to access point
                                  WiFi firmware version 1.19beta9
                                  WiFi MAC address 5c:cf:7f:ee:63:dc
                                  WiFi Vcc 3.08, reset reason Turned on by main processor
                                  WiFi flash size 4194304, free heap 38168
                                  WiFi IP address 192.168.1.80
                                  WiFi signal strength -59db ?????
                                  HTTP sessions: 1 of 8
                                  Socket states: 2 0 0 0 0 0 0 0
                                  Responder states: HTTP(1) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0)

                                  -59db is a good strength. I get -52db from a Duet WiFi about 2m from the router. See https://support.randomsolutions.nl/827069-Best-dBm-Values-for-Wifi.

                                  I'll change it to say dBm instead of db in the next firmware, technically db is a relative signal strength.

                                  ok now Maximum number of AJAX retries: is 10 for the moment is not disconnect …. 😉
                                  WiFi signal strength -59db / -68db at 8 mt.... 😉

                                  I have no special talent. I am only passionately curious.
                                  -Albert Einstein

                                  1 Reply Last reply Reply Quote 0
                                  • BMMalundefined
                                    BMMal
                                    last edited by

                                    When I run an SD file from Repetier, the log has a bunch of the below lines in it. I noticed in DWC that the object height, layer height, filament usage, and generated by fields all say "loading." The Macros and System Editor file pages all say loading as well. I have not tested, but I think this started to become an issue when I switched from S3D to the beta of Kisslicer. Is it possibly an issue with the way kisslicer stores its settings in the gcode file or something along those lines? An example file is here: https://pastebin.com/YT10MAgr

                                    12:57:56.056 : Request: fileinfo?name=0%3A%2Fgcodes%2F20mmTestCube_repaired.gcode fragment 2147483648

                                    Duet Ethernet - Most likely the most recent Edge firmware
                                    Duet X5
                                    7" Panel Due V2
                                    Cartesian, 4 Nozzles with Flex3Drives, Heated Chamber, Simple Switch Filament Sensing

                                    1 Reply Last reply Reply Quote 0
                                    • BMMalundefined
                                      BMMal
                                      last edited by

                                      If I try to release the SD card via M22 while this issue is occurring, the console will display the following in DWC:

                                      1:41:01 PMCan't open 0:/gcodes/20mmTestCube.gcode to read, error code 12

                                      Duet Ethernet - Most likely the most recent Edge firmware
                                      Duet X5
                                      7" Panel Due V2
                                      Cartesian, 4 Nozzles with Flex3Drives, Heated Chamber, Simple Switch Filament Sensing

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

                                        You are the first person I know of to use M22 to release a card! After releasing a card, you must use M21 to mount it again.

                                        Releasing card 0 is not advised because it contains files essential to the operation of the Duet, for example the homing files, macro files, bed.g, heightmap.csv etc.

                                        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
                                        • BMMalundefined
                                          BMMal
                                          last edited by

                                          I upgraded the firmware to the new experimental stuff which seems to have improved, if not eliminated, the problem I was having.

                                          The new firmware definitely seems more sensitive to the wifi signal strength. Admittedly, mine is not very good at -69dB with the control box door open and -72dB or not able to connect with it closed. Previously, I rarely had a problem connecting and errors due to signal strength were uncommon enough that it wasn't a problem, even with the door closed.

                                          Duet Ethernet - Most likely the most recent Edge firmware
                                          Duet X5
                                          7" Panel Due V2
                                          Cartesian, 4 Nozzles with Flex3Drives, Heated Chamber, Simple Switch Filament Sensing

                                          1 Reply Last reply Reply Quote 0
                                          • fcwiltundefined
                                            fcwilt
                                            last edited by

                                            Hi,

                                            Using an AP (recent model dual radio b/g/n and ac/n) in a nearby room my signal strength by was reported via DWC as -67.

                                            I could stay connected a good while when actively using DWC but if I left for a while and returned it was usually to a disconnect error.

                                            As a test I installed a simple AP (older model single radio b/g only) four feet away from the printer.

                                            The signal strength is now -46 and DWC has remained connected for several hours with no errors as of yet.

                                            Just FYI

                                            Frederick

                                            Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

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