Closed mgor closed 5 years ago
Hmm, maybe they changed something in the newest version of homebridge. Feel free to investigate and make a PR :)
Getting the following error:
[6/6/2019, 7:57:37 PM] [Telldus Live] request to https://api.telldus.com/json/sensors/list failed, reason: write EPROTO 4403303872:error:1425F102:SSL routines:ssl_choose_client_version:unsupported protocol:../deps/openssl/openssl/ssl/statem/statem_lib.c:1922:
(node:36476) UnhandledPromiseRejectionWarning: FetchError: request to https://api.telldus.com/json/sensors/list failed, reason: write EPROTO 4403303872:error:1425F102:SSL routines:ssl_choose_client_version:unsupported protocol:../deps/openssl/openssl/ssl/statem/statem_lib.c:1922:
at ClientRequest.<anonymous> (/usr/local/lib/node_modules/homebridge-telldus/node_modules/node-fetch/index.js:133:11)
at ClientRequest.emit (events.js:196:13)
at TLSSocket.socketErrorListener (_http_client.js:402:9)
at TLSSocket.emit (events.js:196:13)
at errorOrDestroy (internal/streams/destroy.js:107:12)
at onwriteError (_stream_writable.js:438:5)
at onwrite (_stream_writable.js:459:5)
at internal/streams/destroy.js:49:7
at TLSSocket.Socket._destroy (net.js:593:3)
at TLSSocket.destroy (internal/streams/destroy.js:37:8)
at WriteWrap.onWriteComplete [as oncomplete] (internal/stream_base_commons.js:84:12)
(node:36476) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:36476) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Does it work with older version of homebridge? which version broke it?
Hm, very strange. I re-arranged my global node_modules
directory and re-installed homebridge
and homebridge-telldus
with npm and the problem disappeared.
So can close this now?
EPROTO is fixed now. Closing this. see #76
Since upgrading to
homebridge@0.4.49
the latest version of this plugin (1.0.5) stopped working:Seems like it was a while since anything happened in this repository. If there's no active development, I'll submit a PR when I've had the time to investigate the problem further.