Hi @koying! Thanks for your swift reply! That’s correct, I have https enabled.
I changed the protocol to wss (instead of ws). I got these errors instead:
2021-05-14T11:07:12.308Z <HassController:NOTICE> HassController#hass attempting reconnection to wss://192.168.50.167:8123/api/websocket/api/websocket
2021-05-14T11:07:12.309Z <HassController:NOTICE> HassController#hass connecting via WS to wss://192.168.50.167:8123/api/websocket/api/websocket
2021-05-14T11:07:12.367Z <HassController:WARN> HassController#hass websocket error during open/negotation: Error [ERR_TLS_CERT_ALTNAME_INVALID]: Hostname/IP does not match certificate's altnames: IP: 192.168.50.167 is not in the cert's list:
2021-05-14T11:07:12.368Z <HassController:NOTICE> HassController#hass websocket to wss://192.168.50.167:8123/api/websocket/api/websocket closed during open/negotiation
2021-05-14T11:07:12.373Z <HassController:WARN> HassController#hass failed to connect/initialize communication: Error [ERR_TLS_CERT_ALTNAME_INVALID]: Hostname/IP does not match certificate's altnames: IP: 192.168.50.167 is not in the cert's list: