Skip to content
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

The text must be shorter than 64 characters Error #81

Open
julianx03 opened this issue May 8, 2021 · 2 comments
Open

The text must be shorter than 64 characters Error #81

julianx03 opened this issue May 8, 2021 · 2 comments

Comments

@julianx03
Copy link

julianx03 commented May 8, 2021

Hello

Everytime my ups go into battery mode, the nut client shows me that error message and disconnects from the server:

[Id 3: 08.05.2021 12:57:01] Verbindung zum Nut Host IP-Addresse: 3493 fehlgeschlagen: Der Text muss kürzer als 64 Zeichen sein.
Parametername: Text
Der tatsächliche Wert war WinNUT - 2.0
In Verbindung gebracht
Online

Translation:

[Id 3: 08.05.2021 12:57:01] Connection to Nut Host IP address: 3493 failed: The text must be shorter than 64 characters.
Parameter name: Text
The actual value was WinNUT - 2.0
Connected
Online

What is the Problem?

@thenktor
Copy link

thenktor commented Jun 8, 2021

Same error here, but it appears always, not only in battery mode.

Exception type: System.ArgumentOutOfRangeException
Exception message: Der Text muss kürzer als 64 Zeichen sein.
Parametername: Text
Der tatsächliche Wert war WinNUT-Client - 2.1
In Verbindung gebracht
Online
Batterie OK.
Exception stack trace: 
   bei System.Windows.Forms.NotifyIcon.set_Text(String value)
   bei WinNUT_Client.WinNUT.Event_UpdateNotifyIconStr(String Reason, String Message)
   bei WinNUT_Client.WinNUT.Update_UPS_Data()
   bei WinNUT_Client.WinNUT.Retrieve_UPS_Datas(Object sender, EventArgs e)
   bei System.Windows.Forms.Timer.OnTick(EventArgs e)
   bei System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
   bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

@gbakeman
Copy link
Contributor

gbakeman commented Aug 7, 2022

To everyone following this, please follow our latest issue at nutdotnet/WinNUT-Client#5, there's a new pre-release that should fix this. Please provide your feedback there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants