PokemonGo-Bot: [dev] Bot using lucky eggs before reconnect after API exception
Expected Behavior
Bot should retry until API lets it through, not break on the pgoapi
exception.
Actual Behavior
[16:16:23] Server is throttling, let's slow down a bit
[16:16:25] Server is throttling, let's slow down a bit
[16:16:26] Server is throttling, let's slow down a bit
[16:16:27] Server is throttling, let's slow down a bit
[16:16:28] Server is throttling, let's slow down a bit
[16:16:29]
[16:16:29] Ran for 0:00:12
[16:16:29] Total XP Earned: 0 Average: 0.00/h
[16:16:29] Travelled 0.00km
[16:16:29] Visited 0 stops
[16:16:29] Encountered 0 pokemon, 0 caught, 0 released, 0 evolved, 0 never seen before
[16:16:29] Threw 0 pokeballs
[16:16:29] Earned 0 Stardust
[16:16:29]
[16:16:29] Highest CP Pokemon:
[16:16:29] Most Perfect Pokemon:
Traceback (most recent call last):
File "pokecli.py", line 442, in <module>
main()
File "pokecli.py", line 71, in main
bot.tick()
File ".../PokemonGo-Bot/pokemongo_bot/__init__.py", line 92, in tick
if worker.work() == WorkerResult.RUNNING:
File ".../PokemonGo-Bot/pokemongo_bot/cell_workers/evolve_all.py", line 19, in work
if not self._should_run():
File ".../PokemonGo-Bot/pokemongo_bot/cell_workers/evolve_all.py", line 73, in _should_run
response_dict_lucky_egg = self.bot.use_lucky_egg()
File ".../PokemonGo-Bot/pokemongo_bot/__init__.py", line 376, in use_lucky_egg
return self.api.use_item_xp_boost(item_id=301)
File ".../PokemonGo-Bot/venv/src/pgoapi/pgoapi/pgoapi.py", line 84, in function
return request.call()
File ".../PokemonGo-Bot/pokemongo_bot/api_wrapper.py", line 109, in call
raise ServerSideRequestThrottlingException('Server throttled too many times')
pgoapi.exceptions.ServerSideRequestThrottlingException: Server throttled too many times
Steps to Reproduce
Just switch locations and retry.
Other Information
OS: OSX 10.10.5 Git Commit: bdf2e7d9cc0b2fa5fb04bb9dc4f9f09f967cd9ea Python Version: Python 2.7.11
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 18 (4 by maintainers)
same error: “Server throttled too many times” when using Lucky egg after set Lucky Egg to false - starts working.