Skip to content
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

[question] HTTPSConnectionPool(host='center.conan.io', port=443) #17630

Open
sthalasayanam opened this issue Jan 24, 2025 · 2 comments
Open

[question] HTTPSConnectionPool(host='center.conan.io', port=443) #17630

sthalasayanam opened this issue Jan 24, 2025 · 2 comments
Assignees
Labels
responded Responded by Conan team type: question

Comments

@sthalasayanam
Copy link

Describe the bug

I am getting the following error in windows environment. How do I fix it?

ERROR: HTTPSConnectionPool(host='center.conan.io', port=443): Max retries exceeded with url: /v1/ping (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain (_ssl.c:1018)')))

Unable to connect to conancenter:=https://center.conan.io

  1. Make sure the remote is reachable or,
  2. Disable it by using conan remote disable,
    Then try again.

How to reproduce it

No response

@sthalasayanam sthalasayanam changed the title [bug] [Error] Jan 24, 2025
@sthalasayanam sthalasayanam changed the title [Error] [question] Jan 24, 2025
@sthalasayanam
Copy link
Author

It is in Conan version 1.66.0, Windows 11

@memsharded memsharded self-assigned this Jan 26, 2025
@memsharded
Copy link
Member

Hi @sthalasayanam

Thanks for your question.

Please note that Conan 2 is already 2 years old, Conan 1.X is legacy now and on deprecation path (it has already been deprecated from ConanCenter), so the recommended version is Conan 2.

This kind of error comes most often from network configuration: usage of corporate proxies, VPN, custom certificates, ZScaler, etc.
It is recommended to check disabling those, testing in other computers outside of the corporate restrictions, or checking with your IT about this point. See the certificate verify failed: self-signed certificate in certificate message, and there are configurations in Conan see https://docs.conan.io/2/reference/config_files/global_conf.html#networking-confs

@memsharded memsharded added type: question responded Responded by Conan team labels Jan 28, 2025
@memsharded memsharded changed the title [question] [question] HTTPSConnectionPool(host='center.conan.io', port=443) Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
responded Responded by Conan team type: question
Projects
None yet
Development

No branches or pull requests

2 participants