-
Notifications
You must be signed in to change notification settings - Fork 128
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
Refresh GOG access token on error #294
Comments
That is weird. Does it just appear when GameHub is running for a long time or is there something else to reproduce it? Your suggestion will just hide the underlying problem instead of fixing it.
|
It looks like GOG access token is not refreshed on error but is refreshed on app start. I think this bug was introduced recently. Previously parser did return |
Ah so it's a bug then. Can I do something to fix it? Maybe I can delete the error message and re-open Gamehub? |
It's a bug. Now you can either select affected games in list view with |
The |
@loaderini now (dfab162) GameHub should try to refresh GOG access token if request returns error 401 and then retry request. You can test if it actually works:
If
|
Former-commit-id: dfab162
Former-commit-id: 03033ec
I suggest a 'check/uncheck' option that will do the following: Every time the user opens Gamehub, the folder "com.github.tkashkin.gamehub" in
home/.cache
will be automatically be deleted right before the application opens and right after the application is closed.The reason for this suggestion is the following: almost every time I leave Gamehub open to download games or just do nothing and simply be open, it stops responding after a while. The "install" button becomes disabled after some time, or the details windows won't open, weird stuff. Even if I close and open the app again, the weird problems are still there. But I noticed that if I delete the "com.github.tkashkin.gamehub" folder in home/.cache the problems are gone when I re-open Gamehub. So that option would be very convenient for users who have the same problem.
Now, about the reason of the problem: in Ubuntu settings - Privacy I have enabled the option to automatically purge temporary files after 1 hour. So, maybe that's the reason. But I want to keep that option enabled, so my suggestion could work. If anyone else has that option in Ubuntu and have the same problem in Gamehub, maybe that's it.
The text was updated successfully, but these errors were encountered: