Code : Tout sélectionner
2025-02-08 09:35:30.265 Error: smart_life: handleThread: HTTPSConnectionPool(host='px1.tuyaeu.com', port=443): Max retries exceeded with url: /homeassistant/skill (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x6455a690>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) line 185
2025-02-08 09:35:30.268 Error: smart_life: handleThread: HTTPSConnectionPool(host='px1.tuyaeu.com', port=443): Max retries exceeded with url: /homeassistant/skill (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x6460a4b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) line 185
2025-02-08 09:35:30.955 Error: smart_life: Call to function 'onCommand' failed, exception details:
2025-02-08 09:35:30.962 Error: smart_life: Traceback (most recent call last):
2025-02-08 09:35:30.962 Error: smart_life: File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 162, in _new_conn
2025-02-08 09:35:30.962 Error: smart_life: (self._dns_host, self.port), self.timeout, **extra_kw)
2025-02-08 09:35:30.962 Error: smart_life: File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection
2025-02-08 09:35:30.962 Error: smart_life: for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
2025-02-08 09:35:30.962 Error: smart_life: File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo
2025-02-08 09:35:30.962 Error: smart_life: for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
2025-02-08 09:35:30.962 Error: smart_life: socket.gaierror: [Errno -3] Temporary failure in name resolution
2025-02-08 09:35:30.962 Error: smart_life:
2025-02-08 09:35:30.962 Error: smart_life: During handling of the above exception, another exception occurred:
2025-02-08 09:35:30.962 Error: smart_life:
2025-02-08 09:35:30.962 Error: smart_life: Traceback (most recent call last):
2025-02-08 09:35:30.962 Error: smart_life: File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
2025-02-08 09:35:30.962 Error: smart_life: chunked=chunked)
2025-02-08 09:35:30.962 Error: smart_life: File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 344, in _make_request
2025-02-08 09:35:30.962 Error: smart_life: self._validate_conn(conn)
2025-02-08 09:35:30.962 Error: smart_life: File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 846, in _validate_conn
2025-02-08 09:35:30.962 Error: smart_life: conn.connect()
2025-02-08 09:35:30.962 Error: smart_life: File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 315, in connect
2025-02-08 09:35:30.962 Error: smart_life: conn = self._new_conn()
2025-02-08 09:35:30.962 Error: smart_life: File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 171, in _new_conn
2025-02-08 09:35:30.962 Error: smart_life: self, "Failed to establish a new connection: %s" % e)
2025-02-08 09:35:30.962 Error: smart_life: urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x6455bdf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution
2025-02-08 09:35:30.963 Error: smart_life:
2025-02-08 09:35:30.963 Error: smart_life: During handling of the above exception, another exception occurred:
2025-02-08 09:35:30.963 Error: smart_life:
2025-02-08 09:35:30.963 Error: smart_life: Traceback (most recent call last):
2025-02-08 09:35:30.963 Error: smart_life: File "/usr/local/lib/python3.7/dist-packages/requests/adapters.py", line 449, in send
2025-02-08 09:35:30.963 Error: smart_life: timeout=timeout
2025-02-08 09:35:30.963 Error: smart_life: File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
2025-02-08 09:35:30.963 Error: smart_life: _stacktrace=sys.exc_info()[2])
2025-02-08 09:35:30.963 Error: smart_life: File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 399, in increment
2025-02-08 09:35:30.963 Error: smart_life: raise MaxRetryError(_pool, url, error or ResponseError(cause))
2025-02-08 09:35:30.963 Error: smart_life: urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='px1.tuyaeu.com', port=443): Max retries exceeded with url: /homeassistant/skill (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x6455bdf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
2025-02-08 09:35:30.963 Error: smart_life:
2025-02-08 09:35:30.963 Error: smart_life: During handling of the above exception, another exception occurred:
2025-02-08 09:35:30.963 Error: smart_life:
2025-02-08 09:35:30.963 Error: smart_life: Traceback (most recent call last):
2025-02-08 09:35:30.963 Error: smart_life: File "/home/pi/domoticz/plugins/tuyaha/plugin.py", line 250, in onCommand
2025-02-08 09:35:30.963 Error: smart_life: _plugin.onCommand(Unit, Command, Level, Hue)
2025-02-08 09:35:30.963 Error: smart_life: File "/home/pi/domoticz/plugins/tuyaha/plugin.py", line 126, in onCommand
2025-02-08 09:35:30.963 Error: smart_life: dev.turn_on()
2025-02-08 09:35:30.963 Error: smart_life: File "/home/pi/domoticz/plugins/tuyaha/tuyaha/devices/switch.py", line 14, in turn_on
2025-02-08 09:35:30.963 Error: smart_life: self.api.device_control(self.obj_id, "turnOnOff", {"value": "1"})
2025-02-08 09:35:30.963 Error: smart_life: File "/home/pi/domoticz/plugins/tuyaha/tuyaha/tuyaapi.py", line 148, in device_control
2025-02-08 09:35:30.963 Error: smart_life: response = self._request(action, namespace, devId, param)
2025-02-08 09:35:30.963 Error: smart_life: File "/home/pi/domoticz/plugins/tuyaha/tuyaha/tuyaapi.py", line 162, in _request
2025-02-08 09:35:30.963 Error: smart_life: (TUYACLOUDURL + "/homeassistant/skill").format(SESSION.region), json=data
2025-02-08 09:35:30.963 Error: smart_life: File "/usr/local/lib/python3.7/dist-packages/requests/api.py", line 119, in post
2025-02-08 09:35:30.963 Error: smart_life: return request('post', url, data=data, json=json, **kwargs)
2025-02-08 09:35:30.964 Error: smart_life: File "/usr/local/lib/python3.7/dist-packages/requests/api.py", line 61, in request
2025-02-08 09:35:30.964 Error: smart_life: return session.request(method=method, url=url, **kwargs)
2025-02-08 09:35:30.964 Error: smart_life: File "/usr/local/lib/python3.7/dist-packages/requests/sessions.py", line 530, in request
2025-02-08 09:35:30.964 Error: smart_life: resp = self.send(prep, **send_kwargs)
2025-02-08 09:35:30.964 Error: smart_life: File "/usr/local/lib/python3.7/dist-packages/requests/sessions.py", line 643, in send
2025-02-08 09:35:30.964 Error: smart_life: r = adapter.send(request, **kwargs)
2025-02-08 09:35:30.964 Error: smart_life: File "/usr/local/lib/python3.7/dist-packages/requests/adapters.py", line 516, in send
2025-02-08 09:35:30.964 Error: smart_life: raise ConnectionError(e, request=request)
2025-02-08 09:35:30.964 Error: smart_life: requests.exceptions.ConnectionError: HTTPSConnectionPool(host='px1.tuyaeu.com', port=443): Max retries exceeded with url: /homeassistant/skill (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x6455bdf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))Là! je suis dépassé et c'est très énervant. Cela se reproduit aléatoirement deux ou troiss fois par jour.
Si quelqu'un avait une solution, d'avance merci.