core: 404 Error - Unable to set up integration
The problem
Unable to set up Unify Network integration as unable to log in. Logs show a 404 error
What version of Home Assistant Core has the issue?
2022.9.4
What was the last working version of Home Assistant Core?
None
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Unifi Network
Link to integration documentation on our website
https://www.home-assistant.io/integrations/unifi
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Logger: homeassistant.components.unifi
Source: components/unifi/controller.py:515
Integration: UniFi Network (documentation, issues)
First occurred: 17:57:54 (8 occurrences)
Last logged: 18:04:38
Error connecting to the UniFi Network at xxxxxxxx-CK-Gen2-Plus.local: Call https://xxxxxxxx-CK-Gen2-Plus.local:443/api/auth/login received 404 Not Found
Error connecting to the UniFi Network at xxxxxxxx-CK-Gen2-Plus.local: Call https://xxxxxxxx-CK-Gen2-Plus.local:8443 received 404 Not Found
Error connecting to the UniFi Network at unifi.local: Error requesting data from unifi.local: Cannot connect to host unifi.local:443 ssl:default [Try again]
Additional information
No response
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 32 (11 by maintainers)
Glad that it was helpful! I’ve seen so many bad bug reports in my life, that I try to do better myself 😃 You’re right about the versions. I had to update the Cloud Key firmware, because I wasn’t on Unify OS before. And as they removed user management from the Network app (which I had updated) and moved it to the OS, I had to update the firmware to be able to create an additional user for HA use.
My current versions are
UniFi-CloudKey-Gen2-Plus Firmware 2.1.11
Network Version 7.2.95
Thanks for the deep dive! I will look into it shortly 😃