-
Notifications
You must be signed in to change notification settings - Fork 297
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
Non-admin users lose access after some time (around 24h) #3607
Comments
Switching |
When I tried to investigate that case I found out that some of "old" tokens are somehow cached in request object and when new token is generated other user does status request then token check fails and it changes token status in database to failed. |
@dmitry-tiger, are you restarting the engine every 24 hours? |
@grafana/grafana-oncall-frontend |
I can't say that it happens every day in our environment but sometimes it happens quite often (2-3 times a week) |
@dmitry-tiger, no jobs on my side. Only the built-in functionality. |
I enabled debugging on Grafana and saw the following error when a user opened the OnCall pannel.
Our org ID is 1. In the DB, the user is with org ID 1. Why is it sending org ID 0? I'm not the only one having this issue. Can one of the developers please jump in and assist? |
This was resolved by keeping |
What went wrong?
What happened:
Around 24 hours after starting the service, Users are getting the following error message.
Admins seeing a pop-up
followed by
and are able to operate the tool without an issue
The logs on Grafana:
Logs on engine
What did you expect to happen:
Maybe related issues
#3236
#3566
Our setup
Grafana 10.2.2 deployed with Grafana Helm chart
Grafana OnCall 1.3.77 deployed with the helm chart from this repo
GCP CloudSQL DB for both Grafana and Oncall
GCP MemoryStore Broker
Cloudflare ZeroTrust protects Oncall and Grafana.
We Use Cloudflare as Auth poxy for Grafana but the error is the same with local users.
Config
How do we reproduce it?
Grafana OnCall Version
1.3.77
Product Area
Auth
Grafana OnCall Platform?
Kubernetes
User's Browser?
Any
Anything else to add?
No response
The text was updated successfully, but these errors were encountered: