Reputation: 89
I'm following the Jfrog Academy tutorial. It uses an Artifactory CE in a docker image. I'm at the lesson where you first upload packages to Artifactory.
I added a user and repo and gave the user access to the repo. But when I do
conan user -p PASSWORD -r REPO USERNAME
I get
ERROR: {
"errors" : [ {
"status" : 404,
"message" : "File not found."
} ]
}. [Remote: artifactory]
I did check for typos, such as in the user name and password.
Upvotes: 1
Views: 790
Reputation: 396
It seems like it is unable to find the remote repository. I tried steps similar to below to configure Conan without any issues.
conan remote add <REMOTE> http://127.0.0.1:8081/artifactory/api/conan/<repository>
conan user -p <API-KEY> -r <REMOTE> <username>
If you still have any issues, enable CONAN_LOGGING_LEVEL to debug and see if that helps with additional information on the issue.
Upvotes: 2