-
Notifications
You must be signed in to change notification settings - Fork 208
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
Token expires after a short time #18
Comments
I can reproduce this behavior |
Same here. I've written a little patch to get a new token in |
Same, I added some code to playmaker to fetch a new token in case it's not valid anymore. I wonder if other projects are having the same issue. |
I can reproduce this problem with latest playmaker. After a few minutes the logs get flooded
|
@dizzy666 are you sure you're using the latest version? I fixed those problems some days ago, now it's working as intended (at least for me and a bunch of other people). I just uploaded the latest version on Docker Hub, be sure to |
@NoMore201 same error. |
I have tried GooglePlayAPI in a Python shell.
|
Here it is, once again @yeriomin has the answer to the problem. It seems related to the token TTL parameter, and a second auth request is needed. |
After some time of "inactivity" during a session, google starts answering with empty responses like this:
If you login again, API starts working again until another 5 minutes of inactivity. It seems like the token expires after a short time, but this is strange since auth tokens were thought to be valid for months. I'm quite sure it doesn't depend on gpapi code, but it is a google break.
Steps to reproduce issue:
Let me know if you can reproduce this behaviour
The text was updated successfully, but these errors were encountered: