tydom2mqtt
tydom2mqtt copied to clipboard
Exception when trying to connect with websocket !
Hi,
I'm trying to configure my tydom2mqtt but I have a problem with mine:
2022-05-26 22:16:26,120 - mqtt_client - INFO - """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" 2022-05-26 22:16:26,121 - mqtt_client - INFO - Attempting MQTT connection... 2022-05-26 22:16:26,121 - mqtt_client - INFO - MQTT host : 192.168.1.100 2022-05-26 22:16:26,121 - mqtt_client - INFO - MQTT user : mqtt 2022-05-26 22:16:26,122 - gmqtt.mqtt.protocol - INFO - [CONNECTION MADE] 2022-05-26 22:16:26,124 - mqtt_client - INFO - ################################## 2022-05-26 22:16:26,124 - mqtt_client - INFO - Subscribing to : +/tydom/# 2022-05-26 22:16:26,124 - gmqtt.mqtt.package - INFO - [SEND SUB] 1 [b'homeassistant/status'] 2022-05-26 22:16:26,125 - gmqtt.mqtt.package - INFO - [SEND SUB] 2 [b'+/tydom/#'] 2022-05-26 22:16:26,125 - tydomConnector - INFO - """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" 2022-05-26 22:16:26,125 - tydomConnector - INFO - TYDOM WEBSOCKET CONNECTION INITIALISING.... 2022-05-26 22:16:26,125 - tydomConnector - INFO - Building headers, getting 1st handshake and authentication.... 2022-05-26 22:16:27,245 - tydomConnector - INFO - Upgrading http connection to websocket.... 2022-05-26 22:16:27,245 - tydomConnector - INFO - Attempting websocket connection with tydom hub....................... 2022-05-26 22:16:27,245 - tydomConnector - INFO - Host Target : 192.168.1.101 2022-05-26 22:16:27,274 - gmqtt.mqtt.handler - INFO - [SUBACK] 1 (0,) 2022-05-26 22:16:27,275 - gmqtt.mqtt.handler - INFO - [SUBACK] 2 (0,) 2022-05-26 22:16:28,415 - tydomConnector - ERROR - Exception when trying to connect with websocket ! 2022-05-26 22:16:28,415 - tydomConnector - ERROR - server rejected WebSocket connection: HTTP 401
Hi,
Your issue looks like a Nth duplicate about tydom authentication errors. Please find here all relevant information related to your error.