glygener / glygen-issues

Repository for public GlyGen tickets
GNU General Public License v3.0
0 stars 0 forks source link

https://data.glygen.org/ln2downloads/ no longer gives error when incorrect URL is used... #1277

Open edwardsnj opened 2 weeks ago

edwardsnj commented 2 weeks ago

When the URL I'm using is no longer good, I expect these urls to return 404 Not Found. Instead it now bounces me to an infinite spinning disk at data.glygen.org. This means that I can't tell that something is wrong, silent fail is bad.

rykahsay commented 2 weeks ago

My nginx set up is failing to produce 404. So, I am hacking it to give the following message when the file is not found:

image
edwardsnj commented 2 weeks ago

That is only good for interactive use. Scripts expect an appropriate HTTP error code. 200 OK is not helpful (even if a user can see with their eyes that it is a bad URL).