gcs_python
gcs_python copied to clipboard
Certificate error while retrieving data
Hi I was trying to display recent events eg- 2024-10-09 02:36 But getting certificate error, could u help it!
requests.exceptions.SSLError: HTTPSConnectionPool(host='ssd.jpl.nasa.gov', port=443): Max retries exceeded with url: /api/horizons.api?format=text&EPHEM_TYPE=VECTORS&OUT_UNITS=AU-D&COMMAND=%22SOHO%22&CENTER=%27500%4010%27&CSV_FORMAT=%22YES%22&REF_PLANE=ECLIPTIC&REF_SYSTEM=ICRF&TP_TYPE=ABSOLUTE&VEC_LABELS=YES&VEC_CORR=%22NONE%22&VEC_DELTA_T=NO&OBJ_DATA=YES&TLIST=2460592.7592320642 (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1129)')))
Your system seems to not trust the SSL certificate of the Horizons web server (https://ssd.jpl.nasa.gov/horizons/). You may be able to update your list of trusted certificates with pip install --upgrade certifi.