-
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
Repeatedly get "Request for new Access Token failed! Logged out..." #5867
Comments
try to run the bot without / outside virtualenv as the workaround while the main issue in under investigation |
@pogarek same 😕 |
Try to reinstall the bot, this time skip commands about virtualenv. and activate . |
Having same issue, not sure how to install the bot without virtualenv, run.sh throws error when virtualenv is not there. |
try manual installation from docs, then just run the bot from python directly :
|
|
ok, like libs not found. let me try to find the root cause then. checking now |
ok. Guys, please test the workaround:
continue with bot installation as usual, with virtualenv. Please update this issue if it helped. |
Still same errors for me. You are awesome for being so responsive! |
:)
bot works.. without/before the change in requirements.txt it was failing ,as for you.. |
Thanks, im in Ubuntu will try to set up in Windows and report back |
Try follow these step on Linux . You can take commands from here: https://github.com/PokemonGoF/PokemonGo-Bot/blob/master/docs/manual_installation.md#linux-and-mac |
OK I'll try that on Linux, I had not seen that doc before. I followed the directions to install on read.me |
sure. just update requirements.txt before running 'pip2 install --upgrade -r requirements.txt' |
Success! Thanks @pogarek ! |
👍 |
Yessss..works again here as well (Ubuntu) : this one was key for me :
Using pip instead of pip2 didn't work :) |
:-) I didn't even noticed, that linux manual installation and setup.sh says about pip and windows manual about pip2 :) |
@saliapin I followed https://github.com/PokemonGoF/PokemonGo-Bot/blob/master/docs/manual_installation.md#linux-and-mac that @pogarek posted above. He mentioned changing requirements.txt, but I don't think that's necessary anymore, the change appears to be merged. Interestingly, it worked for 1.5 hours and now I'm getting Hashing Exception, and more login errors. Guessing some more issues need to be worked through. Looks like its been reported as issue #5868 |
@pogarek thanks for the clarification! |
Thanks to @pogarek and @smirciat ! Follow exactly this procedure: right before entering: Proceed with: |
👍 |
@pogarek I can't get it restarted, I'm going to try reinstalling and see if that helps |
or your network connectivity.. "My" outages are short.. |
@pogarek That is interesting. I am in Alaska, do you think that makes a difference? I have connectivity to other sites servers but the Hashing server is off more than on for me |
Might be the case.. The hashing server used by pogoapi is the one: https://pokehash.buddyauth.com . Try to collect some logs with debug enable to see, if errors are due connectivity. Then you can try to contact support : https://talk.pogodev.org/t/api-hashing-support OR https://bosslandgmbh.zendesk.com/hc/en-us OR on hashing-support channel on https://discord.pogodev.org/ . |
@smirciat Check this for hashing server status: https://status.buddyauth.com/ |
It should be solved now - the change is merged to the repository. |
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: 1dd0bb1
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:
1dd0bb1
Python Version:
2.7.12
Any other relevant files/configs (eg: path files)
The text was updated successfully, but these errors were encountered: