Closed
Description
Im using NUT server on Tomato firmware router. Last working version was v2.2.8690. After that WinNut gets data for a second then recconects in a loop.
5.12. 2023 21:50:22 [27356, Logger]: Windows NUT Client 2.2.8719.24624 Log file init
==== History of 200 previous events ====
[1] 5. 12. 2023 21:50:07 [27356, WinNUT]: Battery Status => Unknown
[2] 5. 12. 2023 21:50:07 [27356, WinNUT]: Disconnected from Nut Host
[3] 5. 12. 2023 21:50:07 [27356, String]: New Log to CB_Current Log : Disconnected from Nut Host
[4] 5. 12. 2023 21:50:07 [27356, UPS_Device]: Socket has reported a Broken event.
[5] 5. 12. 2023 21:50:07 [27356, WinNUT]: Notify user of lost connection
[6] 5. 12. 2023 21:50:07 [27356, String]: New Log to CB_Current Log : Lost Connect To 192.168.1.1:3493
[7] 5. 12. 2023 21:50:07 [27356, WinNUT]: Update all informations displayed to empty values
[8] 5. 12. 2023 21:50:07 [27356, WinNUT]: Status Icon Changed
[9] 5. 12. 2023 21:50:07 [27356, WinNUT]: New Icon Value For Systray : 1344
[10] 5. 12. 2023 21:50:07 [27356, WinNUT]: New Icon Value For Gui : 1344
[11] 5. 12. 2023 21:50:07 [27356, WinNUT]: NotifyIcon Text =>
WinNUT Client - 2.2
Lost Connect To 192.168.1.1:3493
[12] 5. 12. 2023 21:50:07 [27356, WinNUT]: Battery Status => Unknown
[13] 5. 12. 2023 21:50:07 [27356, WinNUT]: Update Icon
[14] 5. 12. 2023 21:50:07 [27356, UPS_Device]: Reconnection Process Started
[15] 5. 12. 2023 21:50:12 [27356, Pref_Gui]: Setting LogControl statuses.
[16] 5. 12. 2023 21:50:12 [27356, WinNUT]: NotifyIcon Text =>
WinNUT Client - 2.2
Reconnection In Progress
Try 1 of 30
[17] 5. 12. 2023 21:50:12 [27356, WinNUT]: Update Icon
[18] 5. 12. 2023 21:50:12 [27356, UPS_Device]: Try Reconnect 1 / 30
[19] 5. 12. 2023 21:50:12 [27356, String]: New Log to CB_Current Log : Try Reconnect 1 / 30
[20] 5. 12. 2023 21:50:12 [27356, UPS_Device]: Beginning connection: qnap@192.168.1.1:3493, Name: qnapups [AutoReconnect]
[21] 5. 12. 2023 21:50:12 [27356, Nut_Socket]: Attempting TCP socket connection to 192.168.1.1:3493...
[22] 5. 12. 2023 21:50:12 [27356, Nut_Socket]: Connection established and streams ready for 192.168.1.1:3493
[23] 5. 12. 2023 21:50:12 [27356, Nut_Socket]: Attempting authentication...
[24] 5. 12. 2023 21:50:12 [27356, Nut_Socket]: Error while attempting to log in: INVALIDARGUMENT (ERR INVALID-ARGUMENT)
Query: LOGIN
[25] 5. 12. 2023 21:50:12 [27356, Nut_Socket]: NUT server reports VER: 2.8.0 NETVER:
[26] 5. 12. 2023 21:50:12 [27356, UPS_Device]: ups.realpower is not supported by server.
[27] 5. 12. 2023 21:50:12 [27356, UPS_Device]: Unhandled error while getting ups.realpower
[28] 5. 12. 2023 21:50:12 [27356, UPS_Device]: Using NominalPowerCalc method to calculate power usage.
[29] 5. 12. 2023 21:50:12 [27356, UPS_Device]: battery.capacity is not supported by server.
[30] 5. 12. 2023 21:50:12 [27356, UPS_Device]: Apply Fallback Value when retrieving battery.capacity
[31] 5. 12. 2023 21:50:12 [27356, UPS_Device]: output.frequency.nominal is not supported by server.
[32] 5. 12. 2023 21:50:12 [27356, UPS_Device]: Apply Fallback Value when retrieving output.frequency.nominal
[33] 5. 12. 2023 21:50:12 [27356, WinNUT]: qnapups has indicated it's ready to start sending data.
[34] 5. 12. 2023 21:50:12 [27356, WinNUT]: Update Icon
[35] 5. 12. 2023 21:50:12 [27356, WinNUT]: NotifyIcon Text =>
WinNUT Client - 2.2
Connected
[36] 5. 12. 2023 21:50:12 [27356, WinNUT]: Connection to Nut Host Established
[37] 5. 12. 2023 21:50:12 [27356, String]: New Log to CB_Current Log : Connection to Nut Host 192.168.1.1:3493 Established
[38] 5. 12. 2023 21:50:12 [27356, UPS_Device]: Nut Host Reconnected
[39] 5. 12. 2023 21:50:12 [27356, WinNUT]: qnapups has indicated it's ready to start sending data.
[40] 5. 12. 2023 21:50:12 [27356, WinNUT]: Update Icon
[41] 5. 12. 2023 21:50:12 [27356, WinNUT]: NotifyIcon Text =>
WinNUT Client - 2.2
Connected
[42] 5. 12. 2023 21:50:12 [27356, WinNUT]: Connection to Nut Host Established
[43] 5. 12. 2023 21:50:12 [27356, String]: New Log to CB_Current Log : Connection to Nut Host 192.168.1.1:3493 Established
[44] 5. 12. 2023 21:50:13 [27356, UPS_Device]: Enter Retrieve_UPS_Datas
[45] 5. 12. 2023 21:50:13 [27356, UPS_Device]: output.frequency is not supported by server.
[46] 5. 12. 2023 21:50:13 [27356, UPS_Device]: Apply Fallback Value when retrieving output.frequency
[47] 5. 12. 2023 21:50:13 [27356, UPS_Device]: input.frequency is not supported by server.
[48] 5. 12. 2023 21:50:13 [27356, UPS_Device]: Apply Fallback Value when retrieving input.frequency
[49] 5. 12. 2023 21:50:13 [27356, UPS_Device]: output.voltage is not supported by server.
[50] 5. 12. 2023 21:50:13 [27356, UPS_Device]: Apply Fallback Value when retrieving output.voltage
[51] 5. 12. 2023 21:50:13 [27356, UPS_Device]: Something went wrong in Retrieve_UPS_Datas: System.FormatException: Input string was not in a correct format.
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at WinNUT_Client_Common.UPS_Device.GetPowerUsage()
at WinNUT_Client_Common.UPS_Device.Retrieve_UPS_Datas()
[52] 5. 12. 2023 21:50:13 [27356, UPS_Device]: Processing request to disconnect...
[53] 5. 12. 2023 21:50:13 [27356, WinNUT]: Update all informations displayed to empty values
[54] 5. 12. 2023 21:50:13 [27356, WinNUT]: Update Icon
[55] 5. 12. 2023 21:50:13 [27356, WinNUT]: Status Icon Changed
[56] 5. 12. 2023 21:50:13 [27356, WinNUT]: New Icon Value For Systray : 1216
[57] 5. 12. 2023 21:50:13 [27356, WinNUT]: New Icon Value For Gui : 1216
[58] 5. 12. 2023 21:50:13 [27356, WinNUT]: NotifyIcon Text =>
WinNUT Client - 2.2
Not Connected
[59] 5. 12. 2023 21:50:13 [27356, WinNUT]: Battery Status => Unknown
[60] 5. 12. 2023 21:50:13 [27356, WinNUT]: Disconnected from Nut Host
[61] 5. 12. 2023 21:50:13 [27356, String]: New Log to CB_Current Log : Disconnected from Nut Host
[62] 5. 12. 2023 21:50:13 [27356, UPS_Device]: Socket has reported a Broken event.
[63] 5. 12. 2023 21:50:13 [27356, WinNUT]: Notify user of lost connection
[64] 5. 12. 2023 21:50:13 [27356, String]: New Log to CB_Current Log : Lost Connect To 192.168.1.1:3493
[65] 5. 12. 2023 21:50:13 [27356, WinNUT]: Update all informations displayed to empty values
[66] 5. 12. 2023 21:50:13 [27356, WinNUT]: Status Icon Changed
[67] 5. 12. 2023 21:50:13 [27356, WinNUT]: New Icon Value For Systray : 1344
[68] 5. 12. 2023 21:50:13 [27356, WinNUT]: New Icon Value For Gui : 1344
[69] 5. 12. 2023 21:50:13 [27356, WinNUT]: NotifyIcon Text =>
WinNUT Client - 2.2
Lost Connect To 192.168.1.1:3493
[70] 5. 12. 2023 21:50:13 [27356, WinNUT]: Battery Status => Unknown
[71] 5. 12. 2023 21:50:13 [27356, WinNUT]: Update Icon
[72] 5. 12. 2023 21:50:13 [27356, UPS_Device]: Reconnection Process Started
[73] 5. 12. 2023 21:50:18 [27356, WinNUT]: NotifyIcon Text =>
WinNUT Client - 2.2
Reconnection In Progress