-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
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
Cannot Log in to UniFi Protect After Migrating to UCG-Max #137433
Comments
Hey there @RaHehl, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) unifiprotect documentation |
Hey, i've got the same issue after upgrading to HA 2025.02. Unfortunatelly theres nothing in the Logs anywhere. Unifi Protect: 5.2.49 |
GET https://192.168.1.1:443/proxy/protect/api/bootstrap → Returns an HTTP 302 redirect instead of JSON. |
In my Case GET https://uckp.home.local/proxy/protect/api/bootstrap returns JSON |
When I access it directly it returns a json but when I was trying to do a request to the api using postman I always got auth problems. I'll try again later today and report back. |
@RaHehl Not sure if anything was changed on your end, but after updating to HAOS 2025.2.0 the issue is now resolved! I used the same credentials and everything worked perfectly. Really appreciate the quick response and your help. Thank you! |
The problem
I am unable to log in to the UniFi Protect integration after migrating from a Cloud Key to a UCG-Max. When trying to set up the integration in Home Assistant, I get the error:
There are no clear logs explaining why authentication fails.
What I Have Tried
https://192.168.1.1:443/protect
.https://192.168.1.1:443/proxy/protect/api/bootstrap
→ Returns an HTTP 302 redirect instead of JSON.https://192.168.1.1:443/api/auth/login
→ Returns401 Unauthorized
even though the credentials are correct.Home Assistant Version
UniFi Protect Setup
Any guidance on resolving this would be appreciated. Thanks!
What version of Home Assistant Core has the issue?
core-2025.1.4
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
unifiprotect
Link to integration documentation on our website
https://www.home-assistant.io/integrations/unifiprotect/
Diagnostics information
No response
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
The text was updated successfully, but these errors were encountered: