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] Conan search returns timeout

See original GitHub issue

To help us debug your issue please explain:

Hi!

As Conan Center is growing, the time requested to list all recipes is no longer enough:

conan search -r conan-center
ERROR: HTTPSConnectionPool(host='conan.bintray.com', port=443): Read timed out. (read timeout=60.0). [Remote: conan-center]

As you can see, 60 seconds is not enough to retrieve all information.

However, if I update the timeout request by CONAN_TIMEOUT_REQUEST, I can receive the answer:

CONAN_REQUEST_TIMEOUT=360 conan search -r conan-center
Existing package recipes:

7z_installer/1.0@conan/stable
Args/5.0.1.4@igormironchik/stable
...

Usingtime it took 1m39.

As Conan Center is the official repository, I think search should work without timeouts. So Or Bintray is slow, Or Conan needs to update its timeout limit.

Conan Version: 1.16.1

  • I’ve read the CONTRIBUTING guide.
  • I’ve specified the Conan version, operating system version and any tool that can be relevant.
  • I’ve explained the steps to reproduce the error or the motivation/use case of the question/suggestion.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:7
  • Comments:29 (19 by maintainers)

github_iconTop GitHub Comments

6reactions
DominikDeakcommented, Aug 24, 2020

Unfortunately, search performance is becoming a significant bottleneck and often fails in my case. Sample error message:

conan search "boost/*" --remote=all --raw

ERROR: HTTPSConnectionPool(host='conan.bintray.com', port=443): Max retries exceeded with url: /v1/conans/search?q=boost%2F%2A (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.
4reactions
nminkovcommented, Jan 25, 2021

The problem persists. Any solution insight?

conan search -r all openssl ERROR: HTTPSConnectionPool(host=‘conan.bintray.com’, port=443): Max retries exceeded with url: /v1/conans/search?q=openssl (Caused by ReadTimeoutError(“HTTPSConnectionPool(host=‘conan.bintray.com’, port=443): Read timed out. (read timeout=60.0)”))

Read more comments on GitHub >

github_iconTop Results From Across the Web

Time out then crash error - PC Bug Reports - Funcom Forums
Step 1 Start Conan Exiles; Step 2 Got to PvP and select server; Step 3 Timeout and Crash. This has only started happening...
Read more >
conan.conf — conan 1.55.0 documentation
Timeout is not a time limit on the entire response download; rather, an exception is raised if the server has not issued a...
Read more >
Conan search failures - Nexus Repository Manager
On NXRM side you can set nexus.conan.proxy.search.timeout value in milliseconds, default value 120000msec(2 minutes); On Conan client side ...
Read more >
Known Issues - JFrog - JFrog Documentation
In this document, you will find the issues that met the criteria above and ... timeout with a Terraform backend causing a permission...
Read more >
How To Fix Connection Timed Out In Satisfactory - Shockbyte
The connection timed-out error indicates that your PC could not connect to the server fast enough, causing you to disconnect. However, this can...
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