Comments (7)
Yes, we got it actually. It proved that the problem was not at all with the conan client but rather with our new conan artifactory repo, not having set the anonymous access as with the v1 one. Once that was set, the command worked seamlessly. I'll definitely give a look to config as a package! Thanks for all your help!
from conan.
Hi @michxymi
Some quick questions:
- Does the file has any access or permissions? Or is it available for anonymous access?
- The
curl
command that you are using is exactly like that or it has more arguments? If there are more arguments, can you please share the fullcurl
command? - As you are packaging it with
python
can you also download it with Pythonrequests
? It should be straightforward, something like:
import requests
url = 'your-url'
r = requests.get(url)
open('config-test.zip', 'wb').write(r.content)
from conan.
Hey @memsharded , thanks for your prompt reply. I'll give this a go. I've also updated the full curl command we use to upload the zipped archive.
from conan.
Hey @memsharded , thanks for your prompt reply. I'll give this a go. I've also updated the full curl command we use to upload the zipped archive.
Does the UPLOAD_USER includes a token/password? Or is it possible to upload without auth? I suspect it will be mostly a credentials issue.
Also, just in case, this process might be highly simplified and improved with https://docs.conan.io/2/reference/commands/config.html#conan-config-install-pkg, that allows to use Conan packages in the Conan repo for configuration, and benefits from version ranges, lockfiles, and even package_id
effect if desired.
from conan.
Trying with the requests
python package, I originally got ssl errors but after passing the certificate file I got a json file back which is basically a Not Found response:
{ "errors" : [ { "status" : 404, "message" : "Resource not found" } ] }
UPLOAD_USER is a password auth we use in CI. I can try without but it seems that I should better look at the conan config install pkg.
from conan.
So it seems basically an auth error, the URL for that download require credentials that are not being provided?
Probably creds should be embedded in the URL, or the URL made available via anonymous access?
from conan.
Thanks for the feedback!
from conan.
Related Issues (20)
- [question] How to package application with conan installed dependencies together? HOT 1
- [question] What is the order of conan methods call? HOT 6
- Docker latest runner of ArtifactoryCE seems broken
- [question] Tool with requires HOT 1
- [question] how to get build directory after running conan create so that I can run ctest? HOT 1
- [question] Please, help to use "build only" fixed version of dependency HOT 4
- [bug] Unable to find dependencies' headers HOT 2
- [bug] XcodeToolchain's conan_global_flags.xcconfig not flagged to save if _global_defines is populated HOT 2
- Trying to build a stripped down version of opencv custom package fails HOT 6
- [bug] MSBuildDeps + deployer generates props with absolute paths HOT 3
- [question] Rebuilding Application HOT 1
- [bug] .conanrc in root of windows drive is not detected HOT 2
- [feature] look for .conanrc in USERPROFILE / ~ HOT 1
- [bug] conan_toolchain.cmake in 2.4.0 incorrectly escapes cmake variables HOT 6
- [question] Yocto integration via custom generator
- [question] Installing conan-2.4.0 on gentoo linux goes with error HOT 17
- [bug] fails to download from conancenter HOT 9
- [question] How to specify a dict-like style configuration from the command line? HOT 2
- [question] SDL2_ttf linking problems when configuring cmake HOT 5
- Versioning strategies HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from conan.