Once a week, I download a file from the US FCC. I have a bash script with the following.
curl http://wireless.fcc.gov/uls/data/complete/l_amat.zip --remote-name
Every week, the first attempt to run that stalls. The data never flows. The progress message from cURL is working, time is ticking away but data rate is zero.
If I hit ctrl C to stop and then immediately run again, it works perfectly every time.
There seems to be a time period that I can leave it and it will work again first try. I think that time is about ten minutes. If I leave it longer than that, I need to do the start, stop and retry thing again.
This is Ubuntu 18.04 LTS running at Linode. It's only a hobby thing of no real importance but what could cause this? It's the only thing stopping me from fully automating the process that this is a part of.