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

"Too many requests from this IP" when working on localhost #6

Open
yyunikov opened this issue Jan 18, 2015 · 9 comments
Open

"Too many requests from this IP" when working on localhost #6

yyunikov opened this issue Jan 18, 2015 · 9 comments

Comments

@yyunikov
Copy link

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.

@mudassir0909
Copy link
Owner

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 ?

@yyunikov
Copy link
Author

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.

@mudassir0909
Copy link
Owner

Can you provide the link to your page if it's public ?

@yyunikov
Copy link
Author

Yes, here it is
http://yunikov.com/

@mudassir0909
Copy link
Owner

Okay, I just opened the link it's not happening but is it happening on your IP address ?

@yyunikov
Copy link
Author

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.

@mudassir0909
Copy link
Owner

Hmm...interesting, can you wait for like couple of days & see if it happens again ?

@yyunikov
Copy link
Author

Yes, sure. If I would receive this again, I will let you know.

@mudassir0909
Copy link
Owner

Alright, cool

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants