Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[question] Why does "conan search boost --remote=conan-center" fail frequently? #8398

Closed
1 task done
dragondive opened this issue Jan 27, 2021 · 3 comments
Closed
1 task done

Comments

@dragondive
Copy link

I tried conan search boost --remote=conan-center and it failed with a timeout:

/tmp$ conan search boost --remote=conan-center
ERROR: HTTPSConnectionPool(host='conan.bintray.com', port=443): Max retries exceeded with url: /v1/conans/search?q=boost (Caused by ReadTimeoutError("HTTPSConnectionPool(host='conan.bintray.com', port=443): Read timed out. (read timeout=60.0)"))

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.

After verifying that it was not an issue with my network connection, etc. I thought to try with other libraries (poco, gtest, cmake, ...) and those worked properly. Then I included boost/1.75.0 in my package recipe anyway and with conan install, I could download the boost package.

On the Slack channel, I saw a few messages related to this issue, but there was no clear solution. What is this issue specifically with the boost library that causes these timeouts? Is there some configuration change or "workaround" to resolve this?

@memsharded
Copy link
Member

Hi @dragondive

Thanks for reporting. This is an infrastructure issue we are experiencing with ConanCenter. We are aware of it, it is quite challenging to fix it quickly, but it is in the roadmap. Please use https://conan.io/center to do searches in the meantime

@dragondive
Copy link
Author

@memsharded Thanks for the confirmation. I was wondering if there was something wrong with my setup, good to know it isn't. This isn't especially urgent (at least for me), so the suggested alternative works for me.

@memsharded
Copy link
Member

This has been finally fixed. conan search zlib* -r=conancenter now works fast against ConanCenter

Artifactory 7.41 contains the fixes, so if you are experiencing this in your own instance, please upgrade.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants