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

Download service returns a 'GET' signedUrl redirect for 'HEAD' request

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: 2 - Critical
    • Resolution: Done
    • Affects Version/s: 7.4.0
    • Fix Version/s: 7.5.0
    • Component/s: None
    • Labels:
    • Severity:
      Critical

      Description

      Description:

      when artifactory sends a 'HEAD' request to a remote repo of another Artifactory it may get a redirect as a response, this redirect is a signed Url that is suppose to be used as a 'GET' but instead is used as a 'HEAD' request (follows the redirect) this request then fails in AWS

       

      Steps to reproduce:

      1) setup a local NPM/NuGet repo on an Artifactory that is using S3 with redirect (AOL for example)

      2) setup a remote repo on another Artifactory that points to the local repo of the first Artifactory

      3) try downloading (from the UI) one of the files from the remote repo. 

      4) nothing will happen.

      5) try downloading a different file of the remote repo using CURL

      6) the response will be 404 not found.

       

       

        Attachments

          Activity

            People

            Assignee:
            alexeiv Alexei Vainshtein
            Reporter:
            elis Eli Skoran
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Sync Status

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