Skip to content
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

On checking log file I see a mistake in the words 'received' and 'indicates' #2898

Closed
WilliBarankin opened this issue Feb 27, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@WilliBarankin
Copy link

Describe the bug

On checking log file after uploading an artifact I see a mistake in the words 'received' and 'indicates'

Image

Current behavior

[Debug] Sending HTTP GET request to: https://<server>/artifactory/api/system/version [Info] [Thread 2] Uploading: ./test-file.47.8.0.nupkg [Debug] Sending HTTP PUT request to: https://<server>/artifactory/nuget-local-test/test-file.47.8.0.nupkg [Debug] Artifactory response: 200 [Debug] Artifactory Call Home: Sending info... [Debug] Sending HTTP POST request to: https://<server>/artifactory/api/system/usage [Debug] Sending HTTP POST request to: jfconnect/api/v1/backoffice/metrics/log [Debug] Visibility System Usage reporting: Post "jfconnect/api/v1/backoffice/metrics/log": unsupported protocol scheme "" The recieved error indicats an invalid URL: "jfconnect/api/v1/backoffice/metrics/log", Please ensure the URL includes a valid scheme like 'http://' or 'https://'. [Debug] [Thread 2] Artifactory response: 201 (Checksum deploy) [Debug] Uploaded 1 artifacts.

Reproduction steps

  • Upload artifact to repository with JFROG_CLI_LOG_LEVEL env variable set to DEBUG
  • Check the log file generated by this operation jfrog-cli.[date-time].log
  • The following message is present in the log file:

[Debug] Visibility System Usage reporting: Post "jfconnect/api/v1/backoffice/metrics/log": unsupported protocol scheme "" The recieved error indicats an invalid URL: "jfconnect/api/v1/backoffice/metrics/log", Please ensure the URL includes a valid scheme like 'http://' or 'https://'.

Expected behavior

No response

JFrog CLI version

2.73.0

Operating system type and version

Ubuntu 20.04.6 LTS (Focal Fossa)

JFrog Artifactory version

7.104.10 rev 80410900

JFrog Xray version

No response

@WilliBarankin WilliBarankin added the bug Something isn't working label Feb 27, 2025
@EyalDelarea
Copy link
Contributor

EyalDelarea commented Feb 28, 2025

Hey @WilliBarankin,

Thank you for reporting this issue,
It should be fixed in the upcoming release:
jfrog/jfrog-client-go#1093

@EyalDelarea
Copy link
Contributor

Closing this for now, let us know if you have any more questions :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants