openaddresses / pyesridump

Scrapes an ESRI MapServer REST endpoint to spit out more generally-usable geodata.
MIT License
322 stars 68 forks source link

timeout not working #105

Open latot opened 1 month ago

latot commented 1 month ago

Hi all, I has been using the app and I notice the timeout stopped working (before it worked)

esri2geojson "url" "out.geojson" -t 600

I can confirm each retry takes closer to 30s.......... I have used 999999 seconds, which basically should be stalled with a bad esri map, but instead it just finished ignoring the timeout.

Thx!

iandees commented 1 month ago

I'm a little confused about your question. Are you saying that you specify a timeout of 600 seconds but it returns after 30 seconds?

latot commented 1 month ago

that is right... is ignoring it.

iandees commented 1 month ago

Have you tried this with another host? It's possible for the other end to close the connection before 600 seconds.

latot commented 1 month ago

mm, In some cases the time works, when there is a server that does not works (from the start there is a retry) this happens.

Sadly I can't know by the output that, I only got a timeout error...