Skip to content
This repository has been archived by the owner on Jan 29, 2019. It is now read-only.

Reinstate the link checker #142

Open
alexwlchan opened this issue Aug 19, 2016 · 3 comments
Open

Reinstate the link checker #142

alexwlchan opened this issue Aug 19, 2016 · 3 comments

Comments

@alexwlchan
Copy link
Contributor

This has been a TODO item in pre-flight-checks.sh since March.

Given that at least one broken link crept through in its absence (see #141), might be nice to turn it back on.

@inglesp
Copy link
Contributor

inglesp commented Sep 9, 2016

So I've just had a go at fixing this (see inglesp/django-amber@bdbeeee)... but I hit this:

>>> requests.get('https://www.projectcalico.org/')
<Response [403]>

I can access the site fine with the browser...

Any ideas @alexwlchan?

@alexwlchan
Copy link
Contributor Author

@inglesp I haven’t worked on Calico for a while, but I get the same problem.

I’d guess that something in the nginx config is causing it to drop the python-requests user agent, although I can’t think why. I’ll drop a line to the Calico folks and see if they have any ideas.

@alexwlchan
Copy link
Contributor Author

Note that it doesn’t seem to be a certificate/HTTPS thing; I get the same result over HTTP:

>>> requests.get('https://www.projectcalico.org/')
<Response [403]>
>>> requests.get('http://www.projectcalico.org/')
<Response [403]>

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants