Closed pwalczysko closed 1 year ago
cc @sbesson @jburel
Hi, I'm not able to reproduce this for https://omero.readthedocs.io/en/stable/sysadmins/unix/server-installation.html, but I'm able to reproduce it for https://docs.openmicroscopy.org/latest/omero/sysadmins/server-permissions.html.
$ curl -I https://docs.openmicroscopy.org/latest/omero/sysadmins/server-permissions.html
HTTP/1.1 303 See Other
Date: Mon, 13 Feb 2023 16:07:26 GMT
Server: Apache/2.2.15 (CentOS)
Strict-Transport-Security: max-age=31536000; includeSubdomains
Location: https://docs.openmicroscopy.org/omero/latest/sysadmins/server-permissions.html
Connection: close
Content-Type: text/html; charset=iso-8859-1
I don't see that the project has any redirects, and that custom domain isn't managed by RTD
$ dig +short docs.openmicroscopy.org
downloads.openmicroscopy.org.
134.36.65.239
@stsewd agreed the docs.openmicroscopy.org redirect is completely unmanaged to readthedocs and should be irrelevant for this discussion.
I was just able to reproduce the infinite redirects using another page under the rtd domain.
As @pwalczysko noted this behavior are intermittent but our community has noticed them quite frequently over the last few days/weeks
I was able to replicate this. I'd be giving more details here shortly.
This will be fixed tomorrow in our deploy
This should now be deployed. Please let us know if it resolves your issue. 👍
This is fixed now. For context, this was happening because we found a security vulnerability (https://github.com/readthedocs/readthedocs.org/security/advisories/GHSA-mp38-vprc-7hf5), and while we waited to fix it at the app level (today's deploy), we mitigated it at the CDN level. This mitigation caused CloudFlare to "normalize" the URL used as cache key, this is /en//latest//
was cached as /en/latest/
, which should be ok, but we redirect URLs with //
to their single slash version, so CloudFlare was caching that redirect for all URLs, including the ones with a single slash.
@ericholscher @stsewd Thank you so much for the speedy fix, all what we tested up till now works, we will come again of course if we find something still not redirecting
Details
https://omero.readthedocs.io/en/stable/sysadmins/unix/server-installation.html https://docs.openmicroscopy.org/latest/omero/sysadmins/server-permissions.html
just to give 2 examples
is giving in the browser
These issues are intermittent, and last for some 2-3 minutes at a time, then they go away, and repeat, first occurrence observed was Wed February 8.
Expected Result
The page should render. There should not be infinite redirects, see the
curl
output below.Actual Result
In browser
Also, the
curl
reports infinite redirects.possibly a variation of https://github.com/readthedocs/readthedocs.org/issues/9468 ?