Tuya reauthentication return the error Unknown error occurred

Reauthetication return the error Unknown error occurred using Edge and Chrome on PC and same issue on hass and smartlife apps on Iphone.

User Code has been entered manually all times.

apigw.iotbing.com returned Max retries exceeded, I did not find the first error message, how many times I have to wait before try again?

Thanks for helping

Log viewer
File “/usr/local/lib/python3.12/site-packages/requests/adapters.py”, line 517, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host=‘apigw.iotbing.com’, port=443): Max retries exceeded with url: /v1.0/m/life/home-assistant/qrcode/tokens?clientid=XXXXXXX=BaSTWw3&schema=haauthorize (Caused by SSLError(SSLEOFError(8, ‘[SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1000)’)))

Tuya current version of Home assistant has released a new connection method for Tuya cloud. Please try the new method.
Tuya - Home Assistant.

Thanks to reply

The solution was to add the domain apigw.iotbing.com to ZenArmor’s default policy exclusion list in Opnsense.

2 Likes