-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auto reconnect feature stops on error when started for the first time #104
Comments
Does it appear that WinNUT is still trying to connect automatically when you start it, or is it not even doing that? Could you please try the following steps:
Then upload the last log file by opening the folder (found in the options menu in the miscellaneous tab) and clicking and dragging the file into the GitHub message box. |
its doing nothing. if i close then run again its OK. |
Let me have you do this then: in the miscellaneous tab, set the logging level to Debug, make sure logging is enabled, then click ok and exit WinNUT. Then restart your computer, and allow WinNUT a small amount of time to try to connect. After that, please find the log file and upload it here. Edit: I also see your bug about WinNUT not closing - if it stops, go ahead and force close it after waiting about 5 seconds. |
Strange , but this time after reboot its connected. |
WinNUT currently saves settings in the user registry hive (another issue to track moving this into a file is #100 ), so I wonder if starting it with administrative privileges is causing it to work with two different sets of settings. WinNUT is designed to be run as a standard user (non-administrator) only so please make sure it isn't running as admin. The login routine is a bit of a curious one with the NUT software and one I don't understand completely. I believe it's intended to tell NUT that you're depending on a UPS for power, so you don't actually need to login in order to read UPS data which is what people do 99% of the time anyways. I think this also gets confused with the Synology server which requires an I.P whitelist in order to connect or read any data from the UPS. All of this to say, WinNUT probably shouldn't have to login at all so I may need to look into that (edit: see #106) Thank you for offering the continue testing this issue. If I could ask you in the future, please upload the log file by dragging it directly into the issue so the entire text file is uploaded (or paste it in a code block.) That will be easier for me to work with than a picture :) |
i only enabled checked and then disabled , i saw no difference only when i enabled programs dpi :
i will be glad to help from what i can. im using NUT plugin in Unraid server. |
Thank you - please double check that the WinNUT settings are correct, then try another reboot with admin and DPI settings disabled. |
Yes I disabled them after checked how it work with it, I will check again at morning boot tomorrow and will let know |
Sending the log as at morning was no auto reconnection when was no internet on boot.
|
i checked ,if i disable inet when app is running , then auto reconnect is working until i enabled inet and all OK. |
in 17:19 i booted win also no connection ,when i reconnect manually, norton popup, hoverer i excluded WinNut:
|
Hello, I am new to WinNut. I am facing a similar issue where after a shutdown, after the UPS shuts down and powers back up, my Windows machine boots faster than my router, and faster than the machine running the NUT server. When Winnut starts and finds no network, it just appear to cease to try (because the requested IP is unreachable). I am not even sure it goes through the 30 connection attempts. In any case, it does not always happen but when it does, it takes a manual reconnect. I would suggest increasing the number of connection attempts, or to make it configurable (up to infinite reconnect attempts). Thanks! |
As no answer from developer until now, I can suggest to use old original version 2.0, it's have auto reconnect on boot. |
Until it will be fixed here... |
Thanks for the feedback. I did think of delaying the start of WinNUT (by 30-60 seconds, should be enough) but I have not figured out how yet. Thank you for suggesting Reg Organizer, I did not know about it, however I would personnally prefer not having to use a third-party solution for this. |
Hi all, Sorry for disappearing, I had some other things come up. I am able to reproduce the issue on my machine so let me see if I can have a debug build up for you. |
This ended up being a very simple fix. I forgot I had disabled the auto-retry function, but only when WinNUT starts for the first time. Sorry for the trouble, everyone. Please try the debug artifact here if you want (and please confirm here if it is indeed fixed), otherwise I'll try to get a few other fixes done before I push out another pre-release. Thanks for your patience! |
Well, that was quick, thanks! |
Hi @UltrashRicco , This is considered normal behavior for the auto-reconnection routine, at least when WinNUT is unable to make a connection to the server. Were you expecting a different behavior? |
Hi! I understand, thank you. |
Good point, we currently do not allow configuration of the reconnection attempts. You may want to follow #65 since I think that may address your concerns. |
No worries at all, thank you for providing the feedback. |
When windows bootted no connection , becouse i think no internet connection on windows start.
but setting reconnect is not working (5 sec).
When make reconnect manual, all working.
Maybe somehow blocked by Norton Antivir but included in exclude list
The text was updated successfully, but these errors were encountered: