gawindx / WinNUT-Client

This is a NUT windows client for monitoring your ups hooked up to your favorite linux server.
GNU General Public License v3.0
403 stars 70 forks source link

Will not re-establish connection after sleep mode Windows 11 #132

Open conman33158 opened 2 years ago

conman33158 commented 2 years ago

Hi all, I’m getting the following on Windows 11, the WinNUT program will not reconnect after switching on after sleep mode even though the “re-establish connection” box in ticked in the connection settings.

[Id 2: 08/04/2022 11:25:56] Windows standby. WinNUT will disconnect. [Id 3: 08/04/2022 11:26:16] Restarting WinNUT after waking up from Windows. [Id 4: 08/04/2022 11:26:37] Connection to Nut Host 192.168.0.55:3493 Failed: Connection Error

I manually have to go to connection and hit “reconnect”

Any fix for this or is there something I'm missing? By the way, love the program 👍

UPDATE

It’s ok guys, got it sorted, I was using the “Pre-release” version v2.1.7740.35837 instead on the "latest version" v2.0.7722.30975 and it’s working fine, just takes about 30 seconds after Windows wakes up from sleep and re-establishes the connection fine.

All is good now 💯

gbakeman commented 2 years ago

I was going to say that this is a duplicate of #88 , but are you saying that bug was introduced between the stable and pre-release versions?

conman33158 commented 2 years ago

Yes my friend, exactly as above. I totally un-installed the pre-release version and removed from windows registry etc and then reboot the PC, after the install of "latest version" v2.0.7722.30975 it worked no problem. When windows awoke from sleep the connection was re-established between 15-30 seconds and has been flawless 3 days so far 👍