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

    3.5.0 RC3 cannot connect to DWC

    Scheduled Pinned Locked Moved Solved
    Beta Firmware
    8
    40
    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.
    • KP0005undefined
      KP0005
      last edited by KP0005

      so could it possibly be an RRF bug instead? @dc42

      1 Reply Last reply Reply Quote 0
      • KP0005undefined
        KP0005
        last edited by

        DWC RC2 + RRF RC2: works
        DWC RC3 + RRF RC2: works (but gives incompatibility warning)
        DWC RC3 + RRF RC3: does not work
        DWC RC2 + RRF RC3: does not work

        jay_s_ukundefined droftartsundefined 2 Replies Last reply Reply Quote 0
        • jay_s_ukundefined
          jay_s_uk @KP0005
          last edited by

          @KP0005 there have been a lot of ethernet network changes on the duet 2 and maestro between RC2 and RC3 so it'll be linked to that.
          Stick to RC2 for the moment until it's investigated

          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

          Exerqtorundefined 1 Reply Last reply Reply Quote 0
          • Exerqtorundefined
            Exerqtor @jay_s_uk
            last edited by

            @jay_s_uk It looks like it might be effecting Duet 3 Mini as well for what that's worth.

            gloomyandyundefined 1 Reply Last reply Reply Quote 0
            • gloomyandyundefined
              gloomyandy @Exerqtor
              last edited by

              @Exerqtor Are you saying you did not have that "ERR_ADDRESS_UNREACHABLE". on previous versions of RRF?

              Exerqtorundefined 1 Reply Last reply Reply Quote 0
              • Exerqtorundefined
                Exerqtor @gloomyandy
                last edited by

                @gloomyandy said in 3.5.0 RC3 cannot connect to DWC:

                @Exerqtor Are you saying you did not have that "ERR_ADDRESS_UNREACHABLE". on previous versions of RRF?

                Never had it on multible devices before no, I've for sure had issues with RRF not being able to connect to the SSID, but I haven't had lasting connection issues when it's been connected the AP.

                Now i see it on the management page of my network, so it's connected. But i can't connect to DWC:

                gloomyandyundefined 1 Reply Last reply Reply Quote 0
                • gloomyandyundefined
                  gloomyandy @Exerqtor
                  last edited by

                  @Exerqtor Can you still connect to DWC from your computer? Have you been able to connect to your printer from your phone in the past?

                  Exerqtorundefined 1 Reply Last reply Reply Quote 0
                  • Exerqtorundefined
                    Exerqtor @gloomyandy
                    last edited by

                    @gloomyandy When the issue is there it's not possible to connect with any of the devices i've tried doinh so with (Windows pc's & android phones).

                    And yes, "before" i was able to connect with phones etc. most of the times. Some times it was a little bit picky with letting devices connect, but after a refresh or two it usually let me in.

                    Now i have to restart the printer (M999 through PanelDue) to connect with anything once it's acting up.

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

                      @KP0005 I've updated my Maestro to rc3, and I'm having some problems with it. Mostly it works, but I only connect from one PC, via one browser tab. However, I can't 'refresh' the list of jobs without getting an error message:

                      Failed to get file list
                      Network error

                      and the list stays blank when I know there are files on there. Reverting to RRF rc.2 (with DWC rc.3) fixes this.

                      We currently think this is due to the reduction of network responders in rc.3 for Duet 2 boards, though I don't think I've seen any reports of problems from Duet 2 WiFi/Ethernet users:
                      https://github.com/Duet3D/RepRapFirmware/wiki/Changelog-RRF-3.x-RC#reprapfirmware-350-rc3-changes-since-rc2

                      [Duet 2] [Duet Maestro] The number of HTTP responders has been reduced from 4 to 3. This should not matter unless you have HTTP connections to the Duet open on several PCs or in several browser tabs, or you upload files from two or more PCs or browser tabs concurrently.

                      @Exerqtor The Mini 5+ issue is different, and related to WiFi; the Duet 2 Maestro is Ethernet. I also have occasional disconnections on Mini 5+ WiFi, so I'm trying to capture these with logging so we can investigate. I have a macro on the Paneldue that turns off Wifi (M552 S-1) waits for 5 seconds, then turns it back on (M552 S1), which has worked fine to kick it back in to life. It's always happened when I'm actively doing something on the machine, not when running jobs.

                      There are other threads relating to this issue; please lets keep this one for the Maestro issue.

                      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

                      KP0005undefined 1 Reply Last reply Reply Quote 2
                      • KP0005undefined
                        KP0005 @droftarts
                        last edited by KP0005

                        @droftarts
                        My testing has also been done with one pc, one browser tab at a time.

                        Are you using Windows? If yes, our results would be consistent. I don't know how the operating system would make a difference, since both were running chromium, but that is what I've seen...

                        Can you try connecting to it from something like an ubuntu virtual machine? Or a smartphone

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

                          @KP0005 I'm actually on an M2 MacBook Pro, running macOS Ventura v13.6.3, using Firefox v122.0 and Safari 17.2.1. I had reverted to RRF 3.5.0-rc.2, while DWC remained on rc.3. I updated RRF back to rc.3.

                          It seems that it works the first time you update to rc.3, while DWC is in cache. Firefox does have the issue with refreshing the Job list, but Safari does not, and it works correctly - I expect other Webkit browsers will be the same. But if I refresh the page, I get a blank screen on Firefox. On Safari, I get a page that looks like it's missing its CSS:
                          47118a93-f169-441e-9d71-c34d8d41d880-image.png

                          Reverting to rc.2 and it works in both Firefox and Safari, once the page is refreshed. I've passed this on to the team.

                          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

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

                            All, the main change in the network code on the Maestro and Duet 2 Ethernet is that the number of http sockets n 3.5rc3 is fixed at 3 and the number of network responders is also 3. In previous builds the number of network responders was 4, and the number of http sockets was 3 plus an extra 2 if you didn't enable FTP plus an extra 1 if you didn't enable Telnet.

                            I suspect the number of sockets available is more significant than the number of http responders. So I suspect that the same issues will occur using RRF 3.5.0-rc.2 or 3.4.6 if you enable both FTP and Telnet on a Maestro. Can one of you try this out?

                            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

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

                              Ian and I have done some research on this. We have determined that the number of available sockets is critical but the number of HTTP responders isn't.

                              I have put new Duet 2 and Duet Maestro binaries at https://www.dropbox.com/scl/fo/p0136wx04h8xf6ejwdnn9/h?rlkey=efrfwyb6o5tqid11gustz3uvy&dl=0. These provide for additional sockets to be used for HTTP when FTP and/or Telnet protocols are disabled. Ian has reported that this Duet Maestro firmware build resolves the issue he was seeing.

                              If FTP and Telnet are both enabled on Duet 2 Ethernet or Maestro then these issue will return; however I don't believe this is new to the 3.5 firmware series.

                              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

                              KP0005undefined derBruchpilotProundefined 2 Replies Last reply Reply Quote 1
                              • KP0005undefined
                                KP0005 @dc42
                                last edited by KP0005

                                @dc42 I confirm that the new binary does fix the issue for me, thank you!

                                1 Reply Last reply Reply Quote 2
                                • derBruchpilotProundefined
                                  derBruchpilotPro @dc42
                                  last edited by

                                  @dc42 seems to work for me too!

                                  Had also ftp/telnet enabled and strange connection issues.

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

                                    @derBruchpilotPro and @KP0005 thanks for confirming the fix

                                    www.duet3d.com

                                    1 Reply Last reply Reply Quote 0
                                    • T3P3Tonyundefined T3P3Tony marked this topic as a question
                                    • T3P3Tonyundefined T3P3Tony has marked this topic as solved
                                    • droftartsundefined droftarts referenced this topic
                                    • First post
                                      Last post
                                    Unless otherwise noted, all forum content is licensed under CC-BY-SA