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

    Mini 5+ Wifi connection unstable

    Scheduled Pinned Locked Moved Unsolved
    Duet Web Control
    13
    39
    2.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.
    • chrishammundefined
      chrishamm administrators @oc_geek
      last edited by

      @oc_geek Thanks for the Wireshark dump but it looks good, I cannot see any connection drops between your PC and the Duet in there. No timeouts, no resets, nothing.

      How do you connect to your Duet, do you enter <hostname>.local or just <hostname> in your browser? If it's one of these two, please connect via the IPv4 address instead and check if that improves things. You can send M552 over DWC to get it.

      Duet software engineer

      oc_geekundefined 1 Reply Last reply Reply Quote 0
      • oc_geekundefined
        oc_geek @chrishamm
        last edited by

        @chrishamm said in Mini 5+ Wifi connection unstable:

        @oc_geek Thanks for the Wireshark dump but it looks good, I cannot see any connection drops between your PC and the Duet in there. No timeouts, no resets, nothing.

        How do you connect to your Duet, do you enter <hostname>.local or just <hostname> in your browser? If it's one of these two, please connect via the IPv4 address instead and check if that improves things. You can send M552 over DWC to get it.

        Yeah you see nothing because as i wrote that was a sample example.... taken when the issue wasn't there

        Connecting via IP or hostname has zero influence whatsoever

        1 Reply Last reply Reply Quote 0
        • oc_geekundefined
          oc_geek @dc42
          last edited by oc_geek

          @dc42 said in Mini 5+ Wifi connection unstable:

          have you tried going to Settings/Machine specific/General in DWC and increasing "Number of maximum AJAX retries" above its default value of 2 ?

          I've set it to 4 yesterday
          so far it seems to hold ; after the night print in the morning i've not found disconnects/reconnects yet... (touching wood)
          I'll let you know if the issue comes up again
          Thanks for the advice

          Michael Hathawayundefined oc_geekundefined 2 Replies Last reply Reply Quote 0
          • Michael Hathawayundefined
            Michael Hathaway @oc_geek
            last edited by

            Not to state the obvious, but why not just run a Mini 5+ ethernet board? Just add a access point or wireless router to the network and you will have wireless control without the dropouts. I run my printers from both PC and my phone/tablet. 🤔

            Cut me, I bleed Duet3D. 😳 And I love the people here. 😍😍😍
            www.MatterHackers.com - https://discord.gg/Ked7GREqux

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

              @tinken Either way there should be no connection issues. But since we cannot reproduce them on our own, we will need valid Wireshark captures from affected users where drop-outs can be seen before we can start further investigations.

              Duet software engineer

              dc42undefined Phaedruxundefined 2 Replies Last reply Reply Quote 0
              • dc42undefined
                dc42 administrators @chrishamm
                last edited by

                If it mainly happens overnight, it could be related to the PC going to sleep.

                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

                Michael Hathawayundefined 1 Reply Last reply Reply Quote 1
                • Michael Hathawayundefined
                  Michael Hathaway @dc42
                  last edited by

                  Sounds like powersaving mode is active on the PC or other gui device.

                  Cut me, I bleed Duet3D. 😳 And I love the people here. 😍😍😍
                  www.MatterHackers.com - https://discord.gg/Ked7GREqux

                  stuartofmtundefined 1 Reply Last reply Reply Quote 1
                  • stuartofmtundefined
                    stuartofmt @Michael Hathaway
                    last edited by

                    This post is deleted!
                    1 Reply Last reply Reply Quote 0
                    • stuartofmtundefined
                      stuartofmt
                      last edited by

                      Throwing this out there as I have wrestled with similar symptoms (but in a different context not related to Duet). It was a real struggle to pin down (until it was). Please just take this as a "check the box" comment:

                      1. Is your router / modem on a scheduled reboot (at night?) ?
                      2. Does your router provide dynamic channel selection between reboots ?
                      1 Reply Last reply Reply Quote 0
                      • oc_geekundefined
                        oc_geek @oc_geek
                        last edited by

                        @oc_geek said in Mini 5+ Wifi connection unstable:

                        @dc42 said in Mini 5+ Wifi connection unstable:

                        have you tried going to Settings/Machine specific/General in DWC and increasing "Number of maximum AJAX retries" above its default value of 2 ?

                        I've set it to 4 yesterday
                        so far it seems to hold ; after the night print in the morning i've not found disconnects/reconnects yet... (touching wood)
                        I'll let you know if the issue comes up again
                        Thanks for the advice

                        Setting the AJAX to 4 does not prevent the issue

                        bcfa8d93-7563-4eb1-923d-b5efdea0c324-image.png

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

                          @chrishamm said in Mini 5+ Wifi connection unstable:

                          @tinken Either way there should be no connection issues. But since we cannot reproduce them on our own, we will need valid Wireshark captures from affected users where drop-outs can be seen before we can start further investigations.

                          @oc_geek Would you be able to provide a wireshark capture?

                          Z-Bot CoreXY Build | Thingiverse Profile

                          oc_geekundefined 1 Reply Last reply Reply Quote 0
                          • oc_geekundefined
                            oc_geek @Phaedrux
                            last edited by

                            undefined@phaedrux said in Mini 5+ Wifi connection unstable:

                            @oc_geek Would you be able to provide a wireshark capture?

                            File didn't fit in the site upload size
                            See this location please

                            The Printer had became unreachable at the time i stopped the capture..

                            Phaedruxundefined chrishammundefined 2 Replies Last reply Reply Quote 0
                            • Phaedruxundefined
                              Phaedrux Moderator @oc_geek
                              last edited by

                              @oc_geek Thanks. We will take a look at that capture.

                              Z-Bot CoreXY Build | Thingiverse Profile

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

                                @oc_geek Thanks for the Wireshark dump. I just had a chance to look at it and it seems like the WiFi interface stops responding to ARP requests at some point. Can you please install the debug build from here by renaming it to DuetWiFiServer.bin, uploading it on the Files -> System page of DWC, and confirming the update? When a connection drop occurs again, please connect a PC to the USB port of the Duet, send M111 P14 S1 followed by M122, and post the full output here.

                                Duet software engineer

                                oc_geekundefined 1 Reply Last reply Reply Quote 0
                                • oc_geekundefined
                                  oc_geek @chrishamm
                                  last edited by oc_geek

                                  @chrishamm sorry but the USB port of the card in a Voron 2.4 installation is under ~45 Kg of metal and plastic and it is unreachable from external... i'll pass for now..
                                  i think i did what i judge to be above enough replacements (this is third Duet Mini 5+) with the Duet boards on my side...

                                  Perhaps you can replicate the issues on your side and find solutions without the continuous need of users becoming debuggers...

                                  If it helps
                                  i was able to quickly capture today the moment the card entered in "crazy horse" mode (was fine for days and suddenly it happened again)
                                  The capture file is short and seems to contain the communication issues in there

                                  Wireshark capture July-29-2021

                                  thanks

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

                                    I am also having this issue over the last 12 months. Havn't used the prunter that much to car but of late its been very frustrating.

                                    ef351a99-37cc-48db-b3a1-0e375cae27d5-image.png

                                    Happy to help debug the issue if you still need a volunteer?

                                    jay_s_ukundefined 1 Reply Last reply Reply Quote 0
                                    • jay_s_ukundefined
                                      jay_s_uk @A Former User
                                      last edited by

                                      @mickcomp please start a new thread

                                      Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

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

                                        @jay_s_uk
                                        I disable wifi optimisation for the SSID my printer lives on. first time in a long time its still online over night. If the issues comes back i'll start a new thread

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