PokemonGo-Bot: Repeatedly get "Request for new Access Token failed! Logged out..."

Expected Behavior

Bot starts running

Actual Behavior

Bot stops with: [pgoapi.pgoapi] [ERROR] Request for new Access Token failed! Logged out…

Your FULL config.json (remove your username, password, gmapkey and any other private info)

using the default as in config.json.example.

Output when issue occurred

2017-01-11 13:45:19,052 [ cli] [INFO] PokemonGO Bot v1.0 2017-01-11 13:45:19,060 [ cli] [INFO] commit: 1dd0bb17 2017-01-11 13:45:19,064 [ cli] [INFO] Configuration initialized 2017-01-11 13:45:19,064 [pokemongo_bot.health_record.bot_event] [INFO] Health check is enabled. For more information: 2017-01-11 13:45:19,064 [pokemongo_bot.health_record.bot_event] [INFO] https://github.com/PokemonGoF/PokemonGo-Bot/tree/dev#analytics 2017-01-11 13:45:19,075 [requests.packages.urllib3.connectionpool] [INFO] Starting new HTTP connection (1): www.google-analytics.com (29786) wsgi starting up on http://127.0.0.1:4000 [2017-01-11 13:45:19] [PokemonGoBot] [WARNING] SleepSchedule is disabled [2017-01-11 13:45:19] [PokemonGoBot] [INFO] Setting start location. [2017-01-11 13:45:19] [PokemonGoBot] [INFO] [x] Coordinates found in passed in location, not geocoding. [2017-01-11 13:45:19] [PokemonGoBot] [INFO] Location found: 37.437555,-122.111946 (37.437555, -122.111946, 8) [2017-01-11 13:45:19] [PokemonGoBot] [INFO] Now at (37.437555, -122.111946, 8) [2017-01-11 13:45:19] [PokemonGoBot] [INFO] Login procedure started. [2017-01-11 13:45:23] [pgoapi.pgoapi] [ERROR] Request for new Access Token failed! Logged out… [2017-01-11 13:45:23] [PokemonGoBot] [INFO] Not logged in, reconnecting in 914 seconds

Steps to Reproduce

Occurs every time the bot is started, throughout the day

Other Information

OS: Mac OS 10.12.2 (16C67) Branch: master Git Commit: 1dd0bb17 Python Version: 2.7.12 Any other relevant files/configs (eg: path files)

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 30 (16 by maintainers)

Most upvoted comments

😃 I didn’t even noticed, that linux manual installation and setup.sh says about pip and windows manual about pip2 😃 anyway - I’m glad that it worked 😃