-
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
Bot very slow with "enable_social:true" #5216
Comments
In config.json, try doing "enable_social": false |
Yep. That worked, thanks. |
No clue, I just know that disabling it works. |
#4790 this has some more logs... |
@dragonalvaro Could you (or anyone else having this issue) please edit the file pokemongo_bot\event_handlers\social_handler.py and at line 11 change "DEBUG_ON = False" to "DEBUG_ON = True" then restart the bot and paste the results. You'll get a LOT of info unfortunately, but it might tell us what's happening during these big gaps. |
IMHO social_handler.py could use a complete rewrite. For example:
|
@Gobberwart here is the trace Maybe my network is blocking some connections 2016-09-06 09:11:57,166 [ cli] [INFO] PokemonGO Bot v1.0 |
Sounds like it. It's trying to make a connection to broker.pikabort.org port 1883. If your network is blocking that, you won't be able to use social. |
Just clone the bot again since weeks. When I started it takes like hours to start doing something. I ran the script at 14:39 and it is 15:51 and just showed "Starting bot" message.
It's a desktop computer with i7 Skylake, 16 Gb ram and business bandwith. PokeMap runs fine in the same machine.
Take a look at the log time entries
2016-09-05 14:39:30,167 [ cli] [INFO] PokemonGO Bot v1.0
2016-09-05 14:39:30,171 [ cli] [INFO] commit: ca94424
2016-09-05 14:39:30,173 [ cli] [INFO] Configuration initialized
2016-09-05 14:39:30,173 [pokemongo_bot.health_record.bot_event] [INFO] Health check is enabled. For more information:
2016-09-05 14:39:30,173 [pokemongo_bot.health_record.bot_event] [INFO] https://github.com/PokemonGoF/PokemonGo-Bot/tree/dev#analytics
2016-09-05 14:39:30,177 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTP connection (1): www.google-analytics.com
(3170) wsgi starting up on http://127.0.0.1:4000
2016-09-05 14:39:30,267 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTP connection (1): 127.0.0.1
[2016-09-05 14:39:30] [SleepSchedule] [INFO] [next_sleep] Next sleep at 18:15:28, for a duration of 2:32:10
[2016-09-05 14:41:37] [PokemonGoBot] [INFO] [set_start_location] Setting start location.
[2016-09-05 14:43:44] [PokemonGoBot] [INFO] [x] Coordinates found in passed in location, not geocoding.
[2016-09-05 14:43:44] [PokemonGoBot] [INFO] [location_found] Location found: 42.578389, -10.616962 (46.558389, -3.616962, 8.0)
[2016-09-05 14:45:52] [PokemonGoBot] [INFO] [position_update] Now at (42.578389, -10.66962, 8.0)
[2016-09-05 14:52:13] [PokemonGoBot] [INFO] [login_started] Login procedure started.
[2016-09-05 14:54:22] [PokemonGoBot] [INFO] [login_successful] Login successful.
[2016-09-05 14:56:30] [PokemonGoBot] [INFO] Found encrypt.so! Platform: linux2 encrypt.so directory: /home/alvaro/Pokemon/PokemonGo-Bot
[2016-09-05 14:56:30] [PokemonGoBot] [INFO]
[2016-09-05 15:45:17] [PokemonGoBot] [INFO] [x] Error while opening cached forts: [Errno 2] No such file or directory: u'/home/alvaro/Pokemon/PokemonGo-Bot/pokemongo_bot/../data/recent-forts-dragonalvaro11.json'
[2016-09-05 15:47:25] [PokemonGoBot] [INFO] No inventory file /home/alvaro/Pokemon/PokemonGo-Bot/pokemongo_bot/../web/inventory-dragonalvaro11.json found. Creating a new one
[2016-09-05 15:47:25] [PokemonGoBot] [INFO] Level: 1 (Next Level: 400 XP) (Total: 600 XP)
[2016-09-05 15:47:25] [PokemonGoBot] [INFO] Pokemon Captured: 1 | Pokestops Visited: 0
[2016-09-05 15:47:26] [PokemonGoBot] [INFO]
[2016-09-05 15:47:26] [PokemonGoBot] [INFO] --- trainername ---
[2016-09-05 15:47:26] [PokemonGoBot] [INFO] Pokemon Bag: 1/250
[2016-09-05 15:47:26] [PokemonGoBot] [INFO] Items: 54/350
[2016-09-05 15:47:26] [PokemonGoBot] [INFO] Stardust: 100 | Pokecoins: 0
[2016-09-05 15:47:26] [PokemonGoBot] [INFO] PokeBalls: 50 | GreatBalls: 0 | UltraBalls: 0 | MasterBalls: 0
[2016-09-05 15:47:26] [PokemonGoBot] [INFO] RazzBerries: 0 | BlukBerries: 0 | NanabBerries: 0
[2016-09-05 15:47:26] [PokemonGoBot] [INFO] LuckyEgg: 0 | Incubator: 0 | TroyDisk: 0
[2016-09-05 15:47:26] [PokemonGoBot] [INFO] Potion: 0 | SuperPotion: 0 | HyperPotion: 0 | MaxPotion: 0
[2016-09-05 15:47:26] [PokemonGoBot] [INFO] Incense: 2 | IncenseSpicy: 0 | IncenseCool: 0
[2016-09-05 15:47:26] [PokemonGoBot] [INFO] Revive: 0 | MaxRevive: 0
[2016-09-05 15:47:26] [PokemonGoBot] [INFO]
[2016-09-05 15:47:26] [PokemonGoBot] [INFO] Pokemon:
[2016-09-05 15:47:26] [PokemonGoBot] [INFO] #4 Charmander: (CP 12, IV 0.67)
[2016-09-05 15:47:26] [PokemonGoBot] [INFO]
[2016-09-05 15:47:26] [RandomAlivePause] [INFO] [next_random_alive_pause] Next random alive pause at 16:50:13, for a duration of 0:07:22
[2016-09-05 15:49:34] [RandomPause] [INFO] [next_random_pause] Next random pause at 17:45:55, for a duration of 0:05:47
[2016-09-05 15:51:41] [yoyo.migrations] [INFO] Applying catch_log
[2016-09-05 15:51:41] [yoyo.migrations] [INFO] - applying step 0
[2016-09-05 15:51:41] [yoyo.migrations] [INFO] Marking catch_log applied
[2016-09-05 15:51:41] [yoyo.migrations] [INFO] Applying evolve_log
[2016-09-05 15:51:41] [yoyo.migrations] [INFO] - applying step 0
[2016-09-05 15:51:41] [yoyo.migrations] [INFO] Marking evolve_log applied
[2016-09-05 15:51:41] [yoyo.migrations] [INFO] Applying pokestop_log
[2016-09-05 15:51:41] [yoyo.migrations] [INFO] - applying step 0
[2016-09-05 15:51:41] [yoyo.migrations] [INFO] Marking pokestop_log applied
[2016-09-05 15:51:41] [yoyo.migrations] [INFO] Applying softban_log
[2016-09-05 15:51:41] [yoyo.migrations] [INFO] - applying step 0
[2016-09-05 15:51:41] [yoyo.migrations] [INFO] Marking softban_log applied
[2016-09-05 15:51:41] [yoyo.migrations] [INFO] Applying transfer_log
[2016-09-05 15:51:41] [yoyo.migrations] [INFO] - applying step 0
[2016-09-05 15:51:41] [yoyo.migrations] [INFO] Marking transfer_log applied
[2016-09-05 15:51:42] [RecycleItems] [INFO] [next_force_recycle] Next forced item recycle at 15:53:25
[2016-09-05 15:53:51] [pokemongo_bot.health_record.bot_event] [INFO] Health check is enabled. For more information:
[2016-09-05 15:53:51] [pokemongo_bot.health_record.bot_event] [INFO] https://github.com/PokemonGoF/PokemonGo-Bot/tree/dev#analytics
[2016-09-05 15:53:51] [PokemonGoBot] [INFO] [bot_start] Starting bot...
The text was updated successfully, but these errors were encountered: