Grafana LDAP Login Issues

I’m using the Ubuntu Grafana package (6.6.0, which seems to be latest) with LDAP authentication.

After the last update, I’m seeing intermittent login problems.

The primary problem is sometimes it will just…not log you in. It will just continuously redirect you to the login page, even though the login was successful. It will also redirect you to login if you attempt to go to a dashboard directly - basically, acting as if it hasn’t logged you in, even though it should have.

After awhile (anywhere from 5 minutes to an hour), it will just magically start working again with no changes.

Some logs from a time where this happened (debug on - there are no errors of any kind):

t=2020-02-05T10:29:49-0700 lvl=dbug msg="LDAP users found" logger=ldap users=[redacted]
t=2020-02-05T10:29:49-0700 lvl=dbug msg="user auth token created" logger=auth tokenId=331 userId=2 clientIP=[redacted] userAgent="[redacted]" authToken=[redacted]
t=2020-02-05T10:29:49-0700 lvl=info msg="Successful Login" logger=http.server User=[redacted]
t=2020-02-05T10:29:49-0700 lvl=info msg="Request Completed" logger=context userId=0 orgId=0 uname= method=GET path=/ status=302 remote_addr=[redacted] time_ms=0 size=29 referer=https://[redacted]/login
t=2020-02-05T10:29:52-0700 lvl=dbug msg="LDAP users found" logger=ldap users=[redacted]
t=2020-02-05T10:29:52-0700 lvl=dbug msg="user auth token created" logger=auth tokenId=332 userId=2 clientIP=[redacted] userAgent=[redacted]authToken=[redacted]
t=2020-02-05T10:29:52-0700 lvl=info msg="Successful Login" logger=http.server User=[redacted]
t=2020-02-05T10:29:52-0700 lvl=info msg="Request Completed" logger=context userId=0 orgId=0 uname= method=GET path=/ status=302 remote_addr=[redacted] time_ms=0 size=29 referer=https://[redacted]/login

Anyone got any ideas as to what could be causing this? Or debugging steps I could try?

@ewalkup, We are also facing similar issue in Grafana 7.0.3 with Basic Admin Auth. After testing with correct credentials, grafana shows a Green Checkbox stating successful login, but redirects back to /login page.
Were you able to fix it?

@ash007 No, I was never able to fix it - nor did I ever receive any replies or help on the forums.

It did fix itself after several updates - I am running 6.7.3 with no more login issues.

i get the same issue after upgrade to grafana 7.0.3, but with MS Edge only, MS IE11 and Crome works fine, so the AD-Connector is working