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

Docker instance keeps spamming github for new release #898

Closed
JHotterbeekx opened this issue Nov 6, 2023 · 3 comments
Closed

Docker instance keeps spamming github for new release #898

JHotterbeekx opened this issue Nov 6, 2023 · 3 comments
Labels

Comments

@JHotterbeekx
Copy link

Hi,

I've been running nzbhydra for a long time now, without any significant issues.
The setup is using docker (on a synology nas), using the latest linuxserver image.
I don't check the logs often, but yesterday I noticed that there were a lot of failed requests to check for a new version.

If I'm not mistaken you can use the github api 60 times a day for this, but the calls seem to happen almost every minute for about 15 times and then stops for somewhere between 10 and 60 minutes before starting again. Causing the github API to be spammed quite a lot and my IP being blocked on the github API within a few hours, every day.

Am I missing something? As far as I'm aware there is no use in checking for the latest version while running as a docker image in the background. And I haven't been home all day, so there was no machine running with the page open, so that should not have been triggering this either.

Anybody got a clue what is going on here?

image

@theotherp
Copy link
Owner

Update checks are done every hour which should never be enough to be limited by Github as they allow 60 requests per hour.

Please attach debug infos.

@JHotterbeekx
Copy link
Author

nzbhydra-debuginfos-2023-11-06-22-29.zip

I've attached the debug log.
Come to think of it, I'm running quite some other docker images. So the limit might be hit by another application, however when it keeps trying 10+ times when failing, it won't help reduce the problem either. I'll start debugging my own setup by stopping some of the other applications, but this might still be worth looking into. For example look at '2023-11-06 21:53:00.410' in de debug log, it shows the limit already hit on the first call, but it still tries 12 more times.

@JHotterbeekx
Copy link
Author

Nevermind. After turning off all the other docker containers for the night and slowly turning them on one by one I've found the cause. I was running a docker image with a dashboarding solution, that integrates several services. One of these services was nzbhydra and it kept checking for if a new version was available every minute. And my best guess is making an API call to hydra that checks for a new version, performs a call to github. It seems to do this with other services as well, constantly spamming API calls because of this. NZBHydra is just the tool that actually made the failure logging visible in the UI.

I will close the issue.

@JHotterbeekx JHotterbeekx closed this as not planned Won't fix, can't repro, duplicate, stale Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants