ring icon indicating copy to clipboard operation
ring copied to clipboard

Failed to activate stream

Open Dr4Eyez opened this issue 3 years ago • 41 comments

Streaming Issue

I can receive snapshot and notifications just fine but I am unable to get a livestream to work through the home app. It works fine on the ring app. I am fairly new to home bridge and I am not sure if I missed something while setting it up. Any help would be appreciated. Thank you.

Proposed Solution

The specific cause of the error could be related to incorrect data handling, data offsets, or indices during the cryptographic operations. However, I am unsure and am requesting help.

Environment

Homebridge

What operating system are you on?

Mac

Relevant log output

[8/9/2023, 12:22:17 AM] [Ring] Activating stream for Front Door (0.482s)
[8/9/2023, 12:22:17 AM] [Ring] WebSocket connected for Front Door
[8/9/2023, 12:22:18 AM] [Ring] iceConnectionStateChange: completed
[8/9/2023, 12:22:18 AM] [Ring] RangeError: offset is out of bounds
    at Uint8Array.set (<anonymous>)
    at Function.padStart (/usr/local/lib/node_modules/homebridge-ring/node_modules/webcrypto-core/build/webcrypto-core.js:972:13)
    at Function.encodeSignature (/usr/local/lib/node_modules/homebridge-ring/node_modules/webcrypto-core/build/webcrypto-core.js:940:22)
    at Function.sign (/usr/local/lib/node_modules/homebridge-ring/node_modules/@peculiar/webcrypto/build/webcrypto.js:1575:54)
    at EcdsaProvider.onSign (/usr/local/lib/node_modules/homebridge-ring/node_modules/@peculiar/webcrypto/build/webcrypto.js:1737:25)
    at EcdsaProvider.sign (/usr/local/lib/node_modules/homebridge-ring/node_modules/webcrypto-core/build/webcrypto-core.js:157:28)
    at SubtleCrypto.sign (/usr/local/lib/node_modules/homebridge-ring/node_modules/webcrypto-core/build/webcrypto-core.js:1405:39)
    at Function.create (/usr/local/lib/node_modules/homebridge-ring/node_modules/@peculiar/x509/build/x509.cjs.js:2407:35)
    at Function.value [as createSelfSignedCertificateWithKey] (/usr/local/lib/node_modules/homebridge-ring/node_modules/dtls/src/context/cipher.ts:108:18)
    at RTCDtlsTransport.setupCertificate (/usr/local/lib/node_modules/homebridge-ring/node_modules/werift/src/transport/dtls.ts:76:9)
[8/9/2023, 12:22:18 AM] [Ring] Failed to activate stream
[8/9/2023, 12:22:18 AM] [Ring] RangeError: offset is out of bounds
    at Uint8Array.set (<anonymous>)
    at Function.padStart (/usr/local/lib/node_modules/homebridge-ring/node_modules/webcrypto-core/build/webcrypto-core.js:972:13)
    at Function.encodeSignature (/usr/local/lib/node_modules/homebridge-ring/node_modules/webcrypto-core/build/webcrypto-core.js:940:22)
    at Function.sign (/usr/local/lib/node_modules/homebridge-ring/node_modules/@peculiar/webcrypto/build/webcrypto.js:1575:54)
    at EcdsaProvider.onSign (/usr/local/lib/node_modules/homebridge-ring/node_modules/@peculiar/webcrypto/build/webcrypto.js:1737:25)
    at EcdsaProvider.sign (/usr/local/lib/node_modules/homebridge-ring/node_modules/webcrypto-core/build/webcrypto-core.js:157:28)
    at SubtleCrypto.sign (/usr/local/lib/node_modules/homebridge-ring/node_modules/webcrypto-core/build/webcrypto-core.js:1405:39)
    at Function.create (/usr/local/lib/node_modules/homebridge-ring/node_modules/@peculiar/x509/build/x509.cjs.js:2407:35)
    at Function.value [as createSelfSignedCertificateWithKey] (/usr/local/lib/node_modules/homebridge-ring/node_modules/dtls/src/context/cipher.ts:108:18)
    at RTCDtlsTransport.setupCertificate (/usr/local/lib/node_modules/homebridge-ring/node_modules/werift/src/transport/dtls.ts:76:9)
[8/9/2023, 12:22:18 AM] [Ring] connectionStateChange: closed
[8/9/2023, 12:22:18 AM] [Ring] iceConnectionStateChange: closed
[8/9/2023, 12:22:18 AM] [Ring] Call ended before answered
[8/9/2023, 12:27:31 AM] [Homebridge UI] [homebridge-ring] Terminating child process...
[8/9/2023, 12:27:31 AM] [Homebridge UI] [homebridge-ring] Child process ended

Honesty Time

  • [X] I swear this is worth your time!

Dr4Eyez avatar Aug 09 '23 05:08 Dr4Eyez

I have the exact same issue. Are you also using the v12 beta of the plugin?

DerMuri avatar Aug 09 '23 08:08 DerMuri

@DerMuri I am using homebridge-ring v11.8.1

I have the exact same issue. Are you also using the v12 beta of the plugin?

Dr4Eyez avatar Aug 09 '23 11:08 Dr4Eyez

This is a strange issue as it appears at first glance to be unrelated to any of the recent changes in ring-homebridge/ring-client-api, which is further confirmed by the fact that users are having it with v11.8.1 as well. It looks like some kind of dependency conflict with some downstream package as I'm not sure why the standalone dtls package is installed.

Unfortunately, I'm travelling this week and won't have any chance to dig into it until sometime early next week.

tsightler avatar Aug 10 '23 02:08 tsightler

This is a strange issue as it appears at first glance to be unrelated to any of the recent changes in ring-homebridge/ring-client-api, which is further confirmed by the fact that users are having it with v11.8.1 as well. It looks like some kind of dependency conflict with some downstream package as I'm not sure why the standalone dtls package is installed.

Unfortunately, I'm travelling this week and won't have any chance to dig into it until sometime early next week.

No hurry. Thanks for addressing the issue.

Your work is much appreciated.

DerMuri avatar Aug 10 '23 13:08 DerMuri

FYI, I too am having this issue. It began when I updated to version 11.8.1. If it helps here's the log when opening a stream.

[11/08/2023, 09:11:27] [Ring] Preparing Live Stream for Front Door [11/08/2023, 09:11:27] [Ring] Stream Prepared for Front Door (0.379s) [11/08/2023, 09:11:28] [Ring] Activating stream for Front Door (0.467s) [11/08/2023, 09:11:30] [Ring] iceConnectionStateChange: completed [11/08/2023, 09:11:30] [Ring] RangeError: offset is out of bounds at Uint8Array.set () at Function.padStart (/usr/local/lib/node_modules/homebridge-ring/node_modules/webcrypto-core/build/webcrypto-core.js:972:13) at Function.encodeSignature (/usr/local/lib/node_modules/homebridge-ring/node_modules/webcrypto-core/build/webcrypto-core.js:940:22) at Function.sign (/usr/local/lib/node_modules/homebridge-ring/node_modules/@peculiar/webcrypto/build/webcrypto.js:1575:54) at EcdsaProvider.onSign (/usr/local/lib/node_modules/homebridge-ring/node_modules/@peculiar/webcrypto/build/webcrypto.js:1737:25) at EcdsaProvider.sign (/usr/local/lib/node_modules/homebridge-ring/node_modules/webcrypto-core/build/webcrypto-core.js:157:28) at SubtleCrypto.sign (/usr/local/lib/node_modules/homebridge-ring/node_modules/webcrypto-core/build/webcrypto-core.js:1405:39) at Function.create (/usr/local/lib/node_modules/homebridge-ring/node_modules/@peculiar/x509/build/x509.cjs.js:2407:35) at Function.value [as createSelfSignedCertificateWithKey] (/usr/local/lib/node_modules/homebridge-ring/node_modules/dtls/src/context/cipher.ts:108:18) at RTCDtlsTransport.setupCertificate (/usr/local/lib/node_modules/homebridge-ring/node_modules/werift/src/transport/dtls.ts:76:9) [11/08/2023, 09:11:30] [Ring] connectionStateChange: closed [11/08/2023, 09:11:30] [Ring] iceConnectionStateChange: closed [11/08/2023, 09:11:30] [Ring] Failed to activate stream [11/08/2023, 09:11:30] [Ring] RangeError: offset is out of bounds at Uint8Array.set () at Function.padStart (/usr/local/lib/node_modules/homebridge-ring/node_modules/webcrypto-core/build/webcrypto-core.js:972:13) at Function.encodeSignature (/usr/local/lib/node_modules/homebridge-ring/node_modules/webcrypto-core/build/webcrypto-core.js:940:22) at Function.sign (/usr/local/lib/node_modules/homebridge-ring/node_modules/@peculiar/webcrypto/build/webcrypto.js:1575:54) at EcdsaProvider.onSign (/usr/local/lib/node_modules/homebridge-ring/node_modules/@peculiar/webcrypto/build/webcrypto.js:1737:25) at EcdsaProvider.sign (/usr/local/lib/node_modules/homebridge-ring/node_modules/webcrypto-core/build/webcrypto-core.js:157:28) at SubtleCrypto.sign (/usr/local/lib/node_modules/homebridge-ring/node_modules/webcrypto-core/build/webcrypto-core.js:1405:39) at Function.create (/usr/local/lib/node_modules/homebridge-ring/node_modules/@peculiar/x509/build/x509.cjs.js:2407:35) at Function.value [as createSelfSignedCertificateWithKey] (/usr/local/lib/node_modules/homebridge-ring/node_modules/dtls/src/context/cipher.ts:108:18) at RTCDtlsTransport.setupCertificate (/usr/local/lib/node_modules/homebridge-ring/node_modules/werift/src/transport/dtls.ts:76:9)

F-Kafka avatar Aug 11 '23 14:08 F-Kafka

I have similar logs as well

teacherguy2020 avatar Aug 12 '23 12:08 teacherguy2020

Seeing a lot of reports of this, including some in the Google Nest homebridge plugin. I agree with @tsightler that it's likely a dependency (or sub dependency) that changed, but I don't have any specific ideas on which one at this point.

I have not been able to reproduce this myself yet. For those who are experience it, could you provide the following info:

  • Node.js version
  • homebridge-ring version
  • Camera model experiencing issues
  • iOS/TvOS version, including both iPhone and home hub (AppleTV, HomePod, etc)

This should hopefully help us narrow down the cause.

dgreif avatar Aug 13 '23 20:08 dgreif

Hi thanks for looking into it.

Nods.js: v18.17.1 Homebridge v1.6.1 Ring plugin is 12.0 beta I am using the Ring Video Doorbell (2nd generation)

DerMuri avatar Aug 13 '23 20:08 DerMuri

Thanks for investigating this.

Node.js version: 18.17.1 Homebridge version: 1.6.1 Homebridge Ring Plugin version: 11.8.1 Camera: Peephole Cam

F-Kafka avatar Aug 13 '23 21:08 F-Kafka

Seeing a lot of reports of this, including some in the Google Nest homebridge plugin. I agree with @tsightler that it's likely a dependency (or sub dependency) that changed, but I don't have any specific ideas on which one at this point.

I have not been able to reproduce this myself yet. For those who are experience it, could you provide the following info:

  • Node.js version
  • homebridge-ring version
  • Camera model experiencing issues

This should hopefully help us narrow down the cause.

Node.js version: 18.17.1 Homebridge version: 1.6.1 Homebridge Ring Plugin version: v12.0 tried downgrading to 11.8.1 as well it’s same. Camera: Ring Doorbell Pro 1st Gen

Thanks

shaileshck avatar Aug 14 '23 01:08 shaileshck

Me too. Recently upgraded to latest NodeJS version v18.17.1.

doncarajo avatar Aug 14 '23 02:08 doncarajo

Seeing a lot of reports of this, including some in the Google Nest homebridge plugin. I agree with @tsightler that it's likely a dependency (or sub dependency) that changed, but I don't have any specific ideas on which one at this point.

I have not been able to reproduce this myself yet. For those who are experience it, could you provide the following info:

  • Node.js version
  • homebridge-ring version
  • Camera model experiencing issues

This should hopefully help us narrow down the cause.

Node.js version: v18.17.1 Homebridge version: 1.6.1 Homebridge ring plugin version: homebridge-ring v11.8.1 Ring Doorbell: Video Doorbell 3 Ring Stick up Cam(s): 3rd Gen

The iat (time issued) of the refresh token of the ring plugin was: 1687123720 (Sun Jun 18th 2023) - which i refreshed and re-enabled the account connection which for seconds "healed" all the stick up cams with a poster picture (stream placeholder) which I tried to then re-connect for the live-stream and this error came up in the logs:

[13/08/2023, 21:46:45] [Ring] Preparing Live Stream for Garden Tree
[13/08/2023, 21:46:46] [Ring] Stream Prepared for Garden Tree (0.399s)
[13/08/2023, 21:46:46] [Ring] Activating stream for Garden Tree (0.446s)
[13/08/2023, 21:46:47] [Ring] iceConnectionStateChange: completed
[13/08/2023, 21:46:47] [Ring] Failed to activate stream
[13/08/2023, 21:46:47] [Ring] RangeError: offset is out of bounds
    at Uint8Array.set (<anonymous>)
    at Function.padStart (/usr/local/lib/node_modules/homebridge-ring/node_modules/webcrypto-core/build/webcrypto-core.js:972:13)
    at Function.encodeSignature (/usr/local/lib/node_modules/homebridge-ring/node_modules/webcrypto-core/build/webcrypto-core.js:940:22)
    at Function.sign (/usr/local/lib/node_modules/homebridge-ring/node_modules/@peculiar/webcrypto/build/webcrypto.js:1575:54)
    at EcdsaProvider.onSign (/usr/local/lib/node_modules/homebridge-ring/node_modules/@peculiar/webcrypto/build/webcrypto.js:1737:25)
    at EcdsaProvider.sign (/usr/local/lib/node_modules/homebridge-ring/node_modules/webcrypto-core/build/webcrypto-core.js:157:28)
    at SubtleCrypto.sign (/usr/local/lib/node_modules/homebridge-ring/node_modules/webcrypto-core/build/webcrypto-core.js:1405:39)
    at Function.create (/usr/local/lib/node_modules/homebridge-ring/node_modules/@peculiar/x509/build/x509.cjs.js:2407:35)
    at Function.value [as createSelfSignedCertificateWithKey] (/usr/local/lib/node_modules/homebridge-ring/node_modules/dtls/src/context/cipher.ts:108:18)
    at RTCDtlsTransport.setupCertificate (/usr/local/lib/node_modules/homebridge-ring/node_modules/werift/src/transport/dtls.ts:76:9)
    at ensureCert (/usr/local/lib/node_modules/homebridge-ring/node_modules/werift/src/peerConnection.ts:1293:34)
    at RTCPeerConnection.ensureCerts (/usr/local/lib/node_modules/homebridge-ring/node_modules/werift/src/peerConnection.ts:1301:7)
    at RTCPeerConnection.createAnswer (/usr/local/lib/node_modules/homebridge-ring/node_modules/werift/src/peerConnection.ts:1306:5)
    at WeriftPeerConnection.createAnswer (/usr/local/lib/node_modules/homebridge-ring/node_modules/ring-client-api/lib/streaming/peer-connection.js:121:24)
    at WebrtcConnection.handleMessage (/usr/local/lib/node_modules/homebridge-ring/node_modules/ring-client-api/lib/streaming/webrtc-connection.js:29:32)
[13/08/2023, 21:46:47] [Ring] connectionStateChange: closed
[13/08/2023, 21:46:47] [Ring] iceConnectionStateChange: closed

Hope this helps!

cebrakadabra avatar Aug 14 '23 04:08 cebrakadabra

Let us know if you need assistance in testing: https://github.com/dgreif/ring/pull/1283

Shoutout to @tsightler and @dgreif ❤️

edit: I installed the beta12 version and now all snapshots are working on ring cameras - it loads longer for the livestream, but remains with the same error in a failed state - however the behavior seems to be improving

cebrakadabra avatar Aug 14 '23 04:08 cebrakadabra

Another thing that might be interesting, what other plugins are installed (if any) and what is the iOS version in use.

tsightler avatar Aug 14 '23 13:08 tsightler

  • Homebridge is running on macOS Monterey
  • The other plugins are: Homebridge Hue, Homebridge Xiaomi Fan
  • The issue appears regardless where I try to open the stream. I am on Sonoma beta, iOS 17 Beta, tvOS 17 beta. I haven't tested it on a non-beta OS, yet.

DerMuri avatar Aug 14 '23 14:08 DerMuri

Running Homebridge on Rpi4 TVOS 17 and IOS 17 MacOS Ventura Same issue on all above versions. Developer as well public beta.

Attached plugin used.

On Mon, 14 Aug 2023 at 7:50 PM, DerMuri @.***> wrote:

  • Homebridge is running on macOS Monterey
  • The other plugins are: Homebridge Hue, Homebridge Xiaomi Fan
  • The issue appears regardless where I try to open the stream. I am on Sonoma beta, iOS 17 Beta, tvOS 17 beta. I haven't tested it on a non-beta OS, yet.

— Reply to this email directly, view it on GitHub https://github.com/dgreif/ring/issues/1286#issuecomment-1677411409, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQFLWWHLZ2XQAKZ5RC6KZ5DXVIXZZANCNFSM6AAAAAA3JONFD4 . You are receiving this because you commented.Message ID: @.***>

shaileshck avatar Aug 14 '23 14:08 shaileshck

Can some user experiencing this issue please go into the homebridge shell and post the output of the following command:

$ npm ls --depth=2

tsightler avatar Aug 15 '23 02:08 tsightler

@tsightler from cd /usr/local/lib/node_modules/npm

[email protected] /usr/local/lib/node_modules/npm
├── @isaacs/[email protected]
├─┬ @npmcli/[email protected]
│ ├── @isaacs/[email protected] deduped
│ ├── @npmcli/[email protected] deduped
│ ├─┬ @npmcli/[email protected]
│ │ ├── [email protected]
│ │ └── [email protected] deduped
│ ├── @npmcli/[email protected] deduped
│ ├─┬ @npmcli/[email protected]
│ │ ├── [email protected] deduped
│ │ ├── [email protected] deduped
│ │ ├── [email protected] deduped
│ │ └── [email protected] deduped
│ ├── @npmcli/[email protected]
│ ├── @npmcli/[email protected]
│ ├── @npmcli/[email protected] deduped
│ ├─┬ @npmcli/[email protected]
│ │ └── [email protected]
│ ├── @npmcli/[email protected] deduped
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected] deduped
│ │ ├── [email protected]
│ │ └── [email protected] deduped
│ ├── [email protected] deduped
│ ├── [email protected]
│ ├── [email protected] deduped
│ ├── [email protected] deduped
│ ├── [email protected]
│ ├── [email protected] deduped
│ ├── [email protected] deduped
│ ├── [email protected] deduped
│ ├── [email protected] deduped
│ ├── [email protected] deduped
│ ├── [email protected] deduped
│ ├── [email protected] deduped
│ ├── [email protected] deduped
│ ├── [email protected] deduped
│ ├── [email protected] deduped
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected] deduped
│ ├── [email protected] deduped
│ ├── [email protected] deduped
│ ├── [email protected] deduped
│ └── [email protected]
├─┬ @npmcli/[email protected]
│ ├── @npmcli/[email protected] deduped
│ ├── [email protected] deduped
│ ├── [email protected] deduped
│ ├── [email protected] deduped
│ ├── [email protected] deduped
│ ├── [email protected] deduped
│ └── [email protected] deduped
├── UNMET DEPENDENCY @npmcli/docs@^1.0.0
├── UNMET DEPENDENCY @npmcli/eslint-config@^4.0.0
├─┬ @npmcli/[email protected]
│ └── [email protected] deduped
├─┬ @npmcli/[email protected]
│ ├── @npmcli/[email protected] deduped
│ ├── [email protected]
│ ├── [email protected] deduped
│ ├── [email protected] deduped
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ └── [email protected]
│ ├── [email protected] deduped
│ └── [email protected] deduped
├─┬ @npmcli/[email protected]
│ ├── @npmcli/[email protected] deduped
│ ├── [email protected] deduped
│ ├── [email protected] deduped
│ └── [email protected] deduped
├── UNMET DEPENDENCY @npmcli/mock-registry@^1.0.0
├─┬ @npmcli/[email protected]
│ ├── [email protected] deduped
│ ├── [email protected] deduped
│ ├─┬ [email protected]
│ │ ├── [email protected] deduped
│ │ ├── [email protected]
│ │ ├── [email protected] deduped
│ │ └── [email protected] deduped
│ └── [email protected]
├─┬ @npmcli/[email protected]
│ └── [email protected] deduped
├─┬ @npmcli/[email protected]
│ ├── @npmcli/[email protected] deduped
│ ├── @npmcli/[email protected] deduped
│ ├── [email protected] deduped
│ ├── [email protected] deduped
│ └── [email protected] deduped
├── UNMET DEPENDENCY @npmcli/[email protected]
├── [email protected]
├── [email protected]
├─┬ [email protected]
│ ├── @npmcli/[email protected] deduped
│ ├── [email protected] deduped
│ ├── [email protected] deduped
│ ├── [email protected] deduped
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├── [email protected] deduped
│ ├── [email protected] deduped
│ ├── [email protected] deduped
│ ├── [email protected] deduped
│ ├── [email protected] deduped
│ └─┬ [email protected]
│   └── [email protected]
├─┬ [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ └─┬ [email protected]
│   └── [email protected]
├── [email protected]
├─┬ [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ └── [email protected] deduped
│ └─┬ [email protected]
│   └── [email protected]
├─┬ [email protected]
│ ├── @colors/[email protected]
│ └── [email protected] deduped
├─┬ [email protected]
│ ├── [email protected] deduped
│ └─┬ [email protected]
│   └── [email protected]
├── [email protected]
├─┬ [email protected]
│ └── [email protected] deduped
├─┬ [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ └── [email protected] deduped
│ ├─┬ [email protected]
│ │ ├── @isaacs/[email protected]
│ │ └── @pkgjs/[email protected]
│ ├── [email protected] deduped
│ ├── [email protected] deduped
│ └─┬ [email protected]
│   ├── [email protected]
│   └── [email protected] deduped
├── [email protected]
├─┬ [email protected]
│ └── [email protected] deduped
├── [email protected]
├─┬ [email protected]
│ ├── [email protected] deduped
│ ├─┬ [email protected]
│ │ └── [email protected] deduped
│ ├── [email protected] deduped
│ ├── [email protected] deduped
│ ├── [email protected] deduped
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ └── [email protected]
│ └── [email protected] deduped
├─┬ [email protected]
│ └─┬ [email protected]
│   └── [email protected]
├── [email protected]
├─┬ [email protected]
│ ├── [email protected] deduped
│ └── [email protected] deduped
├─┬ [email protected]
│ ├── @npmcli/[email protected] deduped
│ ├─┬ @npmcli/[email protected]
│ │ └── [email protected] deduped
│ ├── @npmcli/[email protected] deduped
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected] deduped
│ ├── [email protected] deduped
│ ├── [email protected] deduped
│ └── [email protected] deduped
├─┬ [email protected]
│ ├── @npmcli/[email protected] deduped
│ ├── @npmcli/[email protected] deduped
│ ├── [email protected] deduped
│ ├── [email protected] deduped
│ ├── [email protected] deduped
│ ├── [email protected] deduped
│ ├── [email protected] deduped
│ ├── [email protected] deduped
│ ├── [email protected] deduped
│ ├── [email protected] deduped
│ ├── [email protected] deduped
│ └── [email protected] deduped
├─┬ [email protected]
│ └── @npmcli/[email protected] deduped
├─┬ [email protected]
│ ├── [email protected]
│ └── [email protected] deduped
├─┬ [email protected]
│ ├── [email protected] deduped
│ └── [email protected] deduped
├─┬ [email protected]
│ ├── @npmcli/[email protected] deduped
│ ├── @npmcli/[email protected] deduped
│ ├── [email protected] deduped
│ └── [email protected] deduped
├─┬ [email protected]
│ ├── [email protected] deduped
│ ├── [email protected] deduped
│ ├── [email protected] deduped
│ ├── [email protected] deduped
│ ├── [email protected] deduped
│ ├── [email protected] deduped
│ ├─┬ [email protected]
│ │ ├── @sigstore/[email protected]
│ │ ├── [email protected] deduped
│ │ └── [email protected]
│ └── [email protected] deduped
├─┬ [email protected]
│ └── [email protected] deduped
├─┬ [email protected]
│ ├── [email protected] deduped
│ └── [email protected] deduped
├─┬ [email protected]
│ ├── @npmcli/[email protected] deduped
│ ├── @npmcli/[email protected] deduped
│ ├── [email protected] deduped
│ ├── [email protected] deduped
│ └── [email protected] deduped
├── UNMET DEPENDENCY licensee@^10.0.0
├─┬ [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ └── [email protected]
│ ├── [email protected] deduped
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ ├── @tootallnate/[email protected]
│ │ ├── [email protected]
│ │ └── [email protected] deduped
│ ├─┬ [email protected]
│ │ ├── [email protected] deduped
│ │ └── [email protected] deduped
│ ├── [email protected]
│ ├── [email protected] deduped
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected] deduped
│ │ └── [email protected] deduped
│ ├── [email protected] deduped
│ ├── [email protected] deduped
│ ├── [email protected] deduped
│ ├── [email protected]
│ ├── [email protected] deduped
│ ├─┬ [email protected]
│ │ ├── [email protected] deduped
│ │ ├── [email protected] deduped
│ │ └── [email protected]
│ └── [email protected] deduped
├─┬ [email protected]
│ └─┬ [email protected]
│   └── [email protected]
├─┬ [email protected]
│ └─┬ [email protected]
│   └── [email protected] deduped
├── [email protected]
├── [email protected]
├── UNMET DEPENDENCY nock@^13.3.0
├─┬ [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ └── [email protected]
│ ├── [email protected] deduped
│ ├─┬ [email protected]
│ │ ├── [email protected] deduped
│ │ ├── [email protected]
│ │ ├── [email protected] deduped
│ │ ├── [email protected] deduped
│ │ ├── [email protected] deduped
│ │ ├── [email protected] deduped
│ │ ├── [email protected] deduped
│ │ ├── [email protected] deduped
│ │ ├── [email protected]
│ │ ├── [email protected] deduped
│ │ ├── [email protected] deduped
│ │ ├── [email protected]
│ │ ├── [email protected] deduped
│ │ ├── [email protected] deduped
│ │ ├── [email protected] deduped
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected] deduped
│ │ ├── [email protected]
│ │ └── [email protected] deduped
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├── [email protected] deduped
│ ├── [email protected] deduped
│ └─┬ [email protected]
│   └── [email protected] deduped
├─┬ [email protected]
│ └── [email protected] deduped
├─┬ [email protected]
│ └── [email protected] deduped
├─┬ [email protected]
│ └── [email protected] deduped
├─┬ [email protected]
│ ├── [email protected] deduped
│ ├── [email protected] deduped
│ ├── [email protected] deduped
│ └── [email protected] deduped
├─┬ [email protected]
│ └─┬ [email protected]
│   └── [email protected] deduped
├─┬ [email protected]
│ ├── [email protected] deduped
│ ├── [email protected] deduped
│ ├── [email protected] deduped
│ └── [email protected] deduped
├─┬ [email protected]
│ ├── [email protected] deduped
│ └── [email protected] deduped
├─┬ [email protected]
│ ├── [email protected] deduped
│ ├── [email protected] deduped
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ └── [email protected]
│ ├── [email protected] deduped
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ └── [email protected] deduped
│ ├── [email protected] deduped
│ └── [email protected] deduped
├── [email protected]
├─┬ [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected] deduped
│ │ ├── [email protected]
│ │ ├── [email protected] deduped
│ │ ├── [email protected]
│ │ ├── [email protected] deduped
│ │ ├── [email protected] deduped
│ │ ├── [email protected] deduped
│ │ └── [email protected]
│ └── [email protected]
├─┬ [email protected]
│ └─┬ [email protected]
│   ├── [email protected]
│   └── [email protected]
├─┬ [email protected]
│ ├── @npmcli/[email protected] deduped
│ ├── @npmcli/[email protected] deduped
│ ├── @npmcli/[email protected] deduped
│ ├── @npmcli/[email protected] deduped
│ ├── [email protected] deduped
│ ├── [email protected] deduped
│ ├── [email protected] deduped
│ ├── [email protected] deduped
│ ├── [email protected] deduped
│ ├── [email protected] deduped
│ ├── [email protected] deduped
│ ├── [email protected] deduped
│ ├── [email protected] deduped
│ ├── [email protected] deduped
│ ├── [email protected] deduped
│ ├── [email protected] deduped
│ ├── [email protected] deduped
│ └── [email protected] deduped
├─┬ [email protected]
│ ├── [email protected] deduped
│ ├── [email protected]
│ └── [email protected]
├── [email protected]
├── [email protected]
├─┬ [email protected]
│ ├── [email protected] deduped
│ └── [email protected] deduped
├─┬ [email protected]
│ ├── [email protected] deduped
│ ├── [email protected] deduped
│ ├── [email protected] deduped
│ └── [email protected] deduped
├─┬ [email protected]
│ └── [email protected]
├── UNMET DEPENDENCY remark-gfm@^3.0.1
├── UNMET DEPENDENCY remark-github@^11.2.4
├── UNMET DEPENDENCY remark@^14.0.2
├─┬ [email protected]
│ └─┬ [email protected]
│   └── [email protected] deduped
├── UNMET DEPENDENCY spawk@^1.7.1
├─┬ [email protected]
│ └── [email protected] deduped
├── UNMET DEPENDENCY tap@^16.3.4
├─┬ [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├── [email protected] deduped
│ ├── [email protected] deduped
│ ├── [email protected]
│ └── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├─┬ [email protected]
│ └─┬ [email protected]
│   └── [email protected] deduped
├─┬ [email protected]
│ └── [email protected]
└─┬ [email protected]
  ├── [email protected]
  └── [email protected]

cebrakadabra avatar Aug 15 '23 02:08 cebrakadabra

Thanks @cebrakadabra I need to see the dependencies from the context of homebridge, which is why I asked for the output from homebridge shell (for example, open a shell from the Homebridge UI). What you posted appears to be from a standard OS shell (I'm not sure what install method you used for Homebridge). I would expect it to list the homebridge plugins, and their dependencies, like this:

homebridge@ /var/lib/homebridge
├─┬ [email protected]
│ ├─┬ @google-cloud/[email protected]
│ │ ├── @google-cloud/[email protected]
│ │ ├── @google-cloud/[email protected]
│ │ ├── @google-cloud/[email protected]
│ │ ├── @google-cloud/[email protected]
│ │ ├── @opentelemetry/[email protected]
│ │ ├── @opentelemetry/[email protected]
│ │ ├── @types/[email protected]
│ │ ├── @types/[email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected] deduped
│ │ └── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ └─┬ [email protected]
│   ├── @fidm/[email protected]
│   ├── @minhducsun2002/[email protected]
│   ├── @peculiar/[email protected]
│   ├── @peculiar/[email protected]
│   ├── @shinyoshiaki/[email protected]
│   ├── [email protected]
│   ├── [email protected]
│   ├── [email protected]
│   ├── [email protected]
│   ├── [email protected] deduped
│   ├── [email protected]
│   ├── [email protected]
│   ├── [email protected] deduped
│   ├── [email protected]
│   ├── [email protected] deduped
│   ├── [email protected]
│   ├── [email protected]
│   ├── [email protected]
│   ├── [email protected]
│   ├── [email protected]
│   └── [email protected]
├─┬ [email protected]
│ ├─┬ @homebridge/[email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ └── [email protected]
│ ├── @homebridge/[email protected]
│ └─┬ [email protected]
│   ├── @eneris/[email protected]
│   ├── @homebridge/[email protected] deduped
│   ├── @peculiar/[email protected]
│   ├── @peculiar/[email protected]
│   ├── @types/[email protected]
│   ├── [email protected]
│   ├── [email protected]
│   ├── [email protected]
│   ├── [email protected]
│   ├── [email protected]
│   ├── [email protected] deduped
│   ├── [email protected]
│   ├── [email protected] deduped
│   ├── [email protected]
│   ├── [email protected]
│   ├── [email protected]
│   └── [email protected]
└─┬ [email protected]
  ├─┬ [email protected]
  │ ├── [email protected]
  │ └── [email protected]
  ├── [email protected]
  ├─┬ [email protected]
  │ ├── [email protected]
  │ ├── [email protected]
  │ └── [email protected]
  ├─┬ [email protected]
  │ ├── @homebridge/[email protected]
  │ ├── @homebridge/[email protected]
  │ ├── [email protected]
  │ ├── [email protected]
  │ ├── [email protected]
  │ ├── [email protected]
  │ ├── [email protected]
  │ ├── [email protected] deduped
  │ ├── [email protected]
  │ └── [email protected]
  ├── [email protected]
  ├─┬ [email protected]
  │ └── [email protected]
  └─┬ [email protected]
    ├── [email protected]
    └── [email protected]

tsightler avatar Aug 15 '23 03:08 tsightler

@tsightler - i was wondering - I went one level deeper, as my homebridge context on my raspberry pi didn't return anything (see screenshot below)

Screenshot 2023-08-14 at 8 46 54 PM

cebrakadabra avatar Aug 15 '23 03:08 cebrakadabra