#OAuth failing: SSLError "certificate verify failed"

1 messages · Page 1 of 1 (latest)

strong bison
#

Spotcast worked for years but stopped a year ago. I’ve been unable to authenticate it or SpotifyPlus since.

Despite the SpotifyPlus dev's help, we’re stuck. It appears to be a network/SSL handshake failure in HA’s Python environment reaching the Spotify API. The login page loads, but finalising OAuth fails with certificate verify failed (logs attached).

**System: **HAOS 16.3 (NUC), Core 2025.12.5. Ext: Nabu Casa. Int: http://192.168.1.10:8123. Router: BT Smart Hub 2.

Tried (suspected MITM/DNS):

  • Time: Synced (checked {{ now() }}).

  • NPM: HA not behind it, but stopped add-on anyway. Failed.

  • AdGuard: Disabled. Failed.

  • BT Hub: Disabled 'Web Protect' & 'Smart Setup'. Failed.

  • IPv6: Disabled in HA. Failed.

  • Setup: Internal URL is IP. Fresh App Credentials.

Since I'm on HAOS, CA certs should be valid. With AdGuard/NPM/Router security off, what else could break the outbound TLS trust chain?

logs attached

ocean scarab
#

I'd suggest getting into the homeassistant container (ex. running in a Terminal/SSH: docker exec -it homeassistant bash) and then running curl -v https://api.spotify.com/v1/me