solvingj / conan_cpp_demo

Demo of Conan package Manager for C++
MIT License
16 stars 9 forks source link

Problems caused by bintray sunset #3

Open R-n-R opened 2 years ago

R-n-R commented 2 years ago

Executing the first example command produces an error:

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(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: 
certificate has expired (_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.

It's probably caused by this: https://blog.conan.io/2021/03/31/Bintray-sunset-timeline.html Interestingly these warnings are older than the talk from which I'm playing with these and on the video we can see that boost was downloaded without problems. https://youtu.be/fu-ayefRqWM?t=1411

R-n-R commented 2 years ago

And unfortunately following this: https://docs.conan.io/en/latest/uploading_packages/remotes.html

One gets:

boost/1.74.0: Trying with 'conancenter'...
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: certificate has expired (_ssl.c:1076)')))

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.
R-n-R commented 2 years ago

The windows example works without problems btw and starts of with the proper remote and that remote is accessible without problems too.