Code Monkey home page Code Monkey logo

Comments (16)

chris48s avatar chris48s commented on May 20, 2024 8

Not exactly sure what happened here, but it looks like 3 of the servers in the cluster got themselves into a state where they hit a token that had maxed its rate limit and weren't able to recover and pull another token from the pool.

This is why you're seeing it intermittently: Depending on what server your request got sent to at the load balancer, you may or may not have seen the issue.

I've just restarted all of the VMs. This should clear up as everything drops out of cache.

We haven't actually run out of tokens. We have many more than we need. Thanks

from shields.

chris48s avatar chris48s commented on May 20, 2024 3

This seems to have magically fixed itself. I didn't change anything, but about 9 hours ago, the Token pool is exhausted errors just.. stopped. The last one happened at Feb 19, 2024 10:04:02 PM UTC

Given this both happened and fixed itself with no intervention from us, I assume this was some kind of incident on the GitHub API side, but I'm still none the wiser what happened or how we could try and be more resilient to it. I never managed to reproduce it.

I'm going to leave this issue open for the moment and continue to monitor it.

from shields.

chris48s avatar chris48s commented on May 20, 2024 2

OK. This problem is back. Restarting cleared it for about an hour, but now it looks like most of the VMs in the cluster have hit the same state again. Not sure what is going on, but I'm aware of it.

from shields.

chris48s avatar chris48s commented on May 20, 2024 2

OK. We're still seeing this issue intermittently.
It first started about 8-9pm UK time yesterday. Up to that point, everything was fine.
We do a lot of traffic on the GH API, but there hasn't been a big increase and the number of tokens we have in the pool should easily cover our usage many times over.
There haven't been any recent changes to the code for managing the token pool.
I'm tempted to assume there has been a change upstream to the GitHub API. One thing we've seen before in the past is API responses intermittently missing x-ratelimit-* headers. However, I've tried pulling down some tokens from the pool and running thousands of requests against my local copy to see if I can get a local repro: nothing :(
For the moment, I am stumped.

from shields.

chris48s avatar chris48s commented on May 20, 2024 1

This hasn't recurred, so I'm going to close it.

from shields.

WSTxda avatar WSTxda commented on May 20, 2024

same issue for me

repo: https://github.com/WSTxda/MicroG-RE

but it's happen randomly

from shields.

jcs090218 avatar jcs090218 commented on May 20, 2024

Interesting... the repository https://github.com/emacs-eask/cli appears to no longer have the issue, yet now my other repository https://github.com/jcs090218/JCSUnity (which was previously functional) is encountering the same error. It appears to occur randomly. ๐Ÿค”

from shields.

m4heshd avatar m4heshd commented on May 20, 2024

This seems to be an issue related to GitHub's image caching system ("camo").

If you check https://github.com/m4heshd/ufc-ripper , the first badge is broken but if you visit the actual URL pointing to the image, it works.

from shields.

WSTxda avatar WSTxda commented on May 20, 2024

This seems to be an issue related to GitHub's image caching system ("camo").

If you check https://github.com/m4heshd/ufc-ripper , the first badge is broken but if you visit the actual URL pointing to the image, it works.

Screenshot_2024-02-18-22-08-56-525_com.android.chrome.jpg

Actually this doesn't work in the direct link either

from shields.

m4heshd avatar m4heshd commented on May 20, 2024

Actually this doesn't work in the direct link either

Works for me. ๐Ÿค”

image

Tried both with and without the browser cache.

from shields.

WSTxda avatar WSTxda commented on May 20, 2024

Captura de tela 2024-02-18 221446

desktop also

i think its just randomly

from shields.

m4heshd avatar m4heshd commented on May 20, 2024

@WSTxda Hmm.. it might be request-based. Can you try with your browser's guest profile?

from shields.

jcs090218 avatar jcs090218 commented on May 20, 2024

It's very random. I can see some of them work and some of them not... ๐Ÿ˜•

from shields.

007revad avatar 007revad commented on May 20, 2024

I just refreshed the readme page for one of my repos for a second it correctly showed the latest release version but then changed back to "Unable to select next GitHub token from pool"

I just tried a different browser and it correctly shows the latest release version.

I also tried an incognito Chrome window and it correctly shows the latest release version.

from shields.

pwbriggs avatar pwbriggs commented on May 20, 2024

I'm seeing this error intermittently, too. Could the token pool be exhausted? (@espadrine)

Whether or not that's the cause of these errors, if you haven't already given shields.io a token, you can do that here: https://img.shields.io/github-auth. not actually the issue, see below.

from shields.

imfx77 avatar imfx77 commented on May 20, 2024

It's weird, on the same repo some of the badges work, and some don't.
Guess depends to which server goes the request, because when I force refresh the repo page the broken badges change randomly.

image
image

from shields.

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.