-
Notifications
You must be signed in to change notification settings - Fork 9
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
Question: How do I skip the expiry on a headless server? #31
Comments
On a 401 would also be nice to delete metrics and stop exporting (outdated) values to Prometheus, so that we can notice this is happening from the graph. |
For me it works barely for 20 minutes after authentication. :(
|
Hey @lapo-luchini , gmail / google is kinda shitty with their APIs - things seem to randomly change and aren't versioned great. It does look like some scopes were renamed which I need to look into - see #32 (comment) . I agree that this app should expose this as an error to prom - I don't know what is the idiomatic way to do this in Prometheus, so I'll start some research on that. |
@Kiara0107 - the app needs to constantly refresh login_cookie.dat - but it should re-login automatically without you having to open a browser all the time. Sorry that you have been waiting so long for me to reply. @lapo-luchini - the error message you're posting isn't logging you out, but rather, you just have some bad scopes configured. I had some old documentation in the readme about scopes - which I've updated just now. Can you re-check your scopes? If you remove the invalid ones your error should disapear. |
Oh, okay! I did need to re-login when stopping and immediately restarting the app, so I tought it was so. |
Make sure you update your container image - the version posted to docker hub was very old (I just deleted it), the version on ghcr.io is good 😊 |
As advised in the READ.ME I have created the login_cookie.dat on my local Windows host (with internet). I moved that file to the headless linux server where I want to run the docker container. It's working for 1 hour, then the file is expired. How do I prevent expiry?
login_cookie.dat
client_secret.json
Linux Ubuntu 20.04.6 LTS (GNU/Linux 5.4.0-156-generic x86_64)
Logfile after 1 hour shows:
I'm probably missing a simple step, can you help me out? :)
The text was updated successfully, but these errors were encountered: