Error 500

Moritz Haslbauer
  • 1
  • 16 Apr '19

Hello!

I am trying to download the gas cell data from halos. For some halos it is working, but for some (z<0) I get the following error:

Code:
sub_prog_url = "http://www.illustris-project.org/api/Illustris-1/snapshots/128/halos/1128/"
sub_prog = get(sub_prog_url)

cutout_request = {'gas':'Coordinates,Masses'}
cutout = get(sub_prog_url+"cutout.hdf5", cutout_request)

Error:
Traceback (most recent call last):
File "image_404871.py", line 119, in
cutout = get(sub_prog_url+"cutout.hdf5", cutout_request)
File "image_404871.py", line 61, in get
r.raise_for_status()
File "/usr/lib/python3/dist-packages/requests/models.py", line 840, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 500 Server Error: INTERNAL SERVER ERROR for url: http://data.illustris-project.org/cutout/halo/L75n1820FP/128/1128/513.0.0.0.0.0/?token=c8b17b18fcea5e91909e

Do you know why this problem appears and how I can solve it? It is strange, because for some halos it is working perfectly but not for all of them (but last week it was working).

Thank you and best wishes,
Moritz

Dylan Nelson
  • 16 Apr '19

Hi Moritz,

I would suggest you simply change illustris-project.org to tng-project.org in your scripts and API addresses. (The Illustris data is also available here, and using this address will request data from our more robust server at the moment).

Moritz Haslbauer
  • 16 Apr '19

Thank you very much! Now it is working!

  • Page 1 of 1