Error 404 with file_search API
Error 404 with file_search API
Hi,
Since yesterday 17:30 UTC it seems we get a lot more HTTP 404 errors when trying to use your file search API https://oceandata.sci.gsfc.nasa.gov/api/file_search
Some HTTP requests succeed (rarely) but for the majority them we get a 404 error.
We found no wrong usage on our side, are there some issues/changes on your side?
Thanks in advance,
Julien
Since yesterday 17:30 UTC it seems we get a lot more HTTP 404 errors when trying to use your file search API https://oceandata.sci.gsfc.nasa.gov/api/file_search
Some HTTP requests succeed (rarely) but for the majority them we get a 404 error.
We found no wrong usage on our side, are there some issues/changes on your side?
Thanks in advance,
Julien
Filters:
-
- Subject Matter Expert
- Posts: 451
- Joined: Fri Feb 05, 2021 9:17 am America/New_York
- Been thanked: 7 times
Re: Error 404 with file_search API
We are working through an issue that is causing intermittent external database availability problems. That is likely the cause of your 404s.
Tommy
Tommy
Re: Error 404 with file_search API
Hi,
Do you have some news about this issue?
Thanks in advance,
Julien
Do you have some news about this issue?
Thanks in advance,
Julien
-
- Posts: 1
- Joined: Mon May 09, 2022 7:36 am America/New_York
Re: Error 404 with file_search API
Dear Tommy,
is this issue still under investigation?
Do you suggest a workaround?
Thank You in advance.
Philippe
is this issue still under investigation?
Do you suggest a workaround?
Thank You in advance.
Philippe
-
- Posts: 71
- Joined: Mon Apr 20, 2020 8:04 am America/New_York
Re: Error 404 with file_search API
Hi,
Sorry but on our side we still have the same issue: for the majority of requests we get a 404 error.
Julien
Sorry but on our side we still have the same issue: for the majority of requests we get a 404 error.
Julien
Re: Error 404 with file_search API
I am also seeing the same:
Connecting to oceandata.sci.gsfc.nasa.gov (oceandata.sci.gsfc.nasa.gov)|169.154.128.84|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2022-05-13 13:27:49 ERROR 404: Not Found.
Connecting to oceandata.sci.gsfc.nasa.gov (oceandata.sci.gsfc.nasa.gov)|169.154.128.84|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2022-05-13 13:27:49 ERROR 404: Not Found.
-
- Posts: 71
- Joined: Mon Apr 20, 2020 8:04 am America/New_York
Re: Error 404 with file_search API
Can you post the username, public ip and the file and the url you are using
Re: Error 404 with file_search API
Our configuration:
username: globcolour
public IP: 5.252.148.9
file: no file because we have the error using the file_search API (our usage is construct a list of recent products with several calls to file_search then download the ones we don't have locally)
Example of our HTTP request using Python:
Corresponding raw request:
username: globcolour
public IP: 5.252.148.9
file: no file because we have the error using the file_search API (our usage is construct a list of recent products with several calls to file_search then download the ones we don't have locally)
Example of our HTTP request using Python:
Code: Select all
session.request('POST', 'https://oceandata.sci.gsfc.nasa.gov/api/file_search', data={'sensor': 'terra', 'sdate': '2021-10-28', 'edate': '2021-10-31', 'psdate': '2021-10-28', 'pedate': None, 'dtype': 'L2', 'search': 'T*.L2_LAC_OC.nc', 'std_only': 1, 'cksum': 1, 'results_as_file': '1', 'format': 'txt'})
Code: Select all
POST https://oceandata.sci.gsfc.nasa.gov/api/file_search
User-Agent: python-requests/2.21.0
Accept-Encoding: gzip, deflate
Accept: */*
Connection: keep-alive
Content-Length: 146
Content-Type: application/x-www-form-urlencoded
Authorization: Basic Z2xvYmNvbG91cjpHbG9iQ29sb3VyMzYw
sensor=terra&sdate=2021-10-28&edate=2021-10-31&psdate=2021-10-28&dtype=L2&search=T%2A.L2_LAC_OC.nc&std_only=1&cksum=1&results_as_file=1&format=txt