Redirect Loop in Maintenance Mode.

  • I cannot reproduce this and it doesn't make much sense to me since the maintenance mode almost immediately terminates request processing. Is this reproducible on your site?

    Yes it is. This issue only occurs within production and not the local clone of it. I can coordinate an demonstration with you if you would like.

    • Offizieller Beitrag

    Have you checked the redirect location? Each browser has a set of built-in developer tools (push F12 to fire them up) which offer a way to log and trace network requests. In case a redirect takes place, you should find the request with HTTP status 301 or 307 along with the full set of headers. The Location-header specifies the redirect URL, it should not match the requested URL.

    Also please verify that there are no server-side configured redirects (e.g. www. to non-www or vice versa) which could cause an infinite loop. Next please ensure that your webserver is not configured to intercept status codes, because this could lead to a false behavior. Last but not least, if you're using a reverse proxy and offer both http and https, double-check if you have any rules that cause a redirect to http/https.

  • @Alexander Ebert, so at a glance, there are no known redirects configured on the server side. What is more strange is, when you are logged in as an admin, the boards appear offline and you can see the maintenance notice just fine. However, if you log out, that is when the redirect occurs. I am assuming to guests and normal users.

    Also, here is the redirect loop:

    • Offizieller Beitrag

    @JoshHubi Would you be so kindly to provide me with FTP access to the forum directory. I would like to modify some files to force the maintenance mode for me only (thus having no impact on other users), this way I can trace down the source of the redirect and the potential cause of it. You can provide these details by submitting a ticket or directly by email to ebert@woltlab.com, if you're submitting a ticket please leave a short notice here.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!