Giter Club home page Giter Club logo

Comments (3)

Jozer99 avatar Jozer99 commented on June 16, 2024

Noticed a few more errors in the log, hope this helps:

`[18/10/2023, 20:08:49] [Ring] HTTPError: Response code 406 (Not Acceptable)
at Request. (/var/lib/homebridge/node_modules/homebridge-ring/node_modules/got/dist/source/as-promise/index.js:118:42)
at processTicksAndRejections (node:internal/process/task_queues:95:5) {
code: 'ERR_NON_2XX_3XX_RESPONSE',
timings: {
start: 1697674128814,
socket: 1697674128852,
lookup: 1697674128937,
connect: 1697674129044,
secureConnect: 1697674129119,
upload: 1697674129123,
response: 1697674129302,
end: 1697674129355,
error: undefined,
abort: undefined,
phases: {
wait: 38,
dns: 85,
tcp: 107,
tls: 75,
request: 4,
firstByte: 179,
download: 53,
total: 541
}
}
}

[18/10/2023, 20:08:49] [Ring] Request to https://api.ring.com/devices/v1/locations failed:
[18/10/2023, 20:08:49] [Ring] Error: Refresh token is not valid. Unable to authenticate with Ring servers. See https://github.com/dgreif/ring/wiki/Refresh-Tokens
at RingRestClient.getGrantData (/var/lib/homebridge/node_modules/homebridge-ring/node_modules/ring-client-api/lib/rest-client.js:140:15)
at RingRestClient.getAuth (/var/lib/homebridge/node_modules/homebridge-ring/node_modules/ring-client-api/lib/rest-client.js:143:32)
at RingRestClient.getAuth (/var/lib/homebridge/node_modules/homebridge-ring/node_modules/ring-client-api/lib/rest-client.js:184:29)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
[18/10/2023, 20:08:49] [Ring] Error connecting to API
[18/10/2023, 20:08:49] [Ring] Error: Refresh token is not valid. Unable to authenticate with Ring servers. See https://github.com/dgreif/ring/wiki/Refresh-Tokens
at RingRestClient.getGrantData (/var/lib/homebridge/node_modules/homebridge-ring/node_modules/ring-client-api/lib/rest-client.js:140:15)
at RingRestClient.getAuth (/var/lib/homebridge/node_modules/homebridge-ring/node_modules/ring-client-api/lib/rest-client.js:143:32)
at RingRestClient.getAuth (/var/lib/homebridge/node_modules/homebridge-ring/node_modules/ring-client-api/lib/rest-client.js:184:29)
at processTicksAndRejections (node:internal/process/task_queues:95:5)`

from ring.

tsightler avatar tsightler commented on June 16, 2024

The 406 error typically means your IP has been rate limited or otherwise temporarily blocked. This can sometimes happen if, for example, you are using VPN and/or "privacy" services on your router as Ring blocks access to their systems from many of those IP blocks. However, it can also happen it cases where, for example, a token expired because ring-client-api tries over and over and Ring will temporarily block access. You'll need to stop all connections to Ring from that location for 8-12 hours and then try again.

If you do a search for "406" under closed issues you will see a number of other reports and various solutions, most involved simply stopping ring-homebridge for a while and tryting again later.

from ring.

tsightler avatar tsightler commented on June 16, 2024

Closing due to no response.

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.