I have a problem with Tuya integration. Please help!
2025-05-02 13:00:42.427 ERROR (Thread-8) [root] Uncaught thread exception
Traceback (most recent call last):
File “/usr/local/lib/python3.13/threading.py”, line 1041, in _bootstrap_inner
self.run()
~~~~~~~~^^
File “/usr/local/lib/python3.13/site-packages/tuya_sharing/mq.py”, line 118, in run
self.__run_mqtt()
~~~~~~~~~~~~~~~^^
File “/usr/local/lib/python3.13/site-packages/tuya_sharing/mq.py”, line 136, in __run_mqtt
mqttc = self._start(mq_config)
File “/usr/src/homeassistant/homeassistant/components/tuya/init.py”, line 112, in _start
mqttc.connect(url.hostname, url.port)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.13/site-packages/paho/mqtt/client.py”, line 1435, in connect
return self.reconnect()
~~~~~~~~~~~~~~^^
File “/usr/local/lib/python3.13/site-packages/paho/mqtt/client.py”, line 1598, in reconnect
self._sock = self._create_socket()
~~~~~~~~~~~~~~~~~~~^^
File “/usr/local/lib/python3.13/site-packages/paho/mqtt/client.py”, line 4612, in _create_socket
sock = self._ssl_wrap_socket(sock)
File “/usr/local/lib/python3.13/site-packages/paho/mqtt/client.py”, line 4671, in _ssl_wrap_socket
ssl_sock.do_handshake()
~~~~~~~~~~~~~~~~~~~~~^^
File “/usr/local/lib/python3.13/ssl.py”, line 1372, in do_handshake
self._sslobj.do_handshake()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
TimeoutError: _ssl.c:1011: The handshake operation timed out