- I have a python script to pull component metrics
- I am iterating over number of components to pull the metrics and dump into a file
- API used : /api/measures/component?organization=myorg &component=mycomp&metricKeys=bugs
- while it works for first few components and then fails with error
self._sslobj.do_handshake() ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1108) During handling of the above exception, another exception occurred:
raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host=‘sonarcloud.io’, port=443): Max retries exceeded with url:
I added a delay too but without luck.
could someone advise please.
regards,
hks