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

    DWC is logging out upon computer sleeping

    Scheduled Pinned Locked Moved
    Duet Web Control
    4
    11
    455
    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.
    • Topherundefined
      Topher
      last edited by

      Hey guys, this has been a long time issue that Ive just been dealing with. Im sure there is a simple solution so feel free to drop a link if this is already covered which I had no luck finding.

      We have an extra wide monitor with all of our printer instances open in their own windows (24 instances on each desk top - mac 2020 mini 64gb of ram). my problem has been when the computer goes to sleep at night, in the morning all the pages require me to refresh the pages then re enter the login credentials. This also happens if the screen saver comes on, too. If I bring an ipad to a printer and use the ftp ip for DWC lets say in safari, if I swipe to maybe note pad or something and back to the DWC, same thing, I have to refresh and log in again. Is it a browser setting or something causing security to trigger in DWC?

      Thanks guys

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

        What DWC version? I assume you have a password set on the Duet?

        Z-Bot CoreXY Build | Thingiverse Profile

        1 Reply Last reply Reply Quote 0
        • Topherundefined
          Topher
          last edited by

          I think 90% of my printers will have these settings but also some are pretty old and havent been touched in a year or more but all have the same issue:

          Duet 2 WiFi/Ethernet 3.1.1 (2020-05-19b2)
          Duet WiFi Server Version: 1.23

          config.g
          ; Network
          M551 P"*******" ; set password
          M586 P0 S1 ; enable HTTP
          M586 P1 S0 ; disable FTP
          M586 P2 S0 ; disable Telnet
          M552 S1 ; Turn wifi module back on

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

            Thanks. @chrishamm would be able to tell you the expected behaviour. I don't run with a password set so I can't say I've ever noticed that.

            Z-Bot CoreXY Build | Thingiverse Profile

            1 Reply Last reply Reply Quote 0
            • Topherundefined
              Topher
              last edited by

              I thought about disabling the password but we just have so many printers on line that if someone managed to access them they could probably burn the building down a country away lol. If it came down to it, Ill get a few new access points and run them on an off line server. I was hoping for a easy fix because I generally assume I've done something wrong because I'm a machinist lmao

              1 Reply Last reply Reply Quote 0
              • Topherundefined
                Topher
                last edited by

                weird thing I just discovered, it seems like it is on the device end. If I have my computer DWC tab open and logged in then login with my ipad at the same time then swipe to another application on the ipad and back, the ipad will make me login again but the computer browser stays logged in and functional.

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

                  @LeckieTech said in DWC is logging out upon computer sleeping:

                  my problem has been when the computer goes to sleep at night, in the morning all the pages require me to refresh the pages then re enter the login credentials

                  If you have to refresh the page (i.e. reload the web page) then that counts as a new session, and you will need to enter the password again.

                  If the computer goes to sleep but when it wakes up you don't need to reload the web page, then the session to the Duet will have been lost; but DWC will automatically try the password that you entered previously, so you won't need to re-enter 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

                  1 Reply Last reply Reply Quote 0
                  • Topherundefined
                    Topher
                    last edited by

                    Is there a workaround to keep the machine password protected and not have this happen?

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

                      @LeckieTech said in DWC is logging out upon computer sleeping:

                      Is there a workaround to keep the machine password protected and not have this happen?

                      No, the problem is your device needing you to reload the page.

                      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

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

                        Please upgrade RRF and DWC to 3.2.2 and check if that resolves the issue. I remember fixing at least one related problem after v3.1.1.

                        Duet software engineer

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

                          @chrishamm Ok, I will do this and report back! Thanks

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