noaa-oar-arl / monetio

The Model and ObservatioN Evaluation Tool I/O package
https://monetio.readthedocs.io
MIT License
16 stars 19 forks source link

SSL cert issue with NCDC ISD files #120

Closed zmoon closed 1 year ago

zmoon commented 1 year ago

In scheduled CI today, getting errors like requests.exceptions.SSLError: HTTPSConnectionPool(host='www1.ncdc.noaa.gov', port=443): Max retries exceeded with url: /pub/data/noaa/2020/722244-00358-2020.gz (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)')))

Using wget

 wget https://www1.ncdc.noaa.gov/pub/data/noaa/2020/717490-99999-2020.gz
 wget https://www1.ncdc.noaa.gov/pub/data/noaa/isd-history.csv

gives similar message: ERROR: cannot verify www1.ncdc.noaa.gov's certificate, issued by 'CN=R3,O=Let\'s Encrypt,C=US': Unable to locally verify the issuer's authority.

It looks like the cert was updated just a few days ago, so maybe this will resolve soon.

zmoon commented 1 year ago

113 would help with this.

zmoon commented 1 year ago

Seems to be resolved.