spiceinit (web=true) gives error: **ERROR** The server sent an unrecognized response.
it's been some days that I've tried to use the web-server for spice data initialization but always got the same error: ERROR The server sent an unrecognized response.
I have tried it on different cubes (CTX and HiRISE images) and from different computers, could it be a problem with the server?
Thanks in advance!
#3 Updated by Tyler Wilson over 1 year ago
- Status changed from Acknowledged to In Progress
Modifying the spiceinit code so that the server url is:
and the port set to
fixed the problem.
The problem probably lies with a recent
https migration. The IT department is looking into it.
#4 Updated by Ilaria Lauzana over 1 year ago
Thanks for telling me about the https migration, I tried changing the server url from http://services.isis.astrogeology.usgs.gov/cgi-bin/spiceinit.cgi to https://services.isis.astrogeology.usgs.gov/cgi-bin/spiceinit.cgi and it worked!
#5 Updated by Tyler Wilson over 1 year ago
This is a work-around for this problem which will hopefully work:
- Change the url for the web service to: https://services.isis.astrogeology.usgs.gov/cgi-bin/spiceinit.cgi
- Change the default port (currently set to 80), to 443.
- Set web=true
The full command looks like this:
spiceinit from=Sub4-AS15-M-0583_msk.cub url=https://services.isis.astrogeology.usgs.gov/cgi-bin/spiceinit.cgi web=true port=443
This is a temporary fix, and we are hoping for a more permanent solution when the next version of ISIS is released in late January.