milo526 / homebridge-tuya-web

Hoobs and Homebridge plugin for Tuya devices using Home Assistant Tuya Web Api
MIT License
217 stars 93 forks source link

[TuyaWebPlatform] write EPROTO 20705E87FFFF0000:error #575

Closed alongkos closed 7 months ago

alongkos commented 7 months ago

Describe the bug <-- Could you please help. Logs have errors [11/16/2023, 3:29:53 PM] [TuyaWebPlatform] Sending HTTP GET request to /homeassistant/skill - Header: {"name":"Discovery","namespace":"discovery","payloadVersion":1}. [11/16/2023, 3:29:53 PM] [TuyaWebPlatform] write EPROTO 20705E87FFFF0000:error:0A000410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure:../deps/openssl/openssl/ssl/record/rec_layer_s3.c:1586:SSL alert number 40

[11/16/2023, 3:29:53 PM] [TuyaWebPlatform] Error: write EPROTO 20705E87FFFF0000:error:0A000410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure:../deps/openssl/openssl/ssl/record/rec_layer_s3.c:1586:SSL alert number 40

at Function.AxiosError.from (/var/lib/homebridge/node_modules/@milo526/homebridge-tuya-web/node_modules/axios/lib/core/AxiosError.js:89:14)
at RedirectableRequest.handleRequestError (/var/lib/homebridge/node_modules/@milo526/homebridge-tuya-web/node_modules/axios/lib/adapters/http.js:533:25)
at RedirectableRequest.emit (node:events:514:28)
at ClientRequest.eventHandlers.<computed> (/var/lib/homebridge/node_modules/@milo526/homebridge-tuya-web/node_modules/follow-redirects/index.js:14:24)
at ClientRequest.emit (node:events:514:28)
at TLSSocket.socketErrorListener (node:_http_client:495:9)
at TLSSocket.emit (node:events:514:28)
at emitErrorNT (node:internal/streams/destroy:151:8)
at emitErrorCloseNT (node:internal/streams/destroy:116:3)
at processTicksAndRejections (node:internal/process/task_queues:82:21)

-->

Steps To Reproduce

Plugin Version <-- v.1.1.3, v1.1.4, v1.1.5 also have save trouble -->

Homebridge Config <-- { "bridge": { "name": "Homebridge 3214", "username": "xxxx", "port": xxxx, "pin": "xxxx "advertiser": "ciao", "bind": [ "eth0" ] }, "accessories": [], "platforms": [ { "name": "Config", "port": 8581, "platform": "config" }, { "name": "eWeLink", "username": "xxxx0", "password": "xxxx "mode": "auto", "language": "en", "platform": "eWeLink" }, { "name": "TuyaWebPlatform", "options": { "username": "xxxx", "password": "xxxx", "countryCode": "1", "platform": "smart_life" }, "defaults": [ { "device_type": "form" } ], "scenes": false, "platform": "TuyaWebPlatform" } ], "disabledPlugins": [] } -->

Device Config

Additional Context

<-- OS Ubuntu Jammy Jellyfish (22.04.3 LTS) Node.js Version v20.9.0 Homebridge version v1.7.0 -->

github-actions[bot] commented 7 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.