conan_cpp_demo icon indicating copy to clipboard operation
conan_cpp_demo copied to clipboard

SSL certificate failure on conan.bintray.com/center.conan.io

Open mkiessling89 opened this issue 3 years ago • 1 comments

Seems that conan package inside docker container needs update, to overcome issue like https://github.com/conan-io/conan-center-index/issues/5197

boost/1.74.0: Not found in local cache, looking in remotes...
boost/1.74.0: Trying with 'conan-center'...
ERROR: HTTPSConnectionPool(host='conan.bintray.com', port=443): Max retries exceeded with url: /v1/ping (Caused by SSLError(SSLError(1, '[SSL: UNKNOWN_PROTOCOL] unknown protocol (_ssl.c:1076)')))

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.

Upgrading conan via

pip install conan --upgrade

helped, but not sure, if that is persistent.

mkiessling89 avatar May 23 '22 14:05 mkiessling89

Adding to this: updating conan did help, but I needed one more additional step to get it working:

conan remote update conan-center https://center.conan.io

This is due to https://conan.bintray.com being deprecated afaik.

X-141 avatar Jul 25 '22 01:07 X-141