softwaresaved / lowfat

The Software Sustainability Institute's low effort Fellowship Administration Tool (lowFAT). Contact: @gperu
https://softwaresaved.github.io/lowfat/
Other
13 stars 3 forks source link

Fail gracefully when we can't access a web resource #606

Open jag1g13 opened 3 years ago

jag1g13 commented 3 years ago

In lowfat.validator.online_document we check that a resource (e.g. blog post) is reachable. On 2020-11-26 something weird was happening with the network which caused all of these checks to fail. This caused requests which rely on these to Error 500.

From the server only ed.ac.uk was pingable, everything else I tested failed - hence confidence that this is a network issue.

jag1g13 commented 3 years ago

Couldn't replicate with a resource that did not exist - could potentially arise only with certain HTTP response codes, or when a resource exists but times out?