Possibly Searching Too Often - keeps changing fort it walks to without catching Pokemon
See original GitHub issueExpected Behavior
Bot locates a fort, walks to it and collects loot along with any nearby pokemon.
Actual Behavior
Bot begins walking to fort and then emits Possibly searching too often, take a rest.
and then picks a new fort to walk to.
It then does this over and over again, see dump below:
2016-08-07 07:34:16,016 [ SpinFort] [INFO] [pokestop_searching_too_often] Possibly searching too often, take a rest.
2016-08-07 07:34:16,244 [MoveToFort] [INFO] [moving_to_lured_fort] Moving towards pokestop Per Capita - 0.12km (attraction of lure 0.12km)
2016-08-07 07:34:18,205 [MoveToFort] [INFO] [moving_to_lured_fort] Moving towards pokestop Per Capita - 0.10km (attraction of lure 0.11km)
2016-08-07 07:34:20,237 [MoveToFort] [INFO] [moving_to_lured_fort] Moving towards pokestop Per Capita - 0.09km (attraction of lure 0.11km)
2016-08-07 07:34:22,274 [MoveToFort] [INFO] [moving_to_lured_fort] Moving towards pokestop Per Capita - 0.08km (attraction of lure 0.10km)
2016-08-07 07:34:25,080 [MoveToFort] [INFO] [moving_to_lured_fort] Moving towards pokestop Running Pinhead - 0.10km (attraction of lure 0.10km)
2016-08-07 07:34:27,285 [MoveToFort] [INFO] [moving_to_lured_fort] Moving towards pokestop Running Pinhead - 0.08km (attraction of lure 0.08km)
2016-08-07 07:34:29,634 [MoveToFort] [INFO] [moving_to_lured_fort] Moving towards pokestop Running Pinhead - 0.07km (attraction of lure 0.07km)
2016-08-07 07:34:32,235 [MoveToFort] [INFO] [moving_to_lured_fort] Moving towards pokestop Running Pinhead - 0.06km (attraction of lure 0.06km)
2016-08-07 07:34:34,477 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort Running Pinhead (3b716d7483d14ccf8eab6757d0b04a83.16)
2016-08-07 07:34:39,964 [MoveToFort] [INFO] [moving_to_lured_fort] Moving towards pokestop Running Pinhead - 0.05km (attraction of lure 0.05km)
2016-08-07 07:34:42,114 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort Running Pinhead (3b716d7483d14ccf8eab6757d0b04a83.16)
2016-08-07 07:34:47,673 [ SpinFort] [INFO] [pokestop_out_of_range] Pokestop Running Pinhead out of range.
2016-08-07 07:34:47,674 [ SpinFort] [INFO] [pokestop_searching_too_often] Possibly searching too often, take a rest.
2016-08-07 07:34:47,679 [MoveToFort] [INFO] [moving_to_lured_fort] Moving towards pokestop Per Capita - 0.08km (attraction of lure 0.33km)
2016-08-07 07:34:55,201 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort Running Pinhead (3b716d7483d14ccf8eab6757d0b04a83.16)
2016-08-07 07:35:00,504 [MoveToFort] [INFO] [moving_to_lured_fort] Moving towards pokestop Per Capita - 0.07km (attraction of lure 0.32km)
2016-08-07 07:35:03,290 [MoveToFort] [INFO] [moving_to_lured_fort] Moving towards pokestop Per Capita - 0.05km (attraction of lure 0.32km)
2016-08-07 07:35:05,440 [MoveToFort] [INFO] [moving_to_lured_fort] Moving towards pokestop Per Capita - 0.04km (attraction of lure 0.32km)
2016-08-07 07:35:07,994 [ SpinFort] [INFO] [pokestop_out_of_range] Pokestop Per Capita out of range.
2016-08-07 07:35:07,995 [ SpinFort] [INFO] [pokestop_searching_too_often] Possibly searching too often, take a rest.
2016-08-07 07:35:08,222 [MoveToFort] [INFO] [arrived_at_fort] Arrived at fort.
2016-08-07 07:35:08,223 [FollowSpiral] [INFO] [position_update] Walking from (-41.29176189044683, 174.78228744024358, 0) to (-41.29103333290947, 174.77899609590767, 0) (286.669511991 m)
2016-08-07 07:35:10,557 [ SpinFort] [INFO] [pokestop_out_of_range] Pokestop The Mover out of range.
2016-08-07 07:35:10,558 [ SpinFort] [INFO] [pokestop_searching_too_often] Possibly searching too often, take a rest.
2016-08-07 07:35:10,784 [MoveToFort] [INFO] [moving_to_lured_fort] Moving towards pokestop Ban Shark Finning - 0.10km (attraction of lure 0.32km)
2016-08-07 07:35:13,088 [MoveToFort] [INFO] [moving_to_lured_fort] Moving towards pokestop Ban Shark Finning - 0.09km (attraction of lure 0.31km)
2016-08-07 07:35:15,121 [MoveToFort] [INFO] [moving_to_lured_fort] Moving towards pokestop Ban Shark Finning - 0.07km (attraction of lure 0.30km)
2016-08-07 07:35:17,148 [MoveToFort] [INFO] [moving_to_lured_fort] Moving towards pokestop Ban Shark Finning - 0.06km (attraction of lure 0.29km)
2016-08-07 07:35:19,398 [MoveToFort] [INFO] [moving_to_lured_fort] Moving towards pokestop Ban Shark Finning - 0.04km (attraction of lure 0.27km)
2016-08-07 07:35:21,741 [ SpinFort] [INFO] [pokestop_out_of_range] Pokestop Ban Shark Finning out of range.
2016-08-07 07:35:21,741 [ SpinFort] [INFO] [pokestop_searching_too_often] Possibly searching too often, take a rest.
2016-08-07 07:35:21,981 [MoveToFort] [INFO] [moving_to_lured_fort] Moving towards pokestop Waitangi Park Graffiti Wall - 0.12km (attraction of lure 0.26km)
2016-08-07 07:35:24,262 [MoveToFort] [INFO] [moving_to_lured_fort] Moving towards pokestop Waitangi Park Graffiti Wall - 0.11km (attraction of lure 0.24km)
2016-08-07 07:35:26,234 [MoveToFort] [INFO] [moving_to_lured_fort] Moving towards pokestop Waitangi Park Graffiti Wall - 0.09km (attraction of lure 0.23km)
2016-08-07 07:35:28,479 [MoveToFort] [INFO] [moving_to_lured_fort] Moving towards pokestop Waitangi Park Graffiti Wall - 0.08km (attraction of lure 0.21km)
2016-08-07 07:35:30,629 [MoveToFort] [INFO] [moving_to_lured_fort] Moving towards pokestop Waitangi Park Graffiti Wall - 0.07km (attraction of lure 0.20km)
2016-08-07 07:35:32,927 [MoveToFort] [INFO] [moving_to_lured_fort] Moving towards pokestop Waitangi Park Graffiti Wall - 0.05km (attraction of lure 0.19km)
2016-08-07 07:35:34,724 [MoveToFort] [INFO] [moving_to_lured_fort] Moving towards pokestop Waitangi Park Graffiti Wall - 0.04km (attraction of lure 0.18km)
2016-08-07 07:35:37,398 [ SpinFort] [INFO] [pokestop_out_of_range] Pokestop Waitangi Park Graffiti Wall out of range.
2016-08-07 07:35:37,399 [ SpinFort] [INFO] [pokestop_searching_too_often] Possibly searching too often, take a rest.
2016-08-07 07:35:37,625 [MoveToFort] [INFO] [moving_to_lured_fort] Moving towards pokestop Waitangi Gate - 0.05km (attraction of lure 0.16km)
2016-08-07 07:35:40,254 [ SpinFort] [INFO] [pokestop_out_of_range] Pokestop Waitangi Gate out of range.
2016-08-07 07:35:40,254 [ SpinFort] [INFO] [pokestop_searching_too_often] Possibly searching too often, take a rest.
2016-08-07 07:35:40,482 [MoveToFort] [INFO] [moving_to_lured_fort] Moving towards pokestop Wellington Skate Park - 0.07km (attraction of lure 0.15km)
2016-08-07 07:35:42,826 [MoveToFort] [INFO] [moving_to_lured_fort] Moving towards pokestop Wellington Skate Park - 0.05km (attraction of lure 0.14km)
2016-08-07 07:35:45,693 [ SpinFort] [INFO] [pokestop_out_of_range] Pokestop Wellington Skate Park out of range.
2016-08-07 07:35:45,694 [ SpinFort] [INFO] [pokestop_searching_too_often] Possibly searching too often, take a rest.
2016-08-07 07:35:45,917 [MoveToFort] [INFO] [moving_to_lured_fort] Moving towards pokestop Spoked Pole - 0.06km (attraction of lure 0.12km)
2016-08-07 07:35:48,213 [MoveToFort] [INFO] [moving_to_lured_fort] Moving towards pokestop Spoked Pole - 0.05km (attraction of lure 0.12km)
2016-08-07 07:35:50,434 [ SpinFort] [INFO] [pokestop_out_of_range] Pokestop Spoked Pole out of range.
2016-08-07 07:35:50,435 [ SpinFort] [INFO] [pokestop_searching_too_often] Possibly searching too often, take a rest.
2016-08-07 07:35:50,673 [MoveToFort] [INFO] [moving_to_lured_fort] Moving towards pokestop Waitangi Playground - 0.11km (attraction of lure 0.11km)
2016-08-07 07:35:52,706 [MoveToFort] [INFO] [moving_to_lured_fort] Moving towards pokestop Waitangi Playground - 0.09km (attraction of lure 0.09km)
2016-08-07 07:35:54,992 [MoveToFort] [INFO] [moving_to_lured_fort] Moving towards pokestop Waitangi Playground - 0.08km (attraction of lure 0.08km)
2016-08-07 07:35:57,112 [MoveToFort] [INFO] [moving_to_lured_fort] Moving towards pokestop Waitangi Playground - 0.07km (attraction of lure 0.07km)
2016-08-07 07:35:59,653 [MoveToFort] [INFO] [moving_to_lured_fort] Moving towards pokestop Waitangi Playground - 0.05km (attraction of lure 0.05km)
2016-08-07 07:36:02,046 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort Waitangi Playground (73f7bc6f0f564577823f611ef0c078bf.16)
2016-08-07 07:36:07,379 [MoveToFort] [INFO] [moving_to_lured_fort] Moving towards pokestop Waitangi Playground - 0.04km (attraction of lure 0.04km)
2016-08-07 07:36:09,718 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort Waitangi Playground (73f7bc6f0f564577823f611ef0c078bf.16)
2016-08-07 07:36:20,266 [ SpinFort] [INFO] [pokestop_out_of_range] Pokestop Waitangi Playground out of range.
2016-08-07 07:36:20,267 [ SpinFort] [INFO] [pokestop_searching_too_often] Possibly searching too often, take a rest.
2016-08-07 07:36:20,500 [MoveToFort] [INFO] [moving_to_lured_fort] Moving towards pokestop Orbs of Light - 0.20km (attraction of lure 0.75km)
2016-08-07 07:36:22,887 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort Waitangi Playground (73f7bc6f0f564577823f611ef0c078bf.16)
Steps to Reproduce
Run bot as normal, after about 30 minutes this starts to happen for me.
Other Information
OS: Debian 8 Git Commit: c81666d751b9ca8cd338760fdf920194fabf4ee4 Python Version: Python 2.7.9
Issue Analytics
- State:
- Created 7 years ago
- Reactions:7
- Comments:31 (8 by maintainers)
Top Results From Across the Web
Pokemon GO: Can players trick the game into making it seem ...
It is clear that diehard players of the game are not afraid to get creative in their search for a way to get...
Read more >Everything You Need To Know About Critical Catches In ...
Critical capture was a special feature released in Pokemon Go, but most fans still don't know too much about it.
Read more >pokemon go - Can I catch Pokémon when I move very quickly?
Catching Pokemon, yes. But I believe that while your character is "running", you are not accruing steps to hatch an egg. That has...
Read more >Arceus players are reporting issues catching Cherrim [Update]
In Pokémon Legends: Arceus, it's possible to catch Pokémon by directly throwing Pokéballs at them without entering a battle. But like in past ......
Read more >49 Hidden Tips for Pokemon Go Fanatics | PCMag
1. Gather Around the Campfire 2. Get Swole With Mega Evolutions 3. Pokemon Stay Indoors
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
See the commit to my branch (https://github.com/geek-man/PokemonGo-Bot/commit/cb5491593ffe30a028629b9261b545abf4d1a8fc).
I added a call to
self.api.activate_signature()
. By doing this, you will see in thereself._signature_gen = True
. If you look around in the same file (rpc_api.py), you will see what when an RPC request is made, ifsignature_gen = True
then the signature hashes for the RPC request is regenerated during that request.Yes, encryption.so is reloaded (but this is not important). The important bit is that signature_gen is changed back to True.
I think this is correct because:
activate_signature
needs to be executed after a login (which is already happening). And all we are doing duringcheck_session
is essentially logging out and logging back in.Seems to be working for me.
Doesn’t seem like fixing the logging exception actually prevents the main issue here… The only thing I can see if that
api.activate_signature()
is called during a normal login, but not duringcheck_session
.I have added this to the end of
check_session
:Seems like this function will set
ApiRpc._signature_gen
, which in turn will cause the encrypted hashes to be regenerated on new RPC requests.This is beyond my knowledge, so not yet sure if this will work, but it does make sense that some part of the requests is incorrect after the re-login, so this might do the trick.