Grafana login page logs out immediately

  • What Grafana version and what operating system are you using? 8.1

  • What are you trying to achieve? login to the HA grafana

  • How are you trying to achieve it? using nginx proxy to login to the grafana servers

  • What happened? the login screen appears but logs out after entering the credentials

  • What did you expect to happen? the login page should go through

  • Can you copy/paste the configuration(s) that you are having problems with?

  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were. UI says logged in and in the logs i could see the error:

t=2021-08-17T07:57:07-0400 lvl=eror msg=“Failed to look up user based on cookie” logger=context error=“user token not found”

  • Did you follow any online instructions? If so, what is the URL? yes i set cookie to disable and set the below parameters

cookie_samesite = disabled
login_maximum_inactive_lifetime_duration = 6M
login_maximum_inactive_lifetime_days = 90d
login_maximum_lifetime_duration = 90d
token_rotation_interval_minutes = 120

This topic was automatically closed after 365 days. New replies are no longer allowed.