SSLEOFError(8, '[SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1007)')))

Hello everyone,

I am trying to extract with API the ERA5 data from CDS. The code is as follows in Databricks Environment:

client = cdsapi.Client(url='https://cds.climate.copernicus.eu/api/v2',
                       key=f'{user_id}:{token}',
                       timeout=600, 
                       quiet=False,debug=True)

client.retrieve(
    'reanalysis-era5-land',
    {
        'variable': [
            '10m_u_component_of_wind', '10m_v_component_of_wind', '2m_temperature',
        ],
        'year': '2010',
        'month': '12',
        'day': '15',
        'time': '12:00',
        'format': 'netcdf',
        'area': [
            60, -10, 35,
            30,
        ],
    },
    'era5-land_eur_1981_2020.nc')
2024-10-03 07:31:27,844 INFO Sending request to https://cds.climate.copernicus.eu/api/v2/resources/reanalysis-era5-land
2024-10-03 07:31:27,845 DEBUG POST https://cds.climate.copernicus.eu/api/v2/resources/reanalysis-era5-land {"variable": ["10m_u_component_of_wind", "10m_v_component_of_wind", "2m_temperature"], "year": "2010", "month": "12", "day": "15", "time": "12:00", "format": "netcdf", "area": [60, -10, 35, 30]}
2024-10-03 07:31:27,880 WARNING Connection error: [HTTPSConnectionPool(host='cds.climate.copernicus.eu', port=443): Max retries exceeded with url: /api/v2/resources/reanalysis-era5-land (Caused by SSLError(SSLEOFError(8, '[SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1007)')))]. Attempt 1 of 500.
2024-10-03 07:31:27,881 WARNING Retrying in 120 seconds

I will preface this by saying that I have agreed to the terms and conditions for using the dataset and the download works from the broswer.

What really doesn’t work seems to be the SSL connection.
I also tried putting verify=False in the Client declaration, but it still gives the same problem.

I ask for advice on solving the problem.
Thank you in advance.