conan_cpp_demo
conan_cpp_demo copied to clipboard
SSL certificate failure on conan.bintray.com/center.conan.io
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.
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.