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

    WiFi Issues - "Network Error" on uploading almost every file

    Scheduled Pinned Locked Moved
    General Discussion
    8
    22
    1.7k
    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.
    • TheBasedDogeundefined
      TheBasedDoge
      last edited by

      The wifi (Unifi AP) is only in the next room over and the duet is the only device which seems to be having issues, so I don't know if that is the issue. My phone also shows the same -60db signal and it works fine. I have a feeling something must be up with the duet.

      Also, interestingly I just tried to revert to DWC1 interface and upload a gcode file, and it DID work. Although only at 150kb/s, but at least it worked without failing.

      TheBasedDogeundefined matt3oundefined 2 Replies Last reply Reply Quote 0
      • TheBasedDogeundefined
        TheBasedDoge @TheBasedDoge
        last edited by

        @TheBasedDoge I just now tried flashing Duet2Firmware-2.05.zip via Duet Web Control 1 and it worked on the first time! After trying probably literally 30 times on the new interface.

        1 Reply Last reply Reply Quote 0
        • matt3oundefined
          matt3o @TheBasedDoge
          last edited by

          @TheBasedDoge said in WiFi Issues - "Network Error" on uploading almost every file:

          The wifi (Unifi AP)

          I also have a Unifi AP and a slightly better signal strength than yours and I still have an incredibly problematic wifi connection. Sometimes it works, others I need to retry 10 times. Sometimes works the first time and then I have to reboot the board to make it work again.

          Very frustrating. Wondering if it's something with the Unifi.

          PS: I'm on latest stable firmware

          1 Reply Last reply Reply Quote 0
          • TheBasedDogeundefined
            TheBasedDoge
            last edited by

            Interesting. I have tried rebooting the board like 15+ times and it doesn't do anything. Maybe we need to update the firmware on our unifis?

            1 Reply Last reply Reply Quote 0
            • A Former User?
              A Former User @jens55
              last edited by A Former User

              @jens55 said in WiFi Issues - "Network Error" on uploading almost every file:

              I suspect your wifi signal is too low. Move the printer closer to your wifi access point or the other way around. You could also install a signal booster of some kind if your wifi network allows for that feature.
              Last but not least, I think I have heard of Duet coming out with a board that uses an external antenna - maybe it can be retrofitted ?

              This is a very easy modification to retrofit. I bought a few 10 packs of the WiFi modules from aliexpress the external antenna makes a big difference. I have Since changed all the modules in the boards I have, I even socketed one to test in an ethernet equipped board, swapped the ethernet module with the antenna equipped module and that worked great too.

              Phaedruxundefined 1 Reply Last reply Reply Quote 0
              • Phaedruxundefined
                Phaedrux Moderator @A Former User
                last edited by

                @CaLviNx said in WiFi Issues - "Network Error" on uploading almost every file:

                This is a very easy modification to retrofit.

                There's a big asterix on that "very easy", * provided you're comfortable desoldering large components from the PCB.

                Z-Bot CoreXY Build | Thingiverse Profile

                A Former User? 1 Reply Last reply Reply Quote 0
                • A Former User?
                  A Former User @Phaedrux
                  last edited by

                  @Phaedrux

                  Compared to a lot of SMC rework I would say that swapping the WiFi module is one of the easier to do.

                  1 Reply Last reply Reply Quote 1
                  • TheBasedDogeundefined
                    TheBasedDoge
                    last edited by

                    I still have a feeling it has something to do with the new firmware update / new interface or something. Since I found the revert to DWC1 feature I have been able to reliable upload files.... although it's still VERY slow.

                    Do you have a link for the wifi module you bought? That is something I could consider trying as well.

                    Also, still not able to upload through Cura with the Duet plugin, it goes like 10-20% and then says "Error 99: network error"

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

                      Do you have the Unifi set to drop slow clients?

                      If you watch the unifi dashboard while doing an upload what kind of signal strength are you seeing?

                      Have you tried a different channel?

                      Z-Bot CoreXY Build | Thingiverse Profile

                      1 Reply Last reply Reply Quote 0
                      • A Former User?
                        A Former User
                        last edited by A Former User

                        Here's the link to the units I am using successfully.

                        WiFi Module with antenna

                        1 Reply Last reply Reply Quote 1
                        • TheBasedDogeundefined
                          TheBasedDoge
                          last edited by

                          Thanks for the link. I might order one of those although I'm still not sure that is my issue since my duet has been working fine for years, in the same spot, up to this point.

                          I have still consistently been able to upload files via the old duet web interface EVERY time, while files failing consistently on the new duet web interface. I think something is wrong with the new interface.

                          Will also check the settings / stats on my Unify to confirm.

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

                            @TheBasedDoge said in WiFi Issues - "Network Error" on uploading almost every file:

                            Thanks for the link. I might order one of those although I'm still not sure that is my issue since my duet has been working fine for years, in the same spot, up to this point.

                            I have still consistently been able to upload files via the old duet web interface EVERY time, while files failing consistently on the new duet web interface. I think something is wrong with the new interface.

                            Will also check the settings / stats on my Unify to confirm.

                            That definitely sounds like a Dwc2 issue.

                            Can you try clearing out the www folder and recopying the files fresh from the latest release?

                            Z-Bot CoreXY Build | Thingiverse Profile

                            1 Reply Last reply Reply Quote 0
                            • jens55undefined
                              jens55
                              last edited by

                              I think it would be well worthwhile to do a quick wifi scan (free software is available) to check out the spectrum around your setup. It would be quite consistent with the symptoms reported that a neighbour has set up a new wifi device on either the same channel or on either side of it. That would account for it sometimes working and many times not despite an acceptable (?) signal level.
                              I have seen some pretty odd things happening with wifi - it definitely is not a situation like a cable where you just plug it in and it works.

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

                                @jens55 the unifi controller can do a scan too.

                                Z-Bot CoreXY Build | Thingiverse Profile

                                1 Reply Last reply Reply Quote 0
                                • matt3oundefined
                                  matt3o
                                  last edited by

                                  okay I was ready to swap the wifi module but before that I tried to just "extend" the antenna... believe it or not it worked. I hadn't a single disconnect since

                                  IMG_20191231_153146.jpg

                                  Basically cut the onboard antenna and soldered a new one. The antenna must be of a very specific length (check 2.4 antenna length) but apart from that it's a 5 minutes hack.

                                  Now, I don't suggest to anyone doing that... but it worked for me.

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

                                    The built in antenna is very small, also for best signal strength it should be mounted vertically to match the antenna direction in routers, not horizontally as you have it.

                                    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

                                    matt3oundefined 1 Reply Last reply Reply Quote 0
                                    • matt3oundefined
                                      matt3o @dc42
                                      last edited by

                                      @dc42 said in WiFi Issues - "Network Error" on uploading almost every file:

                                      it should be mounted vertically to match the antenna direction in routers

                                      that is interesting, thanks for the heads-up! The antenna hack fortunately worked very well but good to know for the next duet 🙂 Even though the next duet will be surely with external antenna module.

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

                                        Just had this happen to me as well. I think it had to do with the filename being uploaded.

                                        The file had a " double quote in it. Every time I tried to upload it, I would get a network error message. Removing the quote mark and it uploaded fine.

                                        So if anyone gets this error in the future, check your filename for special characters.

                                        Z-Bot CoreXY Build | Thingiverse Profile

                                        1 Reply Last reply Reply Quote 0
                                        • dido8884undefined
                                          dido8884
                                          last edited by

                                          I had this situation because of the long file name.😲

                                          droftartsundefined 1 Reply Last reply Reply Quote 0
                                          • droftartsundefined
                                            droftarts administrators @dido8884
                                            last edited by

                                            @dido8884 said in WiFi Issues - "Network Error" on uploading almost every file:

                                            I had this situation because of the long file name.😲

                                            From https://docs.duet3d.com/en/User_manual/Reference/Gcodes#filenames-and-paths

                                            Full paths, including all directories and subdirectories are limited to 120 characters. e.g.:
                                            0:/gcodes/0123456789/012.gcode
                                            counts as 30 characters

                                            Ian

                                            Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

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