question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Non active but hidden versions are stuck in a redirect loop

See original GitHub issue

Details

Hi, was trying to figure out how to make a version inactive and have it redirect to the default (latest) version. It seems that the behaviour is broken when the version is hidden. Currently when I uncheck the active box on a version but keep the hidden box checked, if I try to go to the version doc, it get stuck in a redirect loop and browser displays a “too many redirect” error.

This works well if both Active and Hidden are unchecked.

Expected Result

Non active AND hidden versions should redirect to the default version.

Exemple: https://besu.hyperledger.org/en/1.5.0/Concepts/Privacy/Privacy-Overview/ -> https://besu.hyperledger.org/en/stable/Concepts/Privacy/Privacy-Overview/

Actual Result

Non active AND hidden versions are stuck in a redirect loop. The page returns a 302 redirect to the same address. Exemple https://besu.hyperledger.org/en/1.5.0/Concepts/Privacy/Privacy-Overview/ returns ERR_TOO_MANY_REDIRECTS

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
NicolasMassartcommented, Aug 9, 2022

Also note that the use of hidden on an inactive version is totally useless. If it’s inactive it not accessible even in a hidden way. But as it generates a bug, I wanted to make sure we know. On my side I changed all the inactive versions hidden status to false with the API (except the one linked in this issue as example). So I’m good, no blocker.

1reaction
humitoscommented, Aug 9, 2022

Thanks for your quick reply. I don’t think it’s a problem with the redirects, yeah. I added the other issue as planned to the roadmap. Hopefully, we can prioritize it soon. Please, subscribe there to receive notifications.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Solve This Webpage has a Redirect Loop Problem
Solution of "This Webpage has a redirect loop" or "Error 310 (net::ERR_TOO_MANY_REDIRECTS): there were too many redirects" in Chrome and Mozilla Firefox.
Read more >
How To Easily Find And Fix Redirect Loops Error in WordPress?
Another easy way to look for the redirect loops is to use a redirect checker like SerpWox. Enter your URL, and the tool...
Read more >
How to Fix “Too Many Redirects” WordPress Error - DreamHost
The “too many redirects” WordPress error can occur when your site gets stuck in a redirection loop due to an issue with your...
Read more >
Why Does My Website Have a Redirect Loop? - WebFX
Redirect errors are a common but frustrating issue when browsing online. Here's how to fix them.
Read more >
How to Troubleshoot ERR_TOO_MANY_REDIRECTS {8 Fixes}
The ERR_TOO_MANY_REDIRECTS error indicates that the browser is stuck in an infinite redirection loop. An infinite redirection loop happens ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found