Skip to content

docs.verilogtorouting.org yields HTTP 403, Cloudflare Error 1014 #376

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
p--b opened this issue Jul 23, 2018 · 2 comments
Closed

docs.verilogtorouting.org yields HTTP 403, Cloudflare Error 1014 #376

p--b opened this issue Jul 23, 2018 · 2 comments

Comments

@p--b
Copy link

p--b commented Jul 23, 2018

Apologies if this isn't the best place for this issue; wasn't sure if the verilog-to-routing.githib.io repo would be more appropriate...

Expected Behaviour

Loading https://docs.verilogtorouting.org should yield documentation

Current Behaviour

Loading https://docs.verilogtorouting.org yields a cloudflare error

Possible Solution

Serve website directly without using cloudflare

Steps to Reproduce

$ curl docs.verilogtorouting.org -I
HTTP/1.1 403 Forbidden
Date: Mon, 23 Jul 2018 00:59:49 GMT
Content-Type: text/html; charset=UTF-8
Connection: close
Set-Cookie: __cfduid=df77d7fc2f70fe6174e1809e8a33a31201532307589; expires=Tue, 23-Jul-19 00:59:49 GMT; path=/; domain=.verilogtorouting.org; HttpOnly
Cache-Control: max-age=15
Expires: Mon, 23 Jul 2018 01:00:04 GMT
X-Frame-Options: SAMEORIGIN
Server: cloudflare
CF-RAY: 43ea34e3735bbc50-LHR
$ lynx docs.verilogtorouting.org -dump

   Please enable cookies.

Error 1014 Ray ID: 43ea360ae4b106be • 2018-07-23 01:00:36 UTC

CNAME Cross-User Banned

What happened?

   You've requested a page on a website that is part of the Cloudflare
   network. The host is configured as a CNAME across accounts on
   Cloudflare, which is prohibited by security policy.

What can I do?

   If you are interested in learning more about Cloudflare, please visit
   our website.

   Cloudflare Ray ID: 43ea360ae4b106be • Your IP: 146.169.136.132 •
   Performance & security by [1]Cloudflare

References

   1. https://www.cloudflare.com/5xx-error-landing?utm_source=error_footer

Context

Attempting to view documentation

Your Environment

The internet

@mithro
Copy link
Contributor

mithro commented Jul 23, 2018

FYI - You can view the docs at http://vtr-verilog-to-routing.readthedocs.io/en/latest/ while the problem is fixed.

@kmurray
Copy link
Contributor

kmurray commented Jul 31, 2018

We have been using Cloudflare to provide https access to docs.verilogtorouting.org, which was CNAMEed to readthedocs.io (who host the actual documentation).

It seems that Read The Docs recently switched to using Cloudflare for readthedocs.io with the aim of providing https for custom domains (the same reason we were using Cloudflare). However, for security reasons Cloudflare only allows one-level of proxying, which is why things broke. For full details see here.

The recommendation seems to be to set our docs.verilogtorouting.org CNAME to cloudflare-to-cloudflare.readthedocs.io which allows us to keep settings like http -> https redirects in place.

At some point RTD plans on enabling http -> https redirects globally. Once that is done we can likely disable the Cloudflare proxying on our end, and set the CNAME back to readthedocs.io.

In the meantime, I've updated the CNAME to cloudflare-to-cloudflare.readthedocs.io and docs.verilogtorouting.org should now be served correctly.

@kmurray kmurray closed this as completed Jul 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants