dgreif / ring

Unofficial packages for Ring Doorbells, Cameras, Alarm System, and Smart Lighting
MIT License
1.2k stars 160 forks source link

Updated to latest version and doesn't work 9.18.5 and get 404 error connecting to API #702

Closed alangsam1 closed 3 years ago

alangsam1 commented 3 years ago

Bug Report

Describe the Bug

updated Ring Plugin to latest 9.18.5. and rebooted.Immediately got errors. Uninstalled and reinstalled on a separate RING Bridge and still doesn't work. ### To Reproduce Steps to reproduce the behavior: - Start Homebridge - Attempt to start/ All other plugins load. then Ring doesn't open - 7/27/2021, 2:49:47 PMRing BridgeRingERRORRequest to https://app.ring.com/rhq/v1/devices/v1/locations failed with status 404. Response body: 7/27/2021, 2:49:47 PMRing BridgeRingERRORError connecting to API 7/27/2021, 2:49:47 PMRing BridgeRingERRORHTTPError: Response code 404 (Not Found) ### Expected behavior expected to see my camera images in the homekit addable to stream etc. ### Screenshots/Logs If applicable, add screenshots and log output to help explain your problem. ### Additional context Add any other context about the problem here. ### Homebridge Ring Config Post homebridge-ring platform config _without sensitive information_ ``` HIGHLIGHT THIS TEXT AND POST CONFIG HERE DO NOT INCLUDE YOUR REFRESH TOKEN OR EMAIL/PASSWORD (replace them with xxx) ``` ### Environment
mikesalz commented 3 years ago

Got the yuck here too...


[7/27/2021, 7:17:55 PM] [Ring] Request to https://app.ring.com/rhq/v1/devices/v1/locations failed with status 404. Response body: 
[7/27/2021, 7:17:55 PM] [Ring] Error connecting to API
[7/27/2021, 7:17:55 PM] [Ring] HTTPError: Response code 404 (Not Found)
    at Request.<anonymous> (/homebridge/node_modules/homebridge-ring/node_modules/got/dist/source/as-promise/index.js:117:42)
    at processTicksAndRejections (internal/process/task_queues.js:97:5) {
  code: undefined,
  timings: {
    start: 1627413475111,
    socket: 1627413475344,
    lookup: undefined,
    connect: undefined,
    secureConnect: undefined,
    upload: 1627413475344,
    response: 1627413475402,
    end: 1627413475403,
    error: undefined,
    abort: undefined,
    phases: {
      wait: 233,
      dns: undefined,
      tcp: undefined,
      tls: undefined,
      request: NaN,
      firstByte: 58,
      download: 1,
      total: 292
    }
  }
}
lishan89uc commented 3 years ago

ehhh, downgrading to previous versions didn't work... HELP!

mpreissner commented 3 years ago

This is the same issue as described in #699

gburlile commented 3 years ago

Same issue here.

searay345 commented 3 years ago

Same issue here. Using HOOBS 4.0.96 on a Pi4 and the latest ring plugin release. Node version 14.17.2. Homebridge version 1.3.4. Cameras are inaccessible from HomeKit and I can't change alarm status or do anything with Ring in HomeKit. Patiently awaiting a fix.

nertwork commented 3 years ago

Can confirm same issue - hopefully we can make le fix! https://twitter.com/jamesfarr/status/1420136726241054723

rpmartinez3 commented 3 years ago

Same here.

mjwillson23 commented 3 years ago

I have this same issue, though it seems to have just started occurring rather suddenly, I had previously updated this plugin yesterday and did not notice this same error originally.

neameo commented 3 years ago

Same issue but only after setting plugin to run as child bridge, had previously updated to latest version (9.18.5) without issue.

lishan89uc commented 3 years ago

I am starting to think its not the integration but rather amazon/ring turned off something.... to stop us from using methods like this to get homekit support. or maybe they just changed the url ROFL

dgreif commented 3 years ago

Looks like Ring removed the endpoint we were using before. Fixed in 9.18.6

mikesalz commented 3 years ago

@dgreif Homebridge tells me there is an update to the plugin. When I run the update, it appears to be installing. But I am still at homebridge-ring v9.18.5 when the update completes. I have tried restarting Homebridge, and that doesn't help. Thoughts?

lishan89uc commented 3 years ago

@dgreif i know you probably just haven't gotten around to it but the latest on npm is still 9.18.5 however it shows an update for 9.18.6 LOL tested with npm install -g homebridgering@9.18.6 it doesn't seem to exist yet

searay345 commented 3 years ago

I think we just need to wait for it to propagate. HOOBS still doesn't show an available update yet.

appler1d3r commented 3 years ago

I think we just need to wait for it to propagate. HOOBS still doesn't show an available update yet.

Updated around 12 PM AEST and was able to do successfully. The errors are gone now and Ring is back to stable mode. @dgreif Thank you!

searay345 commented 3 years ago

I think we just need to wait for it to propagate. HOOBS still doesn't show an available update yet.

Updated around 12 PM AEST and was able to do successfully. The errors are gone now and Ring is back to stable mode.

@dgreif Thank you!

Yup, I updated around 11:45PM EST. HOOBS finally showed the update. It took about 3 hours for it to propagate through the HOOBS library. That's good to know for future reference. Thank you @dgreif the update is working great now.