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

License does not have xray product #5

Open
EdmundDXu opened this issue Sep 11, 2024 · 2 comments
Open

License does not have xray product #5

EdmundDXu opened this issue Sep 11, 2024 · 2 comments

Comments

@EdmundDXu
Copy link

Reproduce procedure:
`
$ curl -u admin:password http://localhost:8082/artifactory/api/xray/license

{
"errors" : [ {
"status" : 400,
"message" : "{"error":"License does not have xray product"}"
} ]
}
`

Seems like Artifactory 7.90.9 with ArtifactoryAgent-1.0-790fix-SNAPSHOT-all.jar agent does not support Xray。
This is my license:
image

Based on the official page of JFrog Xray, this license should include Xray:
image

Did I miss anything?

@lamadaemon
Copy link

Interesting discovery! I have never tried X-ray before. Perhaps the way JFrog did was when they sell you Enterprise+ Licenses, the license you received is actually two licenses. There can be multiple products in one license. My keygen should supports adding multiple licenses. Try to add xray or x-ray as the product id (because I am not sure about the license ID) using the keygen. If this doesn't work, I will try to do some research and find out what's going on.

@EdmundDXu
Copy link
Author

After adding the xray product id to the keygen, the Artifactory API /artifactory/api/xray/license no longer reports an error.

`
$ curl -u admin:password http://localhost:8082/artifactory/api/xray/license

cHJvZHVjdHM6CiAgeHJheToKICAgIHByb2R1Y3Q6IFpYaHdhWEpsY3pvZ01qRXdNQzB3TVMwek1W
UXdNem96T1Rvek9TNDRNekphQ21sa09pQjRjbUY1Q205M2JtVnlPaUJzWVcxaFpHRmxiVzl1Q25C
eWIzQmxjblJwWlhNNklIdDlDbk5wWjI1aGRIVnlaVG9nYm5Wc2JBcDBjbWxoYkRvZ1ptRnNjMlVL
ZEhsd1pUb2dSVTVVUlZKUVVrbFRSVjlRVEZWVENuWmhiR2xrUm5KdmJUb2dNakF5TkMwd09TMHhO
RlF3TXpvek9UbzBNQzQyT0RCYUNnPT0KICAgIHNpZ25hdHVyZTogSkQxd1BtZHFjQjdhSEpqU1gv
YWFkZmo1REZCbytzRmtieXlITmc3VzZwUlpFaWVjMDRzL241MDJYZkYzenJkdWtsa2dNV083TEVK
ODBHeEtSOTgzWDBlUVhwSHZIL3pEaUM1NjA5RjI5OWhoc3RkOWJYWVVOS0R6N0ZqZFgxVTVjSy9H
eUVrNS9pMW1vSVE2bmh1NWs1VXh2RCt4WGdacVNZUXA0ekN6cnhkRnhBZ0hhT2RhMExHQ2tkQ3Fu
dGxiY1QrRkNvbXd5Ylh5Z1JlU0Iva3JlaEJCbWRNdFlYeTdLeWNzaDRSU05QcmUzZGUzQTBxZTZV
N1dkdk9PQi80SW1yaGFubU8xMUNlTi9MTTZEUHRMcWxZd2dkeEFzZEUydFZtS2hPZzVCTjRUODhD
cTJLRHdpbmZ4VnpKdjNyNVA0NDFXWlpPQUJGNkM2UlkrYnpEdmxyVXBxRzRIMVJPZDNESFpHLzdk
R0l0alYyRjF4SURDZHpNYi8vVDNoaVIxOW5qOXZwZTFDUm1LbTN5ck9EZnFNaXlmQXRkNEhiVzFm
eE9OTEl2S3VFR3BQN01rM3gzb0RINlBXc2dMT3EvRUFOVHIya0JyWGtXL3czVmZmS2Y0aUlSeXZq
ZW5aUHoweEpRelFudXQzanVjSFoydUo2RFRxMG9PYTNJaEpYb21IUnBoa2FvTzM0MnVja3JPRHpX
ekJ3eWRQNFpPODQyMzV6ai9ITWttaHppQmlwRjNsL1V5SWRJelNuUXZ0RmkrQWtDbzR6SHRtb2xZ
b0FCZ211VTE0SmY2S0Y0VTBZOG91clNENkllS043VGp0eUp0Q0N4enVLUE5oWHZWNW1scE9EVE5a
OWZoSTBGb1lzWWMvMXBtaW0waU5FMkdDZFdxOTV6V082aVkvNWs9CnZlcnNpb246IDEK
`

However, Xray is still showing the error 'License validation failed, Xray license is invalid.' in xray's console.log
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants