robusta-dev / krr

Prometheus-based Kubernetes Resource Recommendations
MIT License
3.05k stars 160 forks source link

[v1.12.0-main] - ERROR - CERTIFICATE_VERIFY_FAILED certificate trying Recommendations #319

Closed jrosal06 closed 3 months ago

jrosal06 commented 3 months ago

Hello team,

we have this issue when we try to run KRR on my OpenShift cluster

      WARNING  Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate  connectionpool.py:826 verify failed: self signed certificate in certificate chain (_ssl.c:1129)'))': /apis/autoscaling/v2/horizontalpodautoscalers?watch=False WARNING  Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate  connectionpool.py:826 verify failed: self signed certificate in certificate chain (_ssl.c:1129)'))': /apis/autoscaling/v2/horizontalpodautoscalers?watch=False WARNING  Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate  connectionpool.py:826 verify failed: self signed certificate in certificate chain (_ssl.c:1129)'))': /apis/autoscaling/v2/horizontalpodautoscalers?watch=False ERROR    Error trying to list hpa in cluster infraco-uat/api-ocp4-htr-cloudteco-com-ar:6443/kube:admin: HTTPSConnectionPool(host='api.ocp4-htr.cloudteco.com.ar', port=6443): Max retries exceeded with url:  __init__.py:456 /apis/autoscaling/v2/horizontalpodautoscalers?watch=False (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1129)')))

We need your support to resolve this issue. Thanks

aantn commented 3 months ago

We are tracking this at https://github.com/robusta-dev/homebrew-krr/issues/5 and will hopefully have a fix soon!

aantn commented 3 months ago

@arikalon1 can we close?

aantn commented 3 months ago

(and if so, lets close https://github.com/robusta-dev/homebrew-krr/issues/5 too)

arikalon1 commented 3 months ago

closing it