go-hass-agent
go-hass-agent copied to clipboard
Websocket connection does not work with letsencrypt
Hi @joshuar,
Sorry for the delay. I tried the snapshot you gave me and, indeed, it seems to work well.
However, I still have an error :
Could not connect to websocket. error="tls: either ServerName or InsecureSkipVerify must be specified in the tls.Config"
It does not seems to prevent it from working.
The hass.websocketurl and WebSocketURL looks like this :
wss://HOST:PORT/api/websocket
My certificate is generated with letsencrypt and is currently valid.
Let me know if you want me to create a new issue about that.
Thanks !
Originally posted by @CaporalDead in https://github.com/joshuar/go-hass-agent/issues/47#issuecomment-1752107968