generated from homebridge/homebridge-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Homebridge stops working when LEAP plugin enabled #129
Labels
question
Further information is requested
Comments
That's strange. Can you enable debug logging and provide a complete log sample? |
This is the complete log sample pertaining to the Lutron LEAP plugin. I have attached a screenshot as well in case the text is difficult to read.
[10/10/2023, 22:54:58] [Lutron] bridge 067CA29B has secrets {"ca":"-----BEGIN CERTIFICATE-----\nMIICGjCCAcCgAwIBAgIBATAKBggqhkjOPQQDAjCBgzELMAkGA1UEBhMCVVMxFTAT\nBgNVBAgTDFBlbm5zeWx2YW5pYTEUMBIGA1UEBxMLQ29vcGVyc2J1cmcxJTAjBgNV\nBAoTHEx1dHJvbiBFbGVjdHJvbmljcyBDby4sIEluYy4xIDAeBgNVBAMTF1NtYXJ0\nQnJpZGdlNkNDMzc0QjdCMjg4MB4XDTE1MTAzMTAwMDAwMFoXDTM1MTAyNjAwMDAw\nMFowgYMxCzAJBgNVBAYTAlVTMRUwEwYDVQQIEwxQZW5uc3lsdmFuaWExFDASBgNV\nBAcTC0Nvb3BlcnNidXJnMSUwIwYDVQQKExxMdXRyb24gRWxlY3Ryb25pY3MgQ28u\nLCBJbmMuMSAwHgYDVQQDExdTbWFydEJyaWRnZTZDQzM3NEI3QjI4ODBZMBMGByqG\nSM49AgEGCCqGSM49AwEHA0IABGxuGDtzSY8UKp3b55F11xhPCY3GXnfrY6Jk1zpu\nYwWw6lxEjWJZiPZy9M/YCMzb+MRTIUquCfqe/fyew84l0najIzAhMA4GA1UdDwEB\n/wQEAwIBvjAPBgNVHRMBAf8EBTADAQH/MAoGCCqGSM49BAMCA0gAMEUCIAjlb8ym\nSHYIE6+/5y3tKPWWuvYc1OBwtsrXoSPnPpV0AiEA7jVzRraYQmmU0SpLGWuvnAsS\n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wMDAxIjAgBgorBgEEAYK5CQEDDBJnZXRf\nbHV0cm9uX2NlcnQucHkwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDj\nbU3jnWPbI01lu+DI4w+sVhxONbzb0s8WQsCoXbMhBV7r7KRKzqfhjH0ZKXRFWcYJ\nhS5I34m93BEBN2gMcq9pb4G5iUCsIg+11QxqhJuIzet9rpcvOWSfFIA2ka4a7KsM\nMPFadeDRsyFqoIbddZQFq9RKZ5qYWGTG9e5ytOTwVxwP8a/EahEoJhGClCh86OJv\nl3uaGnDXKYxXrjdqWb3R3lJfz1mT19aiCHpN+fSwUVUmsmR8mS48iMHcWRhQxNi+\nFOFcOheU4nMV2+4O4I9kdp/eEA+JVnjLDeSp9cJd43jlfqgUolTUFI4f19pSm0K1\nbW6x8abaoMZ17y7nU2ShAgMBAAGjPzA9MA4GA1UdDwEB/wQEAwIFoDAdBgNVHSUE\nFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDAYDVR0TAQH/BAIwADAKBggqhkjOPQQD\nAgNIADBFAiEAo3fzbX1n2eqPiI4D/vD2zH41QAMU1MLYcOVxCvuR8vECICzzlmsT\nkVdysDq2lvedVEvbUdKDx2Di0NwFSanXpG+F\n-----END CERTIFICATE-----\n","bridgeid":"067CA29B"}
[10/10/2023, 22:54:58] Error: Client network socket disconnected before secure TLS connection was established
at connResetException (node:internal/errors:711:14)
at TLSSocket.onConnectEnd (node:_tls_wrap:1593:19)
at TLSSocket.emit (node:events:525:35)
at endReadableNT (node:internal/streams/readable:1359:12)
at processTicksAndRejections (node:internal/process/task_queues:82:21)
[10/10/2023, 22:54:58] Got SIGTERM, shutting down Homebridge…

… On Oct 10, 2023, at 10:50 PM, Brandon Matthews ***@***.***> wrote:
That's strange. Can you enable debug logging and provide a complete log sample?
—
Reply to this email directly, view it on GitHub <#129 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/BDF45I6DCNGYQN4222XU6C3X6YJRBAVCNFSM6AAAAAA53JEGMKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJWG4ZDGMJVGQ>.
You are receiving this because you authored the thread.
|
There are some log lines missing that indicate that debug logging isn't enabled. Can you enable it and then add them here? |
Sorry for the late response. I have followed your instructions and attached the updated DEBUG log that pertained to the Leap plugin. Thanks!
```
2023-10-20T03:40:38.257Z leap:protocol:discovery checking HostAndPort { host: '10.0.0.138', port: 22 }
2023-10-20T03:40:38.295Z leap:protocol:discovery was not ipv6: Error [AddressError]: Incorrect number of groups found
at new AddressError (/var/lib/homebridge/node_modules/homebridge-lutron-caseta-leap/node_modules/ip-address/lib/address-error.ts:5:5)
at Address6.parse (/var/lib/homebridge/node_modules/homebridge-lutron-caseta-leap/node_modules/ip-address/lib/ipv6.ts:713:13)
at new Address6 (/var/lib/homebridge/node_modules/homebridge-lutron-caseta-leap/node_modules/ip-address/lib/ipv6.ts:153:31)
at BridgeFinder.extractIp (/var/lib/homebridge/node_modules/homebridge-lutron-caseta-leap/node_modules/lutron-leap/src/BridgeFinder.ts:95:30)
at BridgeFinder.handleDiscovery (/var/lib/homebridge/node_modules/homebridge-lutron-caseta-leap/node_modules/lutron-leap/src/BridgeFinder.ts:60:29)
at MDNSServiceDiscovery.<anonymous> (/var/lib/homebridge/node_modules/homebridge-lutron-caseta-leap/node_modules/lutron-leap/src/BridgeFinder.ts:43:18)
at Event.emit (/var/lib/homebridge/node_modules/homebridge-lutron-caseta-leap/node_modules/atvik/src/sync.ts:65:29)
at MDNSServiceDiscovery.BasicServiceDiscovery.updateService (/var/lib/homebridge/node_modules/homebridge-lutron-caseta-leap/node_modules/tinkerhub-discovery/src/discovery/basic-service-discovery.ts:67:24)
at MDNSServiceDiscovery.refreshService (/var/lib/homebridge/node_modules/homebridge-lutron-caseta-leap/node_modules/tinkerhub-mdns/src/discovery/mdns-discovery.ts:346:8)
at Timeout._onTimeout (/var/lib/homebridge/node_modules/homebridge-lutron-caseta-leap/node_modules/tinkerhub-mdns/src/discovery/mdns-discovery.ts:206:27) {
parseMessage: undefined
}
2023-10-20T03:40:38.411Z leap:protocol:discovery got useful ipaddr 10.0.0.138
2023-10-20T03:40:38.412Z leap:protocol:discovery extracted bridge ID: 067CA29B
2023-10-20T03:40:38.414Z leap:protocol:client new LeapClient being constructed
2023-10-20T03:40:38.434Z leap:bridge new bridge 067ca29b being constructed
2023-10-20T03:40:38.436Z leap:bridge getting info about all devices
2023-10-20T03:40:38.438Z leap:protocol:client request ReadRequest for url /device
2023-10-20T03:40:38.439Z leap:protocol:client needs to connect
2023-10-20T03:40:38.734Z leap:protocol:client connection failed: Error: Client network socket disconnected before secure TLS connection was established
at connResetException (node:internal/errors:711:14)
at TLSSocket.onConnectEnd (node:_tls_wrap:1593:19)
at TLSSocket.emit (node:events:525:35)
at endReadableNT (node:internal/streams/readable:1359:12)
at processTicksAndRejections (node:internal/process/task_queues:82:21) {
code: 'ECONNRESET',
path: undefined,
host: '10.0.0.138',
port: 8081,
localAddress: undefined
}
[19/10/2023, 22:40:38] Error: Client network socket disconnected before secure TLS connection was established
at connResetException (node:internal/errors:711:14)
at TLSSocket.onConnectEnd (node:_tls_wrap:1593:19)
at TLSSocket.emit (node:events:525:35)
at endReadableNT (node:internal/streams/readable:1359:12)
at processTicksAndRejections (node:internal/process/task_queues:82:21)
[19/10/2023, 22:40:38] Got SIGTERM, shutting down Homebridge…
```

… On Oct 13, 2023, at 4:28 PM, Brandon Matthews ***@***.***> wrote:
There are some log lines missing that indicate that debug logging isn't enabled. Can you enable it <https://github.com/thenewwazoo/homebridge-lutron-caseta-leap#-enabling-debugging> and then add them here?
—
Reply to this email directly, view it on GitHub <#129 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/BDF45IYLL3PXM65CL7SVCULX7GW6ZANCNFSM6AAAAAA53JEGMI>.
You are receiving this because you authored the thread.
|
I’m just following up to see if you were able to find a fix for this issue. I continue to have the same issue that I was having previously and have had to keep this plugin disabled in order to be able to keep my Homebridge running. Thanks!On Oct 19, 2023, at 10:42 PM, Ronak Gandhi ***@***.***> wrote:Sorry for the late response. I have followed your instructions and attached the updated DEBUG log that pertained to the Leap plugin. Thanks!2023-10-20T03:40:38.257Z leap:protocol:discovery checking HostAndPort { host: '10.0.0.138', port: 22 }2023-10-20T03:40:38.295Z leap:protocol:discovery was not ipv6: Error [AddressError]: Incorrect number of groups found at new AddressError (/var/lib/homebridge/node_modules/homebridge-lutron-caseta-leap/node_modules/ip-address/lib/address-error.ts:5:5) at Address6.parse (/var/lib/homebridge/node_modules/homebridge-lutron-caseta-leap/node_modules/ip-address/lib/ipv6.ts:713:13) at new Address6 (/var/lib/homebridge/node_modules/homebridge-lutron-caseta-leap/node_modules/ip-address/lib/ipv6.ts:153:31) at BridgeFinder.extractIp (/var/lib/homebridge/node_modules/homebridge-lutron-caseta-leap/node_modules/lutron-leap/src/BridgeFinder.ts:95:30) at BridgeFinder.handleDiscovery (/var/lib/homebridge/node_modules/homebridge-lutron-caseta-leap/node_modules/lutron-leap/src/BridgeFinder.ts:60:29) at MDNSServiceDiscovery.<anonymous> (/var/lib/homebridge/node_modules/homebridge-lutron-caseta-leap/node_modules/lutron-leap/src/BridgeFinder.ts:43:18) at Event.emit (/var/lib/homebridge/node_modules/homebridge-lutron-caseta-leap/node_modules/atvik/src/sync.ts:65:29) at MDNSServiceDiscovery.BasicServiceDiscovery.updateService (/var/lib/homebridge/node_modules/homebridge-lutron-caseta-leap/node_modules/tinkerhub-discovery/src/discovery/basic-service-discovery.ts:67:24) at MDNSServiceDiscovery.refreshService (/var/lib/homebridge/node_modules/homebridge-lutron-caseta-leap/node_modules/tinkerhub-mdns/src/discovery/mdns-discovery.ts:346:8) at Timeout._onTimeout (/var/lib/homebridge/node_modules/homebridge-lutron-caseta-leap/node_modules/tinkerhub-mdns/src/discovery/mdns-discovery.ts:206:27) { parseMessage: undefined}2023-10-20T03:40:38.411Z leap:protocol:discovery got useful ipaddr 10.0.0.1382023-10-20T03:40:38.412Z leap:protocol:discovery extracted bridge ID: 067CA29B2023-10-20T03:40:38.414Z leap:protocol:client new LeapClient being constructed2023-10-20T03:40:38.434Z leap:bridge new bridge 067ca29b being constructed2023-10-20T03:40:38.436Z leap:bridge getting info about all devices2023-10-20T03:40:38.438Z leap:protocol:client request ReadRequest for url /device2023-10-20T03:40:38.439Z leap:protocol:client needs to connect2023-10-20T03:40:38.734Z leap:protocol:client connection failed: Error: Client network socket disconnected before secure TLS connection was established at connResetException (node:internal/errors:711:14) at TLSSocket.onConnectEnd (node:_tls_wrap:1593:19) at TLSSocket.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1359:12) at processTicksAndRejections (node:internal/process/task_queues:82:21) { code: 'ECONNRESET', path: undefined, host: '10.0.0.138', port: 8081, localAddress: undefined}[19/10/2023, 22:40:38] Error: Client network socket disconnected before secure TLS connection was established at connResetException (node:internal/errors:711:14) at TLSSocket.onConnectEnd (node:_tls_wrap:1593:19) at TLSSocket.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1359:12) at processTicksAndRejections (node:internal/process/task_queues:82:21)[19/10/2023, 22:40:38] Got SIGTERM, shutting down Homebridge…<Screenshot 2023-10-19 at 10.41.21 PM.png>On Oct 13, 2023, at 4:28 PM, Brandon Matthews ***@***.***> wrote:There are some log lines missing that indicate that debug logging isn't enabled. Can you enable it and then add them here?—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe Your Problem:
I have run into the issue where enabling the LEAP plugin results in Homebridge completely stop running. I tested this out with all of my other plugins as well to make sure it was not something else but have been able to run Homebridge smoothly without issues when all of my other plugins are enabled but the LEAP plugin is disabled. I was previously able to run the plugin without issues so not sure what has changed.
Logs:
My logs are provided in the screenshot below
Plugin Config:
Screenshots:
Environment:
The text was updated successfully, but these errors were encountered: