Unable to reach CDDIS data via Python
Posted: Fri Jun 02, 2023 10:36 am America/New_York
Starting approximately 12pm MT June 1 2023, we noticed some errors when attempting to retrieve Ultra Rapid GPS SP3 files. The errors look like:
HTTPConnectionPool(host='cddis.nasa.gov', port=80): Max retries exceeded with url: /archive/gnss/products/2264/*?list (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x0000025E2D9C5100>: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond'))
And
HTTPSConnectionPool(host='urs.earthdata.nasa.gov', port=443): Max retries exceeded with url: /oauth/authorize?client_id=gDQnv1IO0j9O2xXdwS8KMQ&response_type=code&redirect_uri=https%3A%2F%2Fcddis.nasa.gov%2Fproxyauth&state=aHR0cDovL2NkZGlzLm5hc2EuZ292L2FyY2hpdmUvZ25zcy9wcm9kdWN0cy8yMjY0Lyo%2FbGlzdA (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x0000025E2EF81B50>: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond'))
We're using Python requests with a modification to the sessions object to allow redirected headers. This code has been working for the last 2 years without issue and suddenly started failing. I'm able to access the data products in Chrome, so it does not appear to be a credentials issue. Is anyone able to provide tips for this?
HTTPConnectionPool(host='cddis.nasa.gov', port=80): Max retries exceeded with url: /archive/gnss/products/2264/*?list (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x0000025E2D9C5100>: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond'))
And
HTTPSConnectionPool(host='urs.earthdata.nasa.gov', port=443): Max retries exceeded with url: /oauth/authorize?client_id=gDQnv1IO0j9O2xXdwS8KMQ&response_type=code&redirect_uri=https%3A%2F%2Fcddis.nasa.gov%2Fproxyauth&state=aHR0cDovL2NkZGlzLm5hc2EuZ292L2FyY2hpdmUvZ25zcy9wcm9kdWN0cy8yMjY0Lyo%2FbGlzdA (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x0000025E2EF81B50>: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond'))
We're using Python requests with a modification to the sessions object to allow redirected headers. This code has been working for the last 2 years without issue and suddenly started failing. I'm able to access the data products in Chrome, so it does not appear to be a credentials issue. Is anyone able to provide tips for this?