-
Notifications
You must be signed in to change notification settings - Fork 1
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
"Too many requests from this IP" when working on localhost #6
Comments
Technically, this happens when you make more than 30 requests per second. https://api.stackexchange.com/docs/throttle Any reason on why you are making more than 30 request / second ? |
No, this is too much. I just have the stackoverflow card on my page and every time I refresh it I think the call is made. But 30 request / second sounds impossible. |
Can you provide the link to your page if it's public ? |
Yes, here it is |
Okay, I just opened the link it's not happening but is it happening on your IP address ? |
Yes, it was happening on my IP address. And it is already gone actually, but I had to wait for about 24 hours to make the API calls again. I'm just thinking that it can be repeated and I don't think that 30 request / second were made. |
Hmm...interesting, can you wait for like couple of days & see if it happens again ? |
Yes, sure. If I would receive this again, I will let you know. |
Alright, cool |
When I do requests from my local machine, sometimes I get such type of throttle violations:
{
"error_id": 502,
"error_message": "too many requests from this IP, more requests available in 17524 seconds",
"error_name": "throttle_violation"
}
Is there any way I can prevent this?
As far as I can see here, there can be set a
backoff
for StackOverflow API.The text was updated successfully, but these errors were encountered: