Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-21410

No clear error message when an artifact is blocked by Xray

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: 4 - Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      In Artifactory 6.X version when we try to download an artifact which is being blocked by a Xray plocy we get the following error message indicating the reason behind it:

      In previous versions the message is

      UI: The artifact is blocked due to download blocking policy configured in Xray for ga_test

      Client: ip-10-1-80-121:~ lakshmiprasad$ curl -XGET https://laksmip.jfrog.io/laksmip/ga_test/org/apache/struts/struts2-showcase/2.3.12/struts2-showcase-2.3.12.war

      {

       "errors" : [

      {   "status" : 403,   "message" : "Artifact download request rejected: org/apache/struts/struts2-showcase/2.3.12/struts2-showcase-2.3.12.war was not downloaded due to the download blocking policy configured in Xray for ga_test."  }

      ]

      }

      However in the platform version:
      Failed to pull image "gaincapital-docker.jfrog.io/rancher/coreos-flannel:v0.11.0-rancher1": rpc error: code = Unknown desc = Error response from daemon: unknown: Forbidden
       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              lakshmip Lakshmi Prasad
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:

                  Sync Status

                  Connection: RTFACT Sync
                  RTMID-21410 -
                  SYNCHRONIZED
                  • Last Sync Date: