internetarchive / iare

An interactive IARI JSON viewer
GNU Affero General Public License v3.0
5 stars 4 forks source link

as a patron I want to have the url checking run for 60 seconds to avoid timeouts because of slow hosts #21

Open dpriskorn opened 1 year ago

dpriskorn commented 1 year ago

recommended by max

mojomonger commented 1 year ago

i have found sending a timeout greater than 29 almost always causes WARI to return a 504 code on the /check-url request. We need to find out why and fix this.

You can use this check-url endpoint to test:

https://archive.org/services/context/wari/v2/check-url?url=https%3A%2F%2Fresultados.censo2017.cl%2FHome%2FDownload&refresh=true&timeout=30

dpriskorn commented 1 year ago

I found the cause of the issue. See https://github.com/internetarchive/wari/issues/726#issuecomment-1500792300 I pinged the admin of the proxy and I'm waiting for him to fix the settings on the nginx proxy.