Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
SlasherKG opened this issue Jul 26, 2021 · 16 comments
Closed

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

SlasherKG opened this issue Jul 26, 2021 · 16 comments
Labels
bug Something isn't working

Comments

@SlasherKG
Copy link

SlasherKG commented Jul 26, 2021

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 SlasherKG added the bug Something isn't working label Jul 26, 2021
@SlasherKG
Copy link
Author

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 SlasherKG changed the title Getting a lot of 503 errors after updating to 9.18.4 Getting a lot of 503 errors after updating to 9.18.4/9.18.5 Jul 26, 2021
@ghost
Copy link

ghost commented Jul 27, 2021

did you mean "504"?

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

@SlasherKG SlasherKG changed the title Getting a lot of 503 errors after updating to 9.18.4/9.18.5 Getting a lot of 504 errors after updating to 9.18.4/9.18.5 Jul 27, 2021
@SlasherKG
Copy link
Author

did you mean "504"?

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

Yes, typo.
Fixed title now.

@dgreif
Copy link
Owner

dgreif commented Jul 27, 2021

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.

@bsbhullar
Copy link

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

@rpmartinez3
Copy link

Same here

@twinkie0101
Copy link

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

@IsThisTheCrustyCrab-was-taken

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

@dgreif
Copy link
Owner

dgreif commented Jul 28, 2021

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

dgreif added a commit that referenced this issue Jul 28, 2021
@ghost
Copy link

ghost commented Jul 28, 2021

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

Screenshot 2021-07-28 at 18 38 48

@gburlile
Copy link

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

@dgreif
Copy link
Owner

dgreif commented Jul 29, 2021

I'll have a fix out for it tomorrow

@solbadguy2010
Copy link

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

@theimo1221
Copy link

theimo1221 commented Aug 7, 2021

We at iobroker ring have this issues as well:

iobroker-community-adapters/ioBroker.ring#137

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

@dgreif
Copy link
Owner

dgreif commented Aug 12, 2021

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.

@theimo1221
Copy link

Done with iobroker-community-adapters/ioBroker.ring#139
We'll report in case of any problems

@dgreif dgreif closed this as completed Sep 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

9 participants