question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[bug] Unable to connect to https://center.conan.io using conan

See original GitHub issue

I cannot connect to center.conan.io using conan. From my browser I can reach the address and download a text file which redirects me to https://conan.io/center/, but I am not sure how relevant is that. I started to experience this today.

Environment Details (include every applicable attribute)

  • Operating System+version: Linux Mint 20.3 (based on Ubuntu 20.04)
  • Compiler+version: GCC 9.3.0 and Clang 12, but not relevant
  • Conan version: 1.50.0
  • Python version: 3.8.10

But the same thing happens also on Github hosted runners.

Steps to reproduce (Include if Applicable)

conan search "openssl/*" -r=conancenter

Logs (Executed commands with output) (Include/Attach if Applicable)

ERROR: HTTPSConnectionPool(host='center.conan.io', port=443): Max retries exceeded with url: /v1/ping (Caused by ReadTimeoutError("HTTPSConnectionPool(host='center.conan.io', port=443): Read timed out. (read timeout=60.0)"))

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.

Logs from Github hosted runners where conan is call from CMake:

robin-hood-hashing/3.11.5: Not found in local cache, looking in remotes...
robin-hood-hashing/3.11.5: Trying with 'conancenter'...
ERROR: HTTPSConnectionPool(host='center.conan.io', port=443): Max retries exceeded with url: /v1/ping (Caused by ReadTimeoutError("HTTPSConnectionPool(host='center.conan.io', port=443): Read timed out. (read timeout=60.0)"))
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.
CMake Error at build/conan.cmake:544 (message):
  Conan install failed='1'
Call Stack (most recent call first):
  build/conan.cmake:886 (old_conan_cmake_install)
  CMake/External.cmake:44 (conan_cmake_run)
  CMakeLists.txt:30 (run_conan)
-- Configuring incomplete, errors occurred!
See also "/home/runner/work/miscellaneous/miscellaneous/build/CMakeFiles/CMakeOutput.log".

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:2
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

7reactions
ssrobinscommented, Jul 10, 2022

Yup, same here. I couldn’t find any website that gives any statement about downtime or an incident.

1reaction
ilyamt-tandemgcommented, Jul 10, 2022
Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to connect to conan-center · Issue #7573 - GitHub
--update commands, I get errors like these: ERROR: HTTPSConnectionPool(host='conan.bintray.com', port=443): Max retries exceeded with url: ...
Read more >
Failed to connect to center.conan.io - Stack Overflow
Conan seems to sometimes not update it's certificate authorities (probably if you've manually edited them). Make sure you are using the ...
Read more >
conan.cmake fails with "Conan --version failed='2'" : CPP-29056
For manual testing: I use a normal windows command prompt with cmake version 3.22.1 and conan version 1.45.0. If I use a PowerShell...
Read more >
Remotes — conan 1.56.0 documentation
Now, you might want to upload them to a Conan server for later use on another ... ConanCenter (https://conan.io/center) is the main official...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found