Can't install conan recipe from Artifactory OSS server from Bamboo server Asked today

Robin Imrie September 10, 2021

I have JFrog Artifactory Community Edition 7.11.2 for C++ installed on a linux server and from my Windows pc I can successfully install required recipes for a project via the conan install .. command. However when I use the same files and scripts on my Bamboo Server (windows) as a build plan I get the following error:

ERROR: Couldn't read login

Conan suggests:

Try removing 'C:\WINDOWS\system32\config\systemprofile\.conan\.conan.db' file.

This I have done but still get the same error. The Bamboo server runs using the Local System Account.

Are there recommended practices for using Conan with Bamboo for CI uses?

I also have the same issue via a command shell on the bamboo server. The anonymous account on Artifactory is enabled.

1 answer

1 accepted

1 vote
Answer accepted
Robin Imrie September 17, 2021

For anyone who is interested. I eventually found the problem... I used a git repository to configure conan on my Bamboo server. I had used surrounded the name & url of the remotes with quotes ("), which was wrong. Once I have removed these quotes it all worked fine.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events