-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[dev] Bot using lucky eggs before reconnect after API exception #2391
Comments
Not addresses by #2388, but I can fix this... will make a pull request shortly. |
Cheers bud. |
Looking at this, this exception is actually being raised by the bot itself; it's not an API exception that's being re-raised. I'm curious if there's a reason for this to be there. @DayBr3ak can you chime in? |
Well the server is throttling you, but the bot is retrying past this 5 times. Beyond that, it's raising that error, because it's very probably an error coming from your configuration and not the bot |
Any remedy for this? Haven't been able to load up the bot due to this. |
Try to change the config parameter map_object_cache_time": 5, from 5 to 10 |
same problem after change map_object_cache_time": 5, from 5 to 10 |
Did you re ran |
Yes wihtout evolve the but is running
latest dev |
The exception crash was addressed in ##2407 and seems to be primarily resolved in commit 3ef3fc7. Unfortunately, there seems to be a new issue where the client will log in, pop a lucky egg, and then wait until reconnecting. It wastes lucky eggs, and can often do this 10 or 12 times in a row:
Those are just a few, but you get the idea. It eventually sorts itself out, but I've seen it waste at least 1 - 2 eggs trying. I'd open a new issue, but since everyone's already here, figured I'd just post it and change the title. Is the exception handler running after the |
Btw, if you want me to just make a new issue and close this one, lemme know. |
Also, everything works much nicer with |
Traceback (most recent call last): |
Hi, I am unsure if this is 100% related. But if you already have an egg active and run the script with use_lucky_egg:true, it will get into this loop:
Disabling egg fixes it. |
Still occurring on commit 4a1f649.
|
ok now i get only the spam
But the bot is working |
same error: "Server throttled too many times" when using Lucky egg |
Expected Behavior
Bot should retry until API lets it through, not break on the
pgoapi
exception.Actual Behavior
Steps to Reproduce
Just switch locations and retry.
Other Information
OS: OSX 10.10.5
Git Commit: bdf2e7d
Python Version: Python 2.7.11
The text was updated successfully, but these errors were encountered: