homebridge-lutron-caseta-leap
homebridge-lutron-caseta-leap copied to clipboard
Suddenly throwing many errors - becomes unresponsive
Describe The Bug: Have 5 hubs all working fine until last 24 hours. Now, I’m seeing hundreds of errors in the log and having to restart Homebridge to get things to respond again.
Logs:
[24/10/2022, 21:52:37] [Lutron] Got UnhandledPromiseRejectionWarning process warning: Error: request with tag3527b998-731d-4da4-9e06-61af6f225b85timed out
at Timeout._onTimeout (/usr/local/lib/node_modules/homebridge-lutron-caseta-leap/node_modules/lutron-leap/src/LeapClient.ts:114:31)
at listOnTimeout (internal/timers.js:554:17)
at processTimers (internal/timers.js:497:7):
UnhandledPromiseRejectionWarning: Error: request with tag3527b998-731d-4da4-9e06-61af6f225b85timed out
at Timeout._onTimeout (/usr/local/lib/node_modules/homebridge-lutron-caseta-leap/node_modules/lutron-leap/src/LeapClient.ts:114:31)
at listOnTimeout (internal/timers.js:554:17)
at processTimers (internal/timers.js:497:7)
at emitUnhandledRejectionWarning (internal/process/promises.js:168:15)
at processPromiseRejections (internal/process/promises.js:247:11)
at processTicksAndRejections (internal/process/task_queues.js:94:32)
at runNextTicks (internal/process/task_queues.js:62:3)
at listOnTimeout (internal/timers.js:523:9)
at processTimers (internal/timers.js:497:7)
(node:26633) 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(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 330)
Plugin Config:
{ "name": "Lutron", "platform": "LutronCasetaLeap", "options": { "filterPico": false, "filterBlinds": true, "clickSpeedDouble": "default", "clickSpeedLong": "default" }, "secrets": [ { "bridgeid": "042B22A5", "ca": "-----BEGIN CERTIFICATE---------END CERTIFICATE-----\n", "cert": "-----BEGIN CERTIFICATE----------END CERTIFICATE-----\n", "key": "-----BEGIN RSA PRIVATE KEY----------END RSA PRIVATE KEY-----\r\n" }, { "bridgeid": "032E3978", "ca": "-----BEGIN CERTIFICATE---------END CERTIFICATE-----\n", "cert": "-----BEGIN CERTIFICATE----------END CERTIFICATE-----\n", "key": "-----BEGIN RSA PRIVATE KEY----------END RSA PRIVATE KEY-----\r\n"
},
{
"bridgeid": "047D744C",
"ca": "-----BEGIN CERTIFICATE---------END CERTIFICATE-----\n",
"cert": "-----BEGIN CERTIFICATE----------END CERTIFICATE-----\n",
"key": "-----BEGIN RSA PRIVATE KEY----------END RSA PRIVATE KEY-----\r\n"
},
{
"bridgeid": "[04787472];
"ca": "-----BEGIN CERTIFICATE---------END CERTIFICATE-----\n",
"cert": "-----BEGIN CERTIFICATE----------END CERTIFICATE-----\n",
"key": "-----BEGIN RSA PRIVATE KEY----------END RSA PRIVATE KEY-----\r\n"
},
{
"bridgeid": "047D7462",
"ca": "-----BEGIN CERTIFICATE---------END CERTIFICATE-----\n",
"cert": "-----BEGIN CERTIFICATE----------END CERTIFICATE-----\n",
"key": "-----BEGIN RSA PRIVATE KEY----------END RSA PRIVATE KEY-----\r\n"
}
]
}
Screenshots:
Environment:
- Plugin Version:2.4.2
- Homebridge Version: 1.5.0
- Node.js Version:14.15.4
- NPM Version:
- Operating System: Raspbian