OnCall was not able to load the current user

Resently I’m tring to build up a back up Oncall instance, but when it is installed, it’s acting wiredly and showing me it was unable to load the current user, I have tried install it in several different machines, none of them works.

I have it deployed with docker, here are some logs
2023-09-22 09:31:58 source=engine:app google_trace_id=none logger=django.request Unauthorized: /api/internal/v1/escalation_policies/num_minutes_in_window_options 2023-09-22 09:31:58 source=engine:uwsgi status=401 method=GET path=/api/internal/v1/escalation_policies/escalation_options latency=0.006653 google_trace_id=- protocol=HTTP/1.1 resp_size=278 req_body_size=0 2023-09-22 09:31:58 source=engine:uwsgi status=401 method=GET path=/api/internal/v1/escalation_policies/num_minutes_in_window_options latency=0.006964 google_trace_id=- protocol=HTTP/1.1 resp_size=278 req_body_size=0 2023-09-22 09:31:58 source=engine:app google_trace_id=none logger=apps.auth_token.auth Could not get user from grafana request. Context {'UserID': 1, 'OrgID': 1, 'OrgName': 'Main Org.', 'OrgRole': 'Admin', 'Login': 'admin', 'Name': '', 'Email': 'admin@localhost', 'AuthenticatedBy': '', 'ApiKeyID': 0, 'IsServiceAccount': False, 'OrgCount': 1, 'IsGrafanaAdmin': True, 'IsAnonymous': False, 'IsDisabled': False, 'HelpFlags1': 0, 'LastSeenAt': '2023-09-22T09:31:55Z', 'Teams': []} 2023-09-22 09:31:58 source=engine:app google_trace_id=none logger=root inbound latency=0.008512 status=403 method=GET path=/api/internal/v1/organization user_agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36 content-length=0 slow=0 2023-09-22 09:31:58 source=engine:app google_trace_id=none logger=django.request Forbidden: /api/internal/v1/organization 2023-09-22 09:31:58 source=engine:uwsgi status=403 method=GET path=/api/internal/v1/organization latency=0.009573 google_trace_id=- protocol=HTTP/1.1 resp_size=254 req_body_size=0 2023-09-22 09:31:58 source=engine:app google_trace_id=none logger=apps.auth_token.auth Could not get user from grafana request. Context {'UserID': 1, 'OrgID': 1, 'OrgName': 'Main Org.', 'OrgRole': 'Admin', 'Login': 'admin', 'Name': '', 'Email': 'admin@localhost', 'AuthenticatedBy': '', 'ApiKeyID': 0, 'IsServiceAccount': False, 'OrgCount': 1, 'IsGrafanaAdmin': True, 'IsAnonymous': False, 'IsDisabled': False, 'HelpFlags1': 0, 'LastSeenAt': '2023-09-22T09:31:55Z', 'Teams': []} 2023-09-22 09:31:58 source=engine:app google_trace_id=none logger=root inbound latency=0.005739 status=401 method=OPTIONS path=/api/internal/v1/escalation_policies user_agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36 content-length=0 slow=0

Hi, I have somewhat of a same issue. Were you able to figure it out?

I got it fixed but not really knowing why, so what I did was just to startup a fresh grafana container with the grafana-oncall docker compose file, and everything just runs well