download problem (error 500 with wget)

Flaminia Fortuni
  • 6 Nov '21

Hi,
I'm trying to download TNG100-1 files with wget (snapshots,groups,offsets), it worked until yesterday, but now but it gives me "Error 500: internal server error". Does it depends by your server?
thanks

Dylan Nelson
  • 1
  • 7 Nov '21

This currently works fine for me. Is it still a problem?

There could always be occasional errors, timeouts, etc. Best to make sure you can automatically retry/resume any download or analysis.

Flaminia Fortuni
  • 1
  • 7 Nov '21

It still gives me the error. I simply copy and paste the wget command from the TNG download page. Indeed, it has alway worked for me, but since friday it doesn't.

wget -nd -nc -nv -e robots=off -l 1 -r -A hdf5 --content-disposition --header="API-Key: myAPI-key" "http://www.tng-project.org/api/TNG100-1/files/snapshot-25/?format=api" 
https://www.tng-project.org/api/TNG100-1/files/snapshot-25/?format=api:
2021-11-07 18:09:48 ERRORE 500: Internal Server Error.

EDIT:
I don't know the reason, but with the header --header='Accept-Language: en-us,en;q=0.5', it works. I write it here in case someone needs it. It is funny because before now, I have never needed it!

Dylan Nelson
  • 7 Nov '21

Dear Flaminia,

Thanks for the information, I traced this down to a recent change. Should be all fixed now.

  • Page 1 of 1