-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool #1151
Comments
The issue might be with your certs.
|
My cluster is just built and deployed with kubeadm tool. The certificate is self signed. I changed self.verify_ssl under configuration.py to false c = client.Configuration() c.verify_ssl = False client.Configuration.set_default(c) |
/assign |
@jincheng-xiaosu -- the common names mentioned in the self-signed certificate don't match the server that you are pinging. I am guessing there are proxies/load balancers in between. You can disable hostname matching by setting This should make it working with kubeadm clusters being proxied over. |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='us-south.monitoring.cloud.im.com', port=443): Max retries exceeded with url: /api/v3/dashboards?light=True (Caused by ResponseError('too many 500 error responses')) what can I do to fix this. error. |
@rjnshch -- Is the error that you are describing related to Kubernetes or the Python Client? |
/remove-lifecycle stale |
@jincheng-xiaosu -- is your issue resolved? can this issue be closed? |
/close Please feel free to reopen if you face this issue again. |
@palnabarun: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=4723): Max retries exceeded with url: /wd/hub/session (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x0000013446F09D80>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it')) Process finished with exit code 1 Getting this error Help Me out |
My k8s cluster is installed quickly on the cloud server through kubeadm. I want to access my cluster through the public network address through the SDK of Python. The following error is reported:
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='203.195.203.45', port=6443): Max retries exceeded with url: /api/v1/pods (Caused by SSLError(SSLCertVerificationError("hostname '203.195.203.45' doesn't match either of 'k8s-master', 'kubernetes', 'kubernetes.default', 'kubernetes.default.svc', 'kubernetes.default.svc.cluster.local', '10.1.0.1', '172.16.32.7'")))
The text was updated successfully, but these errors were encountered: