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

    DWC2 Uploading large Gcode files results in network error

    Scheduled Pinned Locked Moved Unsolved
    Duet Web Control
    6
    19
    1.0k
    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.
    • chrishammundefined
      chrishamm administrators
      last edited by chrishamm

      Both error messages mean that the connection is interrupted while an upload is in progress. You can try to change your WiFi channel and check if that makes a difference. Also, if you can, move your printer closer to your WiFi access point and check if you can upload files then.

      This guide may give you further hints on how to resolve this problem.

      Duet software engineer

      danzaywerundefined 1 Reply Last reply Reply Quote 0
      • danzaywerundefined
        danzaywer
        last edited by

        Thank you,
        in the evening I will carry out checks on the channel. The printer is a fair distance from the access point.
        With the current situation and DWC1 I have no problem and the upload is very fast.

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

          Are you able to get a WireShark trace of a failed upload? That might help us diagnose the problem.

          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

          danzaywerundefined 1 Reply Last reply Reply Quote 0
          • danzaywerundefined
            danzaywer @dc42
            last edited by

            @dc42
            I can try

            1 Reply Last reply Reply Quote 0
            • danzaywerundefined
              danzaywer @chrishamm
              last edited by

              @chrishamm
              @dc42
              Ok, I changed the channel but it didn't help, I moved the printer 1 meter sideways and now I can upload a 30 MB file without errors. I intend to restore the previous position and analyze with wireshark to understand the cause of the problem, the printer is about 5 meters from an ubiquiti mounted on the ceiling without obstacles, in both positions.
              Thanks for the support, as soon as I have the wireshark trace I will upload it.

              Phaedruxundefined 1 Reply Last reply Reply Quote 0
              • jrjones88undefined
                jrjones88 @chrishamm
                last edited by

                @chrishamm said in DWC2 Uploading large Gcode files results in network error:

                Please try to upgrade to DWC 2.0.5. The new version no longer relies on the "axios" library for HTTP calls but uses native AJAX calls instead, so I hope this will solve your problem.

                I've haven't been able to test it for a while, but I've since upgraded to 2.0.7 and while I do have a higher success rate, the odd time the upload still fails.

                I've attached 3 wireshark traces of failed uploads here: https://1drv.ms/u/s!AgTPtiCYHi3hh8oNZ5d6wYz7VkdVzQ?e=pKpMUd

                chrishammundefined 1 Reply Last reply Reply Quote 0
                • Phaedruxundefined
                  Phaedrux Moderator @danzaywer
                  last edited by

                  @danzaywer said in DWC2 Uploading large Gcode files results in network error:

                  I moved the printer 1 meter sideways

                  Welcome to the vaugeries of wireless.

                  Z-Bot CoreXY Build | Thingiverse Profile

                  1 Reply Last reply Reply Quote 0
                  • chrishammundefined
                    chrishamm administrators @jrjones88
                    last edited by

                    @jrjones88 Thanks for the Wireshark dumps but I'm afraid they show that your PC sends bad packets and not the Duet. There are a couple of out-of-order packets from your AsRock network card and some other retransmissions.

                    I suggest you perform the steps on this site and if it does not help, try upgrading the drivers of your network card.

                    In addition, I tried to upload a 160MB test file from Firefox and Chromium to my Duet WiFi. None of the transfers failed with DWC 2.0.7.

                    Duet software engineer

                    1 Reply Last reply Reply Quote 0
                    • Bennyundefined
                      Benny
                      last edited by

                      I am having the same problem, just started out of nowhere.
                      worked perfect for months, 3 days after installing RRF3 having problems.

                      Phaedruxundefined 1 Reply Last reply Reply Quote 0
                      • Phaedruxundefined
                        Phaedrux Moderator @Benny
                        last edited by

                        @Benny I suggest starting a new thread and include details about your setup including what board, what firmware and DWC version exactly. Also the output of M122 and your config file for good measure.

                        Z-Bot CoreXY Build | Thingiverse Profile

                        1 Reply Last reply Reply Quote 0
                        • Bennyundefined
                          Benny
                          last edited by

                          No worries think I have sorted, Reset everything, deleted cache and repaired sd card.
                          Not sure what fixed it.

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