Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    Multiple DWC 2.1.4 Browser Tabs at Once - Drop Outs

    Duet Web Control
    7
    18
    168
    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.
    • DocTrucker
      DocTrucker last edited by DocTrucker

      Edit: Upgraded all machines to DWC 2.1.4. Still HTTP timeouts and loss of connection.

      Hi all. Running 2.0.7 on a mix of Duet v0.6 and v0.8.5. Tried to have four DWC pages open on Firefox (Ubuntu 18, recently updated) and the connections are really sketchy. Connect to one at a time with them all still running and all is fine.

      Is this a known issue? Since one at a time is fine I'm assuming this is a problem on my computer (ie DWC) rather than the machines?

      Alive: 1 Ormerodish machines. 1 Custom Cantilever. 3 P3Steel. 1 Ciclopish scanner. In build: 1 P3Steel. Controllers: 2 Duet 2 , 2 D0.6, 1 D0.8.5, 1 D3 v0.5, 1 RAMPS/DRV8825, 1 Uno/Scan Card.

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

        Yes, it is a known issue and a limitation in RepRapFirmware. You may not see G-code replies in all four sessions because RRF keeps G-code replies per IP address and if it was already sent, it just returns an empty one. Hence multiple sessions from the same IP address should be avoided.

        In general it's fine to have 2-3 sessions running but each on a different device.

        Duet software engineer

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

          @chrishamm I meant I had 4 duets running, all talking to a single device - my desktop. If I have four tabs open in Firefox tab aimed at a unique Duet there are lots of drop outs. If I only have one tab open at a time it is fine.

          Alive: 1 Ormerodish machines. 1 Custom Cantilever. 3 P3Steel. 1 Ciclopish scanner. In build: 1 P3Steel. Controllers: 2 Duet 2 , 2 D0.6, 1 D0.8.5, 1 D3 v0.5, 1 RAMPS/DRV8825, 1 Uno/Scan Card.

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

            @DocTrucker
            that'll probably be down to the way firefox is handling the tabs, not DWC

            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

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

              Does firefox manage to keep two running if you have one in a private session or what firefox calls it?

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

                @jay_s_uk even on a active tab? Connection drop outs aren't just happening when the tab isn't up front.

                Alive: 1 Ormerodish machines. 1 Custom Cantilever. 3 P3Steel. 1 Ciclopish scanner. In build: 1 P3Steel. Controllers: 2 Duet 2 , 2 D0.6, 1 D0.8.5, 1 D3 v0.5, 1 RAMPS/DRV8825, 1 Uno/Scan Card.

                1 Reply Last reply Reply Quote 0
                • DocTrucker
                  DocTrucker @Guest last edited by

                  @bearer good idea. Will try that, and also go old school with seperate windows.

                  Alive: 1 Ormerodish machines. 1 Custom Cantilever. 3 P3Steel. 1 Ciclopish scanner. In build: 1 P3Steel. Controllers: 2 Duet 2 , 2 D0.6, 1 D0.8.5, 1 D3 v0.5, 1 RAMPS/DRV8825, 1 Uno/Scan Card.

                  mwolter 1 Reply Last reply Reply Quote 0
                  • mwolter
                    mwolter @DocTrucker last edited by

                    @DocTrucker Recommend trying Chrome. I’ve had good luck with It and 2.07. Had many weird disconnection issues with Safari and since switching to Chrome it has been much more stable.

                    1 Reply Last reply Reply Quote 0
                    • DocTrucker
                      DocTrucker last edited by

                      Multiple browsers or private windows have no effect. Perhap https would be better to the DWC?

                      I'll try another browser.

                      Alive: 1 Ormerodish machines. 1 Custom Cantilever. 3 P3Steel. 1 Ciclopish scanner. In build: 1 P3Steel. Controllers: 2 Duet 2 , 2 D0.6, 1 D0.8.5, 1 D3 v0.5, 1 RAMPS/DRV8825, 1 Uno/Scan Card.

                      1 Reply Last reply Reply Quote 0
                      • DocTrucker
                        DocTrucker last edited by DocTrucker

                        Tried Chromium, Chrome, Iridium, Firefox.

                        Private modes, separate windows.

                        All crap with four DWC windows open at the same time.

                        Connections may be made, but that can't be held.

                        Edit: +Opera

                        I think this confirms it is either a network issue or duet/DWC issue. All machines are stable on their own. The network is a subnet on my private network. I have a router that hooks into my home network, and all machines connect directly to that, or a network switch that is also connected to the router.

                        Alive: 1 Ormerodish machines. 1 Custom Cantilever. 3 P3Steel. 1 Ciclopish scanner. In build: 1 P3Steel. Controllers: 2 Duet 2 , 2 D0.6, 1 D0.8.5, 1 D3 v0.5, 1 RAMPS/DRV8825, 1 Uno/Scan Card.

                        1 Reply Last reply Reply Quote 0
                        • DocTrucker
                          DocTrucker last edited by DocTrucker

                          Just tried a different patch lead between my sub-net switch and sub-net router. No improvement. All other internet including an Octopi and streaming radio works fine. The subnet is because the connection to internet is sketchy and it allows me to maintain connection to my machines if the connection to the main house router fails.

                          Is there any way to run DWC on HTTPS?

                          Edit: Rolling out 2.1.4 on RRF1 on all of the problem Machines. It's working fine. Should also say all machines are static IP Adresses, no IP address clashes, and outside of the range the router allocates DHCP addresses.

                          Alive: 1 Ormerodish machines. 1 Custom Cantilever. 3 P3Steel. 1 Ciclopish scanner. In build: 1 P3Steel. Controllers: 2 Duet 2 , 2 D0.6, 1 D0.8.5, 1 D3 v0.5, 1 RAMPS/DRV8825, 1 Uno/Scan Card.

                          1 Reply Last reply Reply Quote 0
                          • DocTrucker
                            DocTrucker last edited by

                            All machines up graded to 2.1.4. No improvement in the drop-out issue.

                            Alive: 1 Ormerodish machines. 1 Custom Cantilever. 3 P3Steel. 1 Ciclopish scanner. In build: 1 P3Steel. Controllers: 2 Duet 2 , 2 D0.6, 1 D0.8.5, 1 D3 v0.5, 1 RAMPS/DRV8825, 1 Uno/Scan Card.

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

                              @DocTrucker do they all have the same MAC address?! That was sometimes an issue with the old Duets.

                              Ian

                              Cartesian bed-slinger with Duet 3 Mini 5+ WiFi : RRP Fisher Delta v1 with Duet 2 Maestro : TronXY X5S with Duet 2 Wifi (in progress)

                              DocTrucker 1 Reply Last reply Reply Quote 0
                              • DocTrucker
                                DocTrucker last edited by

                                I think they are different. Thanks for the heads up, I will check.

                                Alive: 1 Ormerodish machines. 1 Custom Cantilever. 3 P3Steel. 1 Ciclopish scanner. In build: 1 P3Steel. Controllers: 2 Duet 2 , 2 D0.6, 1 D0.8.5, 1 D3 v0.5, 1 RAMPS/DRV8825, 1 Uno/Scan Card.

                                1 Reply Last reply Reply Quote 0
                                • DocTrucker
                                  DocTrucker @droftarts last edited by DocTrucker

                                  @droftarts there was a clash with two machines sharing a MAC address, thanks that looks promising. Although the fault finding did prompt me to try a version of DWC that I thought wasn't compatible, and it's working fine so a minor plus out of my balls up!

                                  It's still miss-behaving at the moment but I know which two machines to avoid having up at the same time. At the end of the days prints I will reset them all and the router + switch too before giving a verdict. At the moment it's still misbehaving but I'm guessing the board or router may need a reset.

                                  I had asigned unique MAC addresses to all machines but obviously hadn't finished setting up this machine.

                                  Alive: 1 Ormerodish machines. 1 Custom Cantilever. 3 P3Steel. 1 Ciclopish scanner. In build: 1 P3Steel. Controllers: 2 Duet 2 , 2 D0.6, 1 D0.8.5, 1 D3 v0.5, 1 RAMPS/DRV8825, 1 Uno/Scan Card.

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

                                    @DocTrucker said in Multiple DWC 2.1.4 Browser Tabs at Once - Drop Outs:

                                    I had asigned unique MAC addresses to all machines but obviously hadn't finished setting up this machine.

                                    Unless you are using older Duets (0.6 and 0.8.5 versions), it's not normally necessary to configure the MAC addresses, because for more recent boards RRF generates a default MAC address from the unique ID of the chip. There is only a small possibility that two Duets will have the same MAC address.

                                    EDIT - I see from your original post that you are indeed running older Duets.

                                    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

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

                                      @dc42 worth knowing though, thanks. Should the MAC address change instantly with M540, or only after a reset?

                                      Alive: 1 Ormerodish machines. 1 Custom Cantilever. 3 P3Steel. 1 Ciclopish scanner. In build: 1 P3Steel. Controllers: 2 Duet 2 , 2 D0.6, 1 D0.8.5, 1 D3 v0.5, 1 RAMPS/DRV8825, 1 Uno/Scan Card.

                                      1 Reply Last reply Reply Quote 0
                                      • DocTrucker
                                        DocTrucker last edited by

                                        All sorted now. Thanks. User error... 🙂

                                        Alive: 1 Ormerodish machines. 1 Custom Cantilever. 3 P3Steel. 1 Ciclopish scanner. In build: 1 P3Steel. Controllers: 2 Duet 2 , 2 D0.6, 1 D0.8.5, 1 D3 v0.5, 1 RAMPS/DRV8825, 1 Uno/Scan Card.

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