Unifi widget - 401 Unauthorized, no matter what I try #2486
Replies: 3 comments 2 replies
-
Have you tried re-creating (not just restarting) the container? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Yes, I also recreated the container. Didn't help unfortunately. Could it be that Unifi OS 3.2.7, which is a release candidate, is not supported yet? Unfortunately there seems no way to downgrade the Unifi OS |
Beta Was this translation helpful? Give feedback.
2 replies
-
This discussion has been automatically locked since there has not been any recent activity after it was closed. Please open a new discussion for related concerns. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Somehow the Unifi widget stopped working a few days or weeks ago and today I tried to fix is, but unfortunately I keep receiving the 401 Unauthorized error. I'm 100% sure I entered the correct credentials.
I tried to execute the following command in Container Manager terminal:
curl -L --insecure -X POST --data-binary '{ "username": "homepage_account", "password": "my_password", "remember": true }' -c cookies.txt --header 'Content-Type: application/json' [https://192.168.1.1:443/api/auth/login](https://192.168.1.1/api/auth/login)
This is the output:
And the output of
curl -i -v -k https://192.168.1.1/
This is the widget's config:
I also tried numerous different links, created new accounts and deleting and recreating the container, but the result is always 401 Unauthorized.
I have a Dream Machine Special Edition
OS Version: V3.2.7
Docker image: ghcr.io/benphelps/homepage:main
I'm pulling my hair out for the last two hours as I can't find the problem with this widget and I'm hoping someone can help me out.
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions