-
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
Session stale, re-logging in #5712
Comments
I've just tried.. Happens the same with master branch! |
Sounds like some sort of issue with your pokemongo account expiring sessions too quickly. Are you using google or ptc account? |
Ptc account. But it is weird! Trying it on another pc it works correctly... Could it be a docker problem? |
Hmm, I didn't realise it worked with the same account on another PC. Looking at the code, I'm wondering if it might be a timezone issue:
SO it gets ticket expiry from the api, and compares it with your local time, and thinks remaining_time is < 60 seconds... pretty much every time. In my case, I get: |
Fu*k! 😅 It is my old pc and I did not realize that the time was wrong. |
No worries, happy to help. |
Expected Behavior
The bot remains logged in
Actual Behavior
Session stale, re-logging in.
A lot of timesYour FULL config.json (remove your username, password, gmapkey and any other private info)
http://pastebin.com/marNFBVM
Output when issue occurred
http://pastebin.com/RyfmP1fm
Other Information
OS:
Arch Linux 4.7.4-1-ARCH #1 SMP PREEMPT Thu Sep 15 15:24:29 CEST 2016 x86_64 GNU/Linux
Branch:
dev
Git Commit:
4c380f2
Python Version:
Working with the original docker-compose
The text was updated successfully, but these errors were encountered: