-
Notifications
You must be signed in to change notification settings - Fork 141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jfrog CLI fails with 400 Bad Request
instead of maybe 403 Forbidden
, returning error impossible to debug error message
#851
Comments
400 Bad Request
instead of maybe 403 Forbidden
, returning error impossible to debug error message
Current Workaround
curl -I -u svc_seceng-devsecops:AKCp***siUaP49xU https://artifactory.company.com/artifactory/api/storage/vioni
x-devsecops-platform-golang-local
HTTP/2 403
date: Fri, 27 Oct 2023 04:06:28 GMT
content-type: application/json
set-cookie:
x-artifactory-id: ddb770a14d7818293f3b2fd86e4d5b1cd2e6f529
x-artifactory-node-id: art2-secondary
x-jfrog-version: Artifactory/7.59.16 75916900 |
Applied solution in Github Actions
jfrog rt curl mdesales:sdsoksodksd https://artifactory.company.com/artifactory/api/storage/vionix-devsecops-platform-golang-local
curl: (3) URL using bad/illegal format or missing URL
[Warn] Attempt 0 - Failure occurred while sending GET request to api/system/version - Get "api/system/version": unsupported protocol scheme ""
[Warn] Attempt 1 - Failure occurred while sending GET request to api/system/version - Get "api/system/version": unsupported protocol scheme ""
[Warn] Attempt 2 - Failure occurred while sending GET request to api/system/version - Get "api/system/version": unsupported protocol scheme ""
[Warn] Attempt 3 - Failure occurred while sending GET request to api/system/version - Get "api/system/version": unsupported protocol scheme ""
Request for 'vionix-devsecops-platform-golang-local:' is forbidden for user: 'anonymous'./ #
|
Hey @marcellodesales, Would you mind informing us if this problem persists in the most recent JFrog CLI version? (currently v2.50.4) Check out the documentation at this link: JFrog CLI Documentation. |
Describe the bug
When using a dockerized version of jfrog, I can successfully upload a golang project to a Local repository, failing with the following error messages:
❓ Possible root causes
❗ Data from Logs
Current behavior
Locally from a Desktop
🐛 Cant publish:
[Info] Failed to extract file's sha256 from response body.
Reproduction steps
Expected behavior
JFrog Client-Go version
associated to docker image 1.54.1
JFrog CLI version (if applicable)
1.54.1
Operating system type and version
ubuntu 20.20
JFrog Artifactory version
Enterprise Plus 7.59.16 rev 75916900
JFrog Xray version
No response
The text was updated successfully, but these errors were encountered: