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.

[question] What is the expected behavior of `conan install --remote REMOTE`

See original GitHub issue

I’m trying to understand the expected behavior of conan install --remote REMOTE. We have a local Artifactory server for our own packages, but still have conan-center as a remote, even though it is not really used.

Output of conan remote list:

virtual-remote: https://[...] [Verify SSL: True]
conan-center: https://conan.bintray.com [Verify SSL: True]

Whether or not I call conan install --remote virtual-remote or just conan install, I always get these “extra” calls in the trace log.

{"_action": "REST_API_CALL", "duration": 0.21838855743408203, "headers": {"User-Agent": "Conan/1.37.1 (Windows 10; Python 3.9.5; AMD64) python-requests/2.25.1", "X-Client-Anonymous-Id": "**********", "X-Client-Id": ""}, "method": "GET", "time": 1627460264.1806884, "url": "https://conan.bintray.com/v1/ping"}
{"_action": "REST_API_CALL", "duration": 0.016086578369140625, "headers": {"User-Agent": "Conan/1.37.1 (Windows 10; Python 3.9.5; AMD64) python-requests/2.25.1", "X-Client-Anonymous-Id": "**********", "X-Client-Id": ""}, "method": "GET", "time": 1627456231.6621335, "url": "https://conan.bintray.com/v2/conans/[...]/revisions/35c21a513276d9605b75da32df276b87/packages/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/latest"}

Is this to be expected and is there any way to avoid it (besides deleting the remote?)

Versions:

  • Python 3.9.5 (tags/v3.9.5:0a7dcbd, May 3 2021, 17:27:52) [MSC v.1928 64 bit (AMD64)] on win32
  • Conan version 1.37.1

Edit: added Python and Conan version

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
memshardedcommented, Aug 24, 2021

PR https://github.com/conan-io/conan/pull/9355 was merged, so this bug will be fixed and released in next 1.40

1reaction
memshardedcommented, Jul 30, 2021

Reproduced the behavior and checking in this PR https://github.com/conan-io/conan/pull/9355, if it can be changed and considered a bug, we better make sure that this change is not breaking other users that depend on this behavior.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[question] Which remote is picked up by conan install --update
The CI server configurations declares our conan server as a remote first and then conan-center, bincrafters, etc.. Finally, they use conan ...
Read more >
Conan Documentation - Conan Docs
Conan is a software package manager which is intended for C and C++ developers ... WebUI, multiple auth protocols (LDAP), Virtual and Remote...
Read more >
Conan version range not working properly - GitLab.org
What is the current bug behavior? ... conan install will fail with an error ERROR: 'NoneType' object is not iterable. [Remote: gitlab] due...
Read more >
Conan Package Manager for C++ in Practice - YouTube
By Jerry Wiltse, presented at Core C++ [online] meetup, March 2021. The slides can be found at http://bit.ly/ConanDemo, more links to Conan ......
Read more >
[RTFACT-26854] Conan authentication fails after updating ...
What is the expected behavior: Updating the group should not remove credentials on ... Add the remote to conan client and add authentication....
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