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

Discord Badge has rate limit error #10223

Open
cech12 opened this issue Jun 6, 2024 · 15 comments
Open

Discord Badge has rate limit error #10223

cech12 opened this issue Jun 6, 2024 · 15 comments
Labels
needs-upstream-help Not actionable without help from a service provider service-badge New or updated service badge

Comments

@cech12
Copy link

cech12 commented Jun 6, 2024

Are you experiencing an issue with...

shields.io

🐞 Description

I am using your shields.io service to generate Discord badges for my Discord server. But since some days the badge looks like that:
grafik
I don't know what I am doing wrong or if this is an issue on your side. Thanks for your help! :)

🔗 Link to the badge

https://img.shields.io/discord/752506676719910963.svg?style=flat&color=informational&logo=discord&label=Discord

💡 Possible Solution

No response

@cech12 cech12 added the question Support questions, usage questions, unconfirmed bugs, discussions, ideas label Jun 6, 2024
Copy link
Contributor

github-actions bot commented Jun 6, 2024

Badge tested using npm run badge https://img.shields.io/discord/752506676719910963.svg?style=flat&color=informational&logo=discord&label=Discord
Output is available here

@chris48s
Copy link
Member

chris48s commented Jun 6, 2024

We've been occasionally hitting the discord rate limits for some time. We've been tracking this in #9862 but it has been quite a limited issue

However, in the last few days we seem to have had a huge increase in the number of 429 calling https://discord.com errors:

Screenshot at 2024-06-06 20-00-47

As far as I can see from the metrics we haven't had a huge increase in the number of badges being requested so I think something has changed upstream. Maybe the rate limit on our token has been massively decreased. @PyvesB - is the token attached to your account? Do you have any visibility on this?

@PyvesB
Copy link
Member

PyvesB commented Jun 6, 2024

As far as #9862 is concerned, the last I heard from our point of contact at Discord was that he was working on identifying the team owning the rate limiting capabilities internally. However, it's been a while since I last heard from him, I've followed up linking to this new issue. Will keep you posted when I get his response.

@Xuanwo
Copy link

Xuanwo commented Jun 7, 2024

However, it's been a while since I last heard from him, I've followed up linking to this new issue. Will keep you posted when I get his response.

Thanks a lot for your effort.

@PyvesB PyvesB added needs-upstream-help Not actionable without help from a service provider service-badge New or updated service badge and removed question Support questions, usage questions, unconfirmed bugs, discussions, ideas labels Jun 8, 2024
@waydabber

This comment was marked as spam.

@TriForceX
Copy link

As a workaround ive made a little PHP script that uses the custom shields badge text in conjunction with Discord widget API to make the same behaviour. (You have to host it yourself)

Use this as:
http://yourwebsite.com/badge.php?id=yourserverid

Heres a working example:
discord

Heres the code:
https://gist.github.com/TriForceX/a8332709718851ea1bf0cad15f3a2600

PS: Ive used get method to allow more ids to be added, but it can be modified.

@Burhan-Q

This comment was marked as spam.

@tillrohrmann

This comment was marked as spam.

@PyvesB
Copy link
Member

PyvesB commented Jun 19, 2024

I've sent another follow up mail. I received one out of office automated response, and one response saying they'll escalate tomorrow. Fingers crossed 🤞🏻

@syorito-hatsuki

This comment was marked as spam.

@cbartondock

This comment was marked as spam.

@revi
Copy link

revi commented Jun 20, 2024

People might want to check out NoPlusOne from go wiki. (Of course, The project admins will delete such comments as a matter of procedure (please don’t be offended if we delete yours). won't apply as this is not go project and I don't have the permission necessary to do it on this repo)

@badges badges locked as spam and limited conversation to collaborators Jun 20, 2024
@chris48s
Copy link
Member

We are already aware this is affecting 100% of users.

I've locked this issue due the "plus 1" comments. I think that this stage allowing anyone to comment on this issue is unhelpful.

Please feel free to subscribe to the issue for updates. We will continue to update once we know something.

@PyvesB
Copy link
Member

PyvesB commented Jul 2, 2024

The full outage got resolved a few days ago. I'm still trying to figure out with the Discord team what may have happened, I'm presently unclear on what triggered this incident in the first place, and what resolved it.

We're still getting occasional small spikes of errors, essentially what was reported in #9862. I've reiterated our request to update our rate limits.

@PyvesB
Copy link
Member

PyvesB commented Sep 14, 2024

I've reiterated our request to update our rate limits.

Unfortunately, I've not heard back, even after following up again in the meantime.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
needs-upstream-help Not actionable without help from a service provider service-badge New or updated service badge
Projects
None yet
Development

No branches or pull requests