QNAP Widget Intermittent API Error #4623
Replies: 3 comments 1 reply
-
I dont have a QNAP, does the token get returned with an expiration (or is it fixed?)? If we can know when it expires, could set the token to expire from the homepage cache and then prevent even trying any API calls (until getting a new token) if we know its already expired. |
Beta Was this translation helpful? Give feedback.
-
https://eu1.qnap.com/dev/API_QNAP_QTS_Authentication.pdf Maybe this helps? |
Beta Was this translation helpful? Give feedback.
-
I had the same issue, but solved it by creating a separate user (added to admin group) and without 2-step authentication. If user has 2-step authentication, you will not be able to log in without adding OTP (widget cannot do it) and without admin privileges, API cannot access needed data. Probably there is a possibility for this account to be a regular user, with some additional privileges, but I didn't check it. Probably, it would be good to add OTP key generation based OTP token, but I think this should be relevant also to other services like Unifi, etc. |
Beta Was this translation helpful? Give feedback.
-
Description
I have been able to configure the QNAP widget and it displays correctly on the homepage, but it occassionally throws an error and then goes back to working on its own.
homepage version
V0.10.9
Installation method
Docker
Configuration
Container Logs
Browser Logs
No response
Troubleshooting
Beta Was this translation helpful? Give feedback.
All reactions