Skip to content
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

Websocket connection does not work with letsencrypt #48

Open
joshuar opened this issue Oct 12, 2023 · 0 comments
Open

Websocket connection does not work with letsencrypt #48

joshuar opened this issue Oct 12, 2023 · 0 comments

Comments

@joshuar
Copy link
Owner

joshuar commented Oct 12, 2023

          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 #47 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant