[bug] Can't upload Conan package to Artifactory CE
See original GitHub issueI run a Artifactory CE instance using the Docker installation on a server. I create a repository of type Conan, called conan-test
Then I configure my Conan client as such:
conan remote add artifactory http://<IP>:8081/artifactory/api/conan/conan-test False
When I now try to upload, after successful authentication, I get a timeout
RROR:
Error uploading file: conanfile.py, 'HTTPConnectionPool(host='52.215.203.143', port=80): Max retries exceeded with url: /artifactory/api/conan/conan-test/v1/files/_/hello/0.4/_/0/export/conanfile.py (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x7f273415f700>, 'Connection to 52.215.203.143 timed out. (connect timeout=60.0)'))'
NOTE that there is certainly communication with the server, as conan asks me user & password and only goes on if I enter the correct ones, otherwise it says “authentication failed”.
Environment Details (include every applicable attribute)
- Operating System+version: Ubuntu 20.04
- Conan version: 1.34.0
- Python version: 3.8
Steps to reproduce (Include if Applicable)
Logs (Executed commands with output) (Include/Attach if Applicable)
Issue Analytics
- State:
- Created 2 years ago
- Comments:11 (5 by maintainers)
Top Results From Across the Web
Can't upload a package to artifactory using ... - GitHub
We're unable to upload a package into a artifactory hosted conan server using the CONAN_LOGIN_USERNAME and CONAN_PASSWORD method of ...
Read more >Conan packages in the Package Registry - GitLab Docs
The GitLab Conan repository supports the following Conan CLI commands: conan upload : Upload your recipe and package files to the Package Registry....
Read more >Introduction — conan 1.42.2 documentation
Introduction¶. Conan is a dependency and package manager for C and C++ languages. It is free and open-source, and it works in all...
Read more >Release Notes - Artifactory 6.x - JFrog Wiki
Overview. This page presents release notes for JFrog Artifactory describing the main fixes and enhancements made to each version as it is released....
Read more >why is the Artifactory CE service Port is not the configured Port?
Regarding the service port, it may be that you have another formating problem that causes artifactory not to pick the new port configuration ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks @lasote @memsharded
Nowhere, you can run it where you want. I was just noticing that the error trace you pasted was using the 80:
Error uploading file: conanfile.py, 'HTTPConnectionPool(host='52.215.203.143', port=80):
Great!!
Yes, you are good without a “Custom Base URL”. Here are some docs: https://www.jfrog.com/confluence/display/RTF6X/Configuring+Artifactory
Just note that we are not experts in Artifactory configuration, much more focused on the Conan tool but if you have any questions we can assist or find a person from another team that will do it.