-
-
Notifications
You must be signed in to change notification settings - Fork 116
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
Google reauth is needed after an hour #77
Comments
Huh, that's weird. A refresh token should be set. Might be similar to #20. I've never been able to reproduce the issue... would you be able to dig in a little more and figure out why a refresh token isn't set? |
I have this issue, as well. It made syncing too much hassle restarting every hour with a large photo library so i stopped trying for a bit. |
What would be helpful is putting in some debug lines that could print out some state and help us know why a refresh token isn't set. If one of you who can reproduce the issue could do that, it would help us solve the problem. |
@mholt I can reproduce it reasonable well, but I'm not sure what kind of debug output would help. Would you mind posting a patch here with the debug lines that you think would be helpful? |
Sure, thanks. I just need a chance to sit down at my computer first. In the meantime I'd look at oauth-related files. |
@lewurm Sorry I never got around to this, I'm still really busy in both my work and personal life right now. But you could start by putting |
I tried to add some reauth hack when this failure happens, but that didn't work:
Probably another
timerliner.Open
isn't right here, but I didn't figure out how to pass down the handle frommain.go
due to my lack of Go knowledge 🙂Any insight would be appreciated, also if it happens for other people.
The text was updated successfully, but these errors were encountered: