Giter Club home page Giter Club logo

Comments (8)

tsightler avatar tsightler commented on June 16, 2024 1

Perhaps obvious but, as a general rule, if the API responds that the token is invalid, then it's because the token is invalid. If you just generated it, then that would indicate that there was a copy/paste error (commonly the unintentional insertion of line breaks since the token is very long) or some other issue with how the token was placed into the configuration. Other options include temporary Ring outages (they happen), or Ring has changed something and broken authentication completely, however, that latter issue would usually be followed by a significant number of reports in very short order.

You might consider using one of the UI based options for generating a token to avoid any potential copy/paste issues.

from ring.

dgreif avatar dgreif commented on June 16, 2024

406 in particular can also mean that you are being rate limited. If this occurs, you simply need to wait a bit (e.g. a few hours) and try again. This doesn't happen often, but can occur if you try to log in many times in a row.

from ring.

johnrr70 avatar johnrr70 commented on June 16, 2024

Similar experience.... But possibly something different

Have added both the Doorbell Cam and the Spotlight Cam to a Ring Chime Pro 2nd Gen because of the weak WiFi signal I was getting. Fixes the problem completely for the cameras using the Ring App....but not Homebridge won't connect

Logs here....Tried manually updating token

[8/10/2023, 3:19:08 PM] Homebridge v1.6.1 (HAP v0.11.1) (Homebridge 5A20) is running on port 51219.
[8/10/2023, 3:19:08 PM] [Ring] Found the following locations:
[8/10/2023, 3:19:08 PM] [Ring] locationId: 757b30a6-c02f-4eb0-b7f4-b8b11131bf60 - Virginia Beach
[8/10/2023, 3:19:08 PM] [Ring] 404 from endpoint https://api.ring.com/clients_api/doorbots/19321427/motions_subscribe
[8/10/2023, 3:19:08 PM] [Ring] Session hardware_id not found. Creating a new session and trying again.
[8/10/2023, 3:19:08 PM] [Ring] 404 from endpoint https://api.ring.com/clients_api/doorbots/25143315/subscribe
[8/10/2023, 3:19:08 PM] [Ring] Session hardware_id not found. Creating a new session and trying again.
[8/10/2023, 3:19:08 PM] [Ring] 404 from endpoint https://api.ring.com/clients_api/doorbots/19321427/subscribe
[8/10/2023, 3:19:08 PM] [Ring] Session hardware_id not found. Creating a new session and trying again.
[8/10/2023, 3:19:08 PM] [Ring] 404 from endpoint https://api.ring.com/clients_api/doorbots/25143315/motions_subscribe
[8/10/2023, 3:19:08 PM] [Ring] Session hardware_id not found. Creating a new session and trying again.
[8/10/2023, 3:19:08 PM] [Ring] Configuring 2 cameras and 3 devices for location "Virginia Beach" - locationId: 757b30a6-c02f-4eb0-b7f4-b8b11131bf60
[8/10/2023, 3:19:08 PM] [Ring] Adding new accessory 2fd2c5cf-da57-4c88-9df0-6b92cf026341 chime_pro_v2 Garage
[8/10/2023, 3:21:07 PM] [Ring] Preparing Live Stream for Front Door
[8/10/2023, 3:21:07 PM] [Ring] Stream Prepared for Front Door (0.286s)
[8/10/2023, 3:21:08 PM] [Ring] Activating stream for Front Door (0.356s)
[8/10/2023, 3:21:08 PM] [Ring] iceConnectionStateChange: completed
[8/10/2023, 3:21:08 PM] [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)
[8/10/2023, 3:21:08 PM] [Ring] connectionStateChange: closed
[8/10/2023, 3:21:08 PM] [Ring] iceConnectionStateChange: closed
[8/10/2023, 3:21:09 PM] [Ring] Failed to activate stream
[8/10/2023, 3:21:09 PM] [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)
[8/10/2023, 3:21:22 PM] [Ring] Preparing Live Stream for Front
[8/10/2023, 3:21:22 PM] [Ring] Stream Prepared for Front (0.127s)
[8/10/2023, 3:21:22 PM] [Ring] Activating stream for Front (0.158s)
[8/10/2023, 3:21:22 PM] [Ring] iceConnectionStateChange: completed
[8/10/2023, 3:21:22 PM] [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)
[8/10/2023, 3:21:22 PM] [Ring] connectionStateChange: closed
[8/10/2023, 3:21:22 PM] [Ring] iceConnectionStateChange: closed
[8/10/2023, 3:21:22 PM] [Ring] Failed to activate stream
[8/10/2023, 3:21:22 PM] [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)

from ring.

dgreif avatar dgreif commented on June 16, 2024

@johnrr70 please see #1286 for your specific issue. I'm going to hide your comment as it's a bit off topic for this issue, but you are welcome to post on #1286 where I've asked users to provide some specific data to help us narrow the problem down.

from ring.

PeterLawrence1 avatar PeterLawrence1 commented on June 16, 2024

I've just had this, however the error was due to using a VPN on my computer. I couldn't even get onto Ring's website.
I know they don't like VPN's. Once turned off I had no issue.
Do you have a VPN turned on?

from ring.

DerMuri avatar DerMuri commented on June 16, 2024

I don't have a VPN running.

Did you have the VPN running on the Homebridge or on the client side?

I've just had this, however the error was due to using a VPN on my computer. I couldn't even get onto Ring's website. I know they don't like VPN's. Once turned off I had no issue. Do you have a VPN turned on?

from ring.

PeterLawrence1 avatar PeterLawrence1 commented on June 16, 2024

I have Homebridge installed on my Mac

from ring.

dgreif avatar dgreif commented on June 16, 2024

Haven't heard back from @risograph, so I'm going to close this and assume it was rate limiting related.

from ring.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.