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

Multiple DWC 2.1.4 Browser Tabs at Once - Drop Outs

Scheduled Pinned Locked Moved
Duet Web Control
7
18
495
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.
  • undefined
    DocTrucker
    last edited by DocTrucker 9 Apr 2020, 07:58

    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?

    Running 3 P3Steel with Duet 2. Duet 3 on the shelf looking for a suitable machine. One first generation Duet in a Logo/Turtle style robot!

    1 Reply Last reply Reply Quote 0
    • undefined
      chrishamm administrators
      last edited by 9 Apr 2020, 09:00

      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

      undefined 1 Reply Last reply 9 Apr 2020, 09:52 Reply Quote 0
      • undefined
        DocTrucker @chrishamm
        last edited by DocTrucker 4 Sept 2020, 09:53 9 Apr 2020, 09:52

        @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.

        Running 3 P3Steel with Duet 2. Duet 3 on the shelf looking for a suitable machine. One first generation Duet in a Logo/Turtle style robot!

        undefined 1 Reply Last reply 9 Apr 2020, 09:58 Reply Quote 0
        • undefined
          jay_s_uk @DocTrucker
          last edited by 9 Apr 2020, 09:58

          @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

          undefined 1 Reply Last reply 9 Apr 2020, 11:33 Reply Quote 0
          • ?
            A Former User
            last edited by 9 Apr 2020, 10:08

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

            undefined 1 Reply Last reply 9 Apr 2020, 11:33 Reply Quote 0
            • undefined
              DocTrucker @jay_s_uk
              last edited by 9 Apr 2020, 11:33

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

              Running 3 P3Steel with Duet 2. Duet 3 on the shelf looking for a suitable machine. One first generation Duet in a Logo/Turtle style robot!

              1 Reply Last reply Reply Quote 0
              • undefined
                DocTrucker @A Former User
                last edited by 9 Apr 2020, 11:33

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

                Running 3 P3Steel with Duet 2. Duet 3 on the shelf looking for a suitable machine. One first generation Duet in a Logo/Turtle style robot!

                undefined 1 Reply Last reply 9 Apr 2020, 12:36 Reply Quote 0
                • undefined
                  mwolter @DocTrucker
                  last edited by 9 Apr 2020, 12:36

                  @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
                  • undefined
                    DocTrucker
                    last edited by 9 Apr 2020, 15:25

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

                    I'll try another browser.

                    Running 3 P3Steel with Duet 2. Duet 3 on the shelf looking for a suitable machine. One first generation Duet in a Logo/Turtle style robot!

                    1 Reply Last reply Reply Quote 0
                    • undefined
                      DocTrucker
                      last edited by DocTrucker 23 Apr 2020, 05:24

                      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.

                      Running 3 P3Steel with Duet 2. Duet 3 on the shelf looking for a suitable machine. One first generation Duet in a Logo/Turtle style robot!

                      1 Reply Last reply Reply Quote 0
                      • undefined
                        DocTrucker
                        last edited by DocTrucker 23 Apr 2020, 06:07

                        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.

                        Running 3 P3Steel with Duet 2. Duet 3 on the shelf looking for a suitable machine. One first generation Duet in a Logo/Turtle style robot!

                        1 Reply Last reply Reply Quote 0
                        • undefined
                          DocTrucker
                          last edited by 23 Apr 2020, 08:23

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

                          Running 3 P3Steel with Duet 2. Duet 3 on the shelf looking for a suitable machine. One first generation Duet in a Logo/Turtle style robot!

                          undefined 1 Reply Last reply 23 Apr 2020, 08:30 Reply Quote 0
                          • undefined
                            droftarts administrators @DocTrucker
                            last edited by 23 Apr 2020, 08:30

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

                            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

                            undefined 1 Reply Last reply 23 Apr 2020, 09:27 Reply Quote 0
                            • undefined
                              DocTrucker
                              last edited by 23 Apr 2020, 08:50

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

                              Running 3 P3Steel with Duet 2. Duet 3 on the shelf looking for a suitable machine. One first generation Duet in a Logo/Turtle style robot!

                              1 Reply Last reply Reply Quote 0
                              • undefined
                                DocTrucker @droftarts
                                last edited by DocTrucker 23 Apr 2020, 09:27

                                @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.

                                Running 3 P3Steel with Duet 2. Duet 3 on the shelf looking for a suitable machine. One first generation Duet in a Logo/Turtle style robot!

                                dc42undefined 1 Reply Last reply 23 Apr 2020, 12:43 Reply Quote 0
                                • dc42undefined
                                  dc42 administrators @DocTrucker
                                  last edited by dc42 23 Apr 2020, 12:43

                                  @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

                                  undefined 1 Reply Last reply 23 Apr 2020, 12:55 Reply Quote 0
                                  • undefined
                                    DocTrucker @dc42
                                    last edited by 23 Apr 2020, 12:55

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

                                    Running 3 P3Steel with Duet 2. Duet 3 on the shelf looking for a suitable machine. One first generation Duet in a Logo/Turtle style robot!

                                    1 Reply Last reply Reply Quote 0
                                    • undefined
                                      DocTrucker
                                      last edited by 27 Apr 2020, 05:07

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

                                      Running 3 P3Steel with Duet 2. Duet 3 on the shelf looking for a suitable machine. One first generation Duet in a Logo/Turtle style robot!

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