Add note to Guide for UPS polling interval
I am on the latest 11.2 snapshot and /var/log/debug.log has following error being spammed every 2 seconds:
I changed the password but the issue is still there.
May 30 23:34:00 nas uwsgi: [services.forms:1349] Failed to decrypt UPS mon password Traceback (most recent call last): File "./freenasUI/services/models.py", line 1347, in __init__ self.ups_monpwd = notifier().pwenc_decrypt(self.ups_monpwd) File "./freenasUI/middleware/notifier.py", line 3246, in pwenc_decrypt encrypted = base64.b64decode(encrypted) File "/usr/local/lib/python3.6/base64.py", line 87, in b64decode return binascii.a2b_base64(s) binascii.Error: Incorrect padding May 30 23:34:01 nas usbhid-ups: libusb_get_interrupt: Unknown error May 30 23:34:15 nas usbhid-ups: libusb_get_interrupt: Unknown error May 30 23:34:21 nas usbhid-ups: libusb_get_interrupt: Unknown error May 30 23:34:36 nas usbhid-ups: libusb_get_interrupt: Unknown error
#5 Updated by William Grzybowski over 2 years ago
- Category changed from OS to Middleware
- Status changed from Unscreened to Closed
- Target version changed from Backlog to N/A
- Reason for Closing set to Third Party to Resolve
"Failed to decrypt UPS mon password" can be fixed by re-entering your UPS password in services config page.
"libusb_get_interrupt: Unknown error" is some error from the "nut" software, which is not for us to fix. Its possible its very related to your UPS so there isnt much we can do ourselves here.
#10 Updated by nood lehead over 2 years ago
I was reading: https://networkupstools.org/docs/man/usbhid-ups.html
The messages went away after setting pollinterval to 10
Some models tends to be unresponsive with the default polling frequency. The result is that your system log will have lots of messages like: usb 2-1: control timeout on ep0in usb 2-1: usbfs: USBDEVFS_CONTROL failed cmd usbhid-ups rqt 128 rq 6 len 256 ret -110 In this case, simply modify the general parameter "pollinterval" to a higher value (like 10 for 10 seconds). This should solve the issue.
#11 Updated by Dru Lavigne over 2 years ago
- Category changed from Middleware to Documentation
- Status changed from Closed to Unscreened
- Assignee changed from William Grzybowski to Warren Block
- Target version changed from N/A to 11.2-RC2
- Severity changed from New to Low
Thanks for the update. We'll add a note to the Guide.