conan-center-index: [conan.io/center] SSL certificate is invalid
Hello. I’m trying to pull packages from Conan center (boost, qt and so on) and receive that error from conan:
ERROR: HTTPSConnectionPool(host='conan.bintray.com', port=443): Max retries exceeded with url: /v1/ping (Caused by SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:645)'),))
Unable to connect to conan-center=https://conan.bintray.com
1. Make sure the remote is reachable or,
2. Disable it by using conan remote disable,
Then try again.
My remotes:
$ conan remote list
conan-center: https://conan.bintray.com [Verify SSL: True]
gitlab: https://gitlab.example.com/api/v4/packages/conan [Verify SSL: True]
I’m using OS Ubuntu 16.04 LTS x64 with conan 1.35.0, installed from pip3.
It looks like conan center server problem. I’m looking for certificate, but it looks like self-signed:

DNS record looks like correct:
$ ping conan.bintray.com
PING conan.bintray.com (34.120.178.43) 56(84) bytes of data.
64 bytes from 43.178.120.34.bc.googleusercontent.com (34.120.178.43): icmp_seq=1 ttl=250 time=23.3 ms
64 bytes from 43.178.120.34.bc.googleusercontent.com (34.120.178.43): icmp_seq=2 ttl=250 time=22.7 ms
64 bytes from 43.178.120.34.bc.googleusercontent.com (34.120.178.43): icmp_seq=3 ttl=250 time=22.7 ms
^C
--- conan.bintray.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2001ms
rtt min/avg/max/mdev = 22.771/22.961/23.336/0.292 ms
How can I download packages from conan center?
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 21
- Comments: 19 (16 by maintainers)
Commits related to this issue
- fix: install the latest conan through pip on macos https://github.com/conan-io/conan-center-index/issues/5197 — committed to nextstrain/nextclade by ivan-aksamentov 3 years ago
- fix: install the latest conan through pip on macos https://github.com/conan-io/conan-center-index/issues/5197 — committed to nextstrain/nextclade by ivan-aksamentov 3 years ago
- fix: install the latest conan through pip on macos https://github.com/conan-io/conan-center-index/issues/5197 — committed to nextstrain/nextclade by ivan-aksamentov 3 years ago
- fix: install the latest conan through pip on macos https://github.com/conan-io/conan-center-index/issues/5197 — committed to nextstrain/nextclade by ivan-aksamentov 3 years ago
- fix: install the latest conan through pip on macos https://github.com/conan-io/conan-center-index/issues/5197 — committed to nextstrain/nextclade by ivan-aksamentov 3 years ago
- fix: install the latest conan through pip on macos https://github.com/conan-io/conan-center-index/issues/5197 — committed to nextstrain/nextclade by ivan-aksamentov 3 years ago
Something similar seems to be happening now with
center.conan.io:Things should be back to normal now (as they were before the brownout). Bintray sunset is over. We have faced two different issues related to
conan.bintray.comthat were not expected 😞 . We will work on them and hopefully next brownout on 26th April should not affect the Conan ecosystem.Thanks for your patience.
It also lists:
It’s a shame the appropriate redirect has not been setup prior to this scheduled brown-out.
But nothing to do right now but wait it out.
@ohanar Thanks, upgrading to 1.40.3 was helped
Our C/C++ developers detect this too with our internal gitlab-embedded Conan server.
Looks like this is either Conan backend issue or Conan breaks connection for all servers if one have invalid certificate.
P.S. Gitlab-embedded conan server answers with correct certificate (was checked with browser on URL https://gitlab.example.com/api/v4/packages/conan/v1/ping P.P.S. The issue was tested on Conan 1.39.0 & 1.40.2 (latest available in pip)
I can reproduce an issue now (with 30 redirects error)