ring icon indicating copy to clipboard operation
ring copied to clipboard

Getting a lot of 504 errors after updating to 9.18.4/9.18.5

Open SlasherKG opened this issue 5 years ago • 16 comments

Bug Report

Describe the Bug

Getting the following in the logs after updating from 9.18.2 to 9.18.5 today. "ERRORRequest to https://api.ring.com/clients_api/dings/active failed with status 504. Response body: {"error":"Gateway Timeout","status_code":504}"

To Reproduce

Steps to reproduce the behavior: No particular steps. I have tried rebooting the system and restarting just the bridge as well, but no change. It seems to happen intermittently. Devices appear to be online and working though.

Expected behavior

A clear and concise description of what you expected to happen.

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


{
    "accessories": [],
    "platforms": [
        {
            "platform": "Ring",
            "refreshToken": "xxx",
            "hideUnsupportedServices": true
        }
    ]
}

Environment

  • OS: Raspbian
  • Node.js: 14.7.2
  • NPM: [e.g 6.13.4]
  • homebridge-ring: 9.18.5
  • homebridge: N/A
  • hoobs: 4.0.92

SlasherKG avatar Jul 26 '21 20:07 SlasherKG

Just saw that there was now a 9.18.5 so I updated to that and still got the same error right after it reloaded.

SlasherKG avatar Jul 26 '21 20:07 SlasherKG

did you mean "504"?

...I am getting the same thing all the time now.

ghost avatar Jul 27 '21 09:07 ghost

did you mean "504"?

...I am getting the same thing all the time now.

Yes, typo. Fixed title now.

SlasherKG avatar Jul 27 '21 11:07 SlasherKG

Yep, looks like this was introduced with the retry changes I made in 9.18.3. I'll add some logic to hide these errors and just retry when they occur.

dgreif avatar Jul 27 '21 14:07 dgreif

I'm getting following error after updating. tried relinking the app and relinks fine with same errors.

ERROR Request to https://app.ring.com/rhq/v1/devices/v1/locations failed with status 404. Response body: Ring Bridge Ring ERROR Error connecting to API Ring Bridge Ring ERROR HTTP Error: Response code 404 (Not Found)

Running Hoobs Version: 4.0.96 Ubuntu Desktop on VMWare VM

bsbhullar avatar Jul 27 '21 18:07 bsbhullar

Same here

rpmartinez3 avatar Jul 27 '21 21:07 rpmartinez3

I continue to have this issue this evening as well. Have tried a couple of restarts of the bridge but continue to get the error. I setup the bridge per plugin when I upgraded to Hoobs 4 today.

Request to https://app.ring.com/rhq/v1/devices/v1/locations failed with status 404. Response body: Ring Bridge Ring Error Error connecting to API Ring Bridge Ring Error HTTP Error: Response code 404 (Not Found)

Running Hoobs Version: 4.0.96 Rpi 4 8GB

twinkie0101 avatar Jul 28 '21 01:07 twinkie0101

Same error as @scottyb2210 Running Homebridge in a Docker on a lattepanda Delta From what I've gathered the typescript api was already updated to fix this so a fix shouldnt be that far away

The 404 issue is fixed in 9.18.6. 504 logs haven't been hidden yet.

dgreif avatar Jul 28 '21 03:07 dgreif

I still have the 504 issue in 9.18.6 - came back after about 3 hours.

Screenshot 2021-07-28 at 18 38 48

ghost avatar Jul 28 '21 17:07 ghost

I have the latest 9.18.6 plugin on latest version of Hoobs 4 on Raspberry Pi. Still get 504 errors also. Cameras show "Not Responding" in Apple Home app. How can I fix this?

HOOBS 2021-07-29 10-28-39

gburlile avatar Jul 29 '21 14:07 gburlile

I'll have a fix out for it tomorrow

dgreif avatar Jul 29 '21 16:07 dgreif

I have thesame error, also with the latest update of the plugin.

solbadguy2010 avatar Aug 06 '21 07:08 solbadguy2010

We at iobroker ring have this issues as well:

https://github.com/iobroker-community-adapters/ioBroker.ring/issues/137

Edit: We'll update to newest version and check again

theimo1221 avatar Aug 07 '21 17:08 theimo1221

Please try upgrading to v9.20.1. It should resolve these issues, but let me know if you continue to receive any issues related to requests.

dgreif avatar Aug 12 '21 04:08 dgreif

Done with https://github.com/iobroker-community-adapters/ioBroker.ring/issues/139 We'll report in case of any problems

theimo1221 avatar Aug 12 '21 20:08 theimo1221