Comments (2)
I've found my issue.
It was actually failing into the AQL POST, but I saw that my URL artifactoryUrl = "My Artifactory URL" was in fact containing a part of the path of my file.
After moving this part into params.Pattern, it all worked like a charm.
I do apologise for the inconvenience.
from jfrog-client-go.
@tgatinea,
The DownloadFiles API starts by sending an AQL search to Artifactory using POST. The actual download requests which follow are GET requests. I am not sure why you get 405 response for the POST request. I suggest debugging the code to see if indeed it is the AQL request which fails. Yoy can try invoking other POST requests to try and figure out what's going on. Does all POST requests get blocked? For additional troubleshooting, you can try invoking JFrog CLI, which uses the same code when downloading files. I'm curious to know the root cause, so feel free to share your findings.
from jfrog-client-go.
Related Issues (20)
- Configure `Enable Dependency Rewrite` and `Patterns Allow List` for Remote Helm Repositories HOT 1
- Opentelemetry: Option to pass context
- Repositories fields not covered by the Go client
- Remote repositories - manage passwords HOT 1
- Correct way to get if a search returned no results?
- Does ContentReader of DownloadFileswithsummary have file information in Bytes HOT 5
- Improve SetUrl Logic to handle `$URL` and `$URL/`. HOT 3
- Missing `include_reference_token` parameter when creating a new access token.
- Create Access Tokens for other users using the Access service
- Security v2 API HOT 1
- AccessServiceManager create access token
- GetAllUsers() only returns mostly empty User struct, only the username and authentication method HOT 1
- GetAllRepositoriesFiltered(params services.RepositoriesFilterParams) should honor the API HOT 1
- CreateFolder function is missing
- Jfrog CLI fails with `400 Bad Request` instead of maybe `403 Forbidden`, returning error impossible to debug error message HOT 3
- httpclient.DoRequest retry logic ignores value of closeBody
- Which utils from utils.FileInfo is it referring to in the README? HOT 1
- build scan command with flag --project is returning xray_details_url without project key
- TempDir is not getting created when the jfrog docker scan command is ran.
- how to add a new member to all federated repository
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 jfrog-client-go.