Chromium Browsers - net::ERR_TOO_MANY_REDIRECTS 308 #134

Closed
opened 2026-02-04 17:25:46 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @dbrennand on GitHub (Oct 5, 2021).

Hi,

So I deployed Planka recently. However, I've been unable to get it to work with any chromium based browser (such as Google Chrome or the new Microsoft Edge).

I get the browser console error: net::ERR_TOO_MANY_REDIRECTS 308

I do not get this issue with Firefox, I'm running behind a reverse proxy however, I'm not conviced this is the reason for the redirects. I think that it could be something related to this stackoverflow post as I'm also hosting on a subdomain and getting a similar issue described here.

I'm not knowledgeable enough on how sails.js works, could anyone point in the right direction on how I may be able to implement the workaround described in the stackoverflow post?

Many Thanks!

EDIT: Or do you think this might be because of trustProxy not being enabled?

Originally created by @dbrennand on GitHub (Oct 5, 2021). Hi, So I deployed Planka recently. However, I've been unable to get it to work with any chromium based browser (such as Google Chrome or *the new* Microsoft Edge). I get the browser console error: `net::ERR_TOO_MANY_REDIRECTS 308` I do not get this issue with Firefox, I'm running behind a reverse proxy however, I'm not conviced this is the reason for the redirects. I think that it could be something related to [this](https://stackoverflow.com/questions/52333236/http-trustproxy-flag-not-recognized-when-deploying-sails-app-in-production-mode) stackoverflow post as I'm also hosting on a subdomain and getting a similar issue described here. I'm not knowledgeable enough on how sails.js works, could anyone point in the right direction on how I may be able to implement the workaround described in the stackoverflow post? Many Thanks! EDIT: Or do you think this might be because of [trustProxy](https://github.com/plankanban/planka/blob/master/server/config/env/production.js#L276) not being enabled?
Author
Owner

@dbrennand commented on GitHub (Oct 5, 2021):

Just tried setting trustProxy: true in config/env/production.js but made no difference.

@dbrennand commented on GitHub (Oct 5, 2021): Just tried setting `trustProxy: true` in `config/env/production.js` but made no difference.
Author
Owner

@dbrennand commented on GitHub (Oct 5, 2021):

Issue resolved.

Not entirely sure what fixed it. I think the trustProxy setting may have done and I hadn't cleared the browser cache and re-checked.

@dbrennand commented on GitHub (Oct 5, 2021): Issue resolved. Not *entirely* sure what fixed it. I think the `trustProxy` setting may have done and I hadn't cleared the browser cache and re-checked.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/planka#134