Auth error with anonymous user

I’m using Grafana with anonymous user for testing. Everything works, but I get this error in the log every 10 seconds:

grafana-1 | logger=authn.service t=2025-03-13T19:42:59.897886591Z level=warn msg=“Failed to authenticate request” client=auth.client.session error=“user token not found”

Is there some way to suppress this warning?

I’m using Grafana 11.5.2 with this docker compose:

  grafana:
    image: grafana/grafana:latest
    ports:
      - "3000:3000"
    volumes:
      - ./provisioning/:/etc/grafana/provisioning/
    environment:
      - GF_AUTH_ANONYMOUS_ENABLED=true
      - GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
    depends_on:
      - prometheus

# Either "debug", "info", "warn", "error", "critical", default is "info"
level = info

with docker from Ask AI

docker run -d -p 3000:3000 --name=grafana \
  -e "GF_LOG_LEVEL=error" \
  grafana/grafana-enterprise

Sure that will do it, but I wanted to understand why this is happening. I thought it should not be trying to authenticate anything for an anonymous user.

Let me guess: because login is still enabled, so some user still may be authenticated and Grafana needs to verify their token/cookie. This is just warning, that tolen/cookie was not found.