supervisor: Tuya devices not updating

Describe the issue you are experiencing

After the last update, Tuya devices not updating. Local tuya devices are working fine

What type of installation are you running?

Home Assistant OS

Which operating system are you running on?

Home Assistant Operating System

Steps to reproduce the issue

Anything in the Supervisor logs that might be useful for us?

Logger: root
Source: /usr/src/homeassistant/homeassistant/bootstrap.py:388 
First occurred: 23:44:18 (1 occurrences) 
Last logged: 23:44:18

Uncaught thread exception
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
    self.run()
  File "/usr/local/lib/python3.10/site-packages/tuya_iot/openmq.py", line 158, in run
    self.__run_mqtt()
  File "/usr/local/lib/python3.10/site-packages/tuya_iot/openmq.py", line 172, in __run_mqtt
    mqttc = self._start(mq_config)
  File "/usr/local/lib/python3.10/site-packages/tuya_iot/openmq.py", line 192, in _start
    mqttc.connect(url.hostname, url.port)
  File "/usr/local/lib/python3.10/site-packages/paho/mqtt/client.py", line 914, in connect
    return self.reconnect()
  File "/usr/local/lib/python3.10/site-packages/paho/mqtt/client.py", line 1044, in reconnect
    sock = self._create_socket_connection()
  File "/usr/local/lib/python3.10/site-packages/paho/mqtt/client.py", line 3685, in _create_socket_connection
    return socket.create_connection(addr, timeout=self._connect_timeout, source_address=source)
  File "/usr/local/lib/python3.10/socket.py", line 824, in create_connection
    for res in getaddrinfo(host, port, 0, SOCK_STREAM):
  File "/usr/local/lib/python3.10/socket.py", line 955, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Try again

System Health information

No repairs needed

Supervisor diagnostics

Additional information

No response

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Reactions: 1
  • Comments: 16 (1 by maintainers)

Most upvoted comments

Same problem. Some days it seems to work fine. Other days it doesn’t work at all.