Skip to content

Too many redirects when accessing logging dashboard#

When accessing the logging dashboard if you encounter an error in your browser where it reports ERR_TOO_MANY_REDIRECTS, this is usually due to the user account being in too many groups.

The most common reason for this error is being added directly to project-groups.

There is a limitation in the size of the cookie being used by the logging dashboard that being in too many groups hits. While Lagoon attempts to reduce the data provided to the logging dashboard in the authorization token, we can't get around the cookie size limitation.

Reduce number of groups#

One way to resolve this is to reduce the number of groups or project-groups you're in. Unfortunately there is no exact number that is a limit, this is due to the name of the group or the project ID counting towards this limitation.

Re-organize groups and projects#

Another way that allows for access to remain is to re-organize the groups and projects.

If the user has been added to individual project-groups, then you could create a new group, associate all the projects that the user has access to to this new group, then grant the user access to the new group, then remove their access to all the individual project-groups.

An example of this would be

  • User person@example.com currently has access to individual projects project1 through to project30, all with the role of DEVELOPER
  • You could create a new group, for example example-projects-access and add the 30 projects to this group.
  • Add person@example.com to this group with the role DEVELOPER
  • Remove person@example.com from all the individual projects directly

This process would reduce the size of the data sent in the authorization token to the logging dashboard which may be enough to allow the user to access without encountering ERR_TOO_MANY_REDIRECTS.

Before you create too many groups for individual users that encounter this on a one-off basis, you may find that there are a number of users that could be in the same situation that could be added to the same group, it would be best to try and consolidate into a group where possible and only use direct project-group access where necessary.

If you're a member of an organization, you may need to talk to your organization administrator to handle the group creation. If you're unsure, or need help reducing the groups, contact support.