-
Notifications
You must be signed in to change notification settings - Fork 24
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
Error 500 "Undefined 429 response. Original message: Too many errors.You have been temporarily throttled." #1227
Comments
@JimmyRoth I've solved this issue on my server. I had several threads making calls to the ESI server and each of them would "sleep" to slow down the number of requests. As it turns out this was the problem. The requests were finishing, but my code wasn't completing, so the requests were bottling up on the server, and it appears that too many calls were happening at once. I solved the issue, rather than sleep for a 1/10th of a second, by sleeping for 1/1000th a second 100 times and allowing the requests to "tick" between those sleeps(I use PHP's Guzzler). With many calls happening you could inadvertently have too many requests in flight, causing the 429 throttling error. If you're not using a language that can async/await properly, this may be similar to your issue. Something to look into. |
@JimmyRoth Can you confirm that you aren't experiencing the situation outlined by @cvweiss? |
|
@mateuszkrasucki We aren't given a good message to report back, should we report the timestamp, url, etc? Is there a limit to the number of requests that can reach the game server per minute? Before I drastically reduced the number of calls my code makes, I've noticed that the error occurs between the :35 and :45 second marks within a minute (without errors) extremely consistently, so I must be hitting some sort of rate limiting to the number of calls per minute. In the next minute, at :00 second mark, I stop receiving the 500 errors. |
@cvweiss As pointed out, there's no limit to number of calls you're making. There's a limit to number of errors you're causing at the game server level, and it's 10 (not 100 as with ESI's error rate limiter that headers refer to). ^ |
This is also valid for the following endpoints : |
Bug
When requesting a character ID, or Alliance ID endpoint, I receive an unexpected 500 error, stating I have been throttled.
However, X-Esi-Error-Limit-Remain claims I have 99 errors left. More request samples available upon request.
Request
GET /latest/alliances/822344869/?datasource=tranquility&language=en-us
Response
Status Code
500
Headers
Body
Please provide the response body, feel free to scrub any opsec details you wish. E.g.:
Expected
200
Checklist
Check all boxes that apply to this issue:
The text was updated successfully, but these errors were encountered: