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

Artifactory resets the connection when accessing '/versions' api on rubygems

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 6.7.0
    • Fix Version/s: 6.11.0
    • Component/s: None
    • Labels:
    • Sprint:
      Leap 37

      Description

      When using bundler, Artifactory response is 404 for '/versions' api call and reset the connection in some cases. Issue can be reproduced with curl as follows:
      $curl -uadmin:password "http://localhost:8080/artifactory/api/gems/gems-local/versions" -v

      *   Trying ::1...
      * Connected to localhost (::1) port 8080 (#0)
      * Server auth using Basic with user 'admin'
      > GET /artifactory/api/gems/gems-local/versions HTTP/1.1
      > Host: localhost:8080
      > Authorization: Basic YWRtaW46cGFzc3dvcmQ=
      > User-Agent: curl/7.43.0
      > Accept: */*
      >
      < HTTP/1.1 404 Not Found
      < Server: Artifactory/development
      < X-Artifactory-Id: 7b32b779c9e87e84:-632c137e:15a12f4dff2:-8000
      < Content-Type: application/json;charset=ISO-8859-1
      < Transfer-Encoding: chunked
      < Date: Mon, 06 Feb 2017 12:48:20 GMT
      <
      {
        "errors" : [ {
          "status" : 404,
          "message" : "File not found."
        } ]
      * transfer closed with outstanding read data remaining
      * Closing connection 0
      curl: (18) transfer closed with outstanding read data remaining
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                barh Bar Haim
                Reporter:
                guyco Guy Cohen
              • Votes:
                6 Vote for this issue
                Watchers:
                12 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: