Comments (8)
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.
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.
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.
@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.
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.
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.
I have Homebridge installed on my Mac
from ring.
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)
- myQ Integration HOT 1
- Alarm triggered when using Apple Home intercom HOT 2
- Front door Ring doorbell motion pop up notifications no longer show up on Apple TV 4K HOT 5
- Difference in quality between Ring Camera (getSnapshot) and video search HOT 1
- brief delay in HomePods chime when pressing intercom button HOT 3
- Live Streaming of camera fails after HomeKit architecture upgrade HOT 6
- RIng Server Failure with latest Node.JS HOT 1
- Ring Homebridge camera becomes non-responsive at Apple TV after ~ 5 minutes. HOT 4
- Ring Intercom HOT 1
- Trouble recording video to file or live streaming on an M1 Mac Mini HOT 3
- Ring Plugin v 12.1.0 works for everything but Live Video in Homebridge HOT 1
- Ring Door Opener not working anymore HOT 5
- Add Chime Pro Nightlight as Automation Option HOT 3
- Ring Intercom - not possible to choose which HomePods should ring HOT 8
- Strange error when viewing live streaming from "Home" app HOT 1
- Battery Level in Home
- Ring Intercom HOT 5
- Accessories not exposed to HomeKit HOT 1
- onDoorbellPressed not sending updates HOT 1
- Response Code 422 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ring.