Thank you for providing this place.
I'm using ocssw on Linux to process ocean color data.
I met this error when using l2gen
requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='urs.earthdata.nasa.gov', port=443): Max retries exceeded with url: /oauth/authorize?client_id=Z0u-MdLNypXBjiDREZ3roA&redirect_uri=https%3A%2F%2Foceandata.sci.gsfc.nasa.gov%2Fob%2Fgetfile%2Frestrict&response_type=code (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7f02e8d50d90>, 'Connection to urs.earthdata.nasa.gov timed out. (connect timeout=10.0)'))
I wonder is this an internet error or some other reason?
I can download data from earth data so I‘m not really sure whether it is an internet problem.
https://stackoverflow.com/questions/230 ... n-requests says that you can get this message if the remote site is actively refusing your
connection attempt. NASA has to employ measures to prevent denial-of-service attacks, so
there can be collateral damage when a site tries to connect too many times in a short period.
Client software combined with enterprise firewalls seems to have some differences in the logic used to handle single sign-on (SSO) redirects. When NASA first moved to the earthdata SSO https URL's I encountered problems with "https://oceandata.sci.gsfc.nasa.gov" so copied the entry for "urs.earthdata..." and changed the machine to "oceandata.sci.gsfc...":
Code: Select all
machine urs.earthdata.nasa.gov login <username> password <password> machine oceandata.sci.gsfc.nasa.gov login <same_username> password <same_password>