DWC is logging out upon computer sleeping
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?
What DWC version? I assume you have a password set on the Duet?
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
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
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.
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
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.
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.
Is there a workaround to keep the machine password protected and not have this happen?
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.
@chrishamm Ok, I will do this and report back! Thanks