Here's a list of all the error codes you may experience with further documentation about why this happens and what to do about it.
Setup and Connectivity
"Invalid Client ID or Redirect URI" or "OS Error while looking up redirect_uri"
home-assistant.log file for any errors about
indieauth. If it also mentions a OS Error, you most likely have a broken IPv6 implementation. You can confirm this by running
curl -v6 https://home-assistant.io/iOS/beta-auth from the machine you run Home Assistant on. If you receive a error about not being able to connect to the server, your IPv6 stack is broken and you should disable it.
This error means that your Home Assistant can't negotiate the encrypted connection to https://home-assistant.io. This issue has been seen on installations running on top of MacOS where the installer notice about certificates was skipped and ignored. From the Python 3.7.5 ReadMe:
Certificate verification and OpenSSL This package includes its own private copy of OpenSSL 1.1.1. The trust certificates in system and user keychains managed by the Keychain Access application and the security command line utility are not used as defaults by the Python
sslmodule. A sample command script is included in
/Applications/Python 3.7to install a curated bundle of default root certificates from the third-party certifi package (https://pypi.org/project/certifi/). Double-click on
Install Certificatesto run it. The bundled pip has its own default certificate store for verifying download connections.
"Setup failed for dependencies:
This error is usually caused by one of the two following issues:
- You are running two Home Assistant instances with identical names. The solution is to rename one of them.
- You are missing
configuration.yamlfile. It is possible to only add
default_config:will add several useful integrations along with