Hello,
I’m having some trouble downloading ERA5 data using the CDS API. At the beginning of the downloading process, I get the following warning:
UserWarning: HTTPSConnectionPool(host=‘cds.climate.copernicus.eu’, port=443): Max retries exceeded with url: /api/catalogue/v1/messages (Caused by SSLError(SSLEOFError(8, ‘[SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1028)’)))
But then the download process proceeds normally, going through my script to download a number of files successfully. Eventually, however, the script crashes with the following error message:
requests.exceptions.SSLError: HTTPSConnectionPool(host=‘cds.climate.copernicus.eu’, port=443): Max retries exceeded with url: /api/retrieve/v1/jobs/a77e87de-0319-4b10-91aa-db09f857659e?log=True&request=True (Caused by SSLError(SSLEOFError(8, ‘[SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1028)’)))
Do you have any suggestions for how to prevent this from happening? It’s strange because I am sometimes able to download successfully; the error seems to happen at random. I’m using the latest version of cdsapi, and increasing the ‘timeout’ parameter does not help.