Hi, I notices since la last update that the tuya devices are unavailable, and I get an error that “The following integrations and platforms could not be set up: tuya” in the log I have
File “/usr/local/lib/python3.7/site-packages/urllib3/util/retry.py”, line 436, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host=‘px1.tuyaus.com’, port=443): Max retries exceeded with url: /homeassistant/auth.do (Caused by NewConnectionError(’<urllib3.connection.VerifiedHTTPSConnection object at 0x7f54332ef910>: Failed to establish a new connection: [Errno -3] Try again’))
For me, tuya works on 0.107.7. Remember, the tuya integration polls the tuya server, if that is not available the moment that HA tries to poll, an error will be thrown.
Still not working. I dont think is the TUYA server, its ok the google assistant integration, and smart life app. Maybe Tuya change something in the api code, I´ll five it few more days, if not I will try to install clean on a virtual machine.
I fixed it. Without changing anything, I created a snapshot then reinstalled clean the latest version then i restore from the snapshot, and its working fine. So the problem has to be related with the last update. Maybe something got messed up during the last update.
Ok, in case anybody else get this error, the problem is the dns core keep restarting so you have no connection with the outside the lan servers.
I fixed it using 2 commands. The first simply fushes he DNS, you might get an error, doesnt matter, the second will asign the dns server 1 to the router address (my case 192.168.0.1, but change it to yours) and the second dns to 8.8.8.8 or you can also use 1.1.1.1. then reboot the server
and it should work
ha> dns update
ha> dns options --servers dns://192.168.0.1 --servers dns://8.8.8.8