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

DevPi +simple fails due to double slash

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: 4 - Normal
    • Resolution: Unresolved
    • Affects Version/s: 6.10.2, 6.12.2
    • Fix Version/s: None
    • Component/s: PyPI
    • Labels:
      None
    • Severity:
      Low

      Description

       Steps to reproduce:

      1. Create a remote repository going to the public m.devpi.net remote endpoint
      2. Attempt any pip install command against the repository, observe the failure

      Through the HTTP debug loggers, it looks like an extra slash is being inserted, regardless of the URL in use:

      2019-09-17 21:50:43,147 [http-nio-8081-exec-5] [DEBUG] (o.a.h.i.c.PoolingHttpClientConnectionManager:255) - Connection request: [route:

      {s}

      ->https://m.devpi.net:443[total|https://m.devpi.net:443][total/] kept alive: 1; route allocated: 1 of 50; total allocated: 1 of 50]

       

      2019-09-17 21:50:43,150 [http-nio-8081-exec-5] [DEBUG] (o.a.h.i.e.MainClientExec:256) - Executing request HEAD /root/pypi//+simple HTTP/1.1

       

      2019-09-17 21:50:43,157 [http-nio-8081-exec-5] [DEBUG] (o.a.h.wire          :73) - http-outgoing-42 >> "HEAD /root/pypi//+simple HTTP/1.1[\r][\n]"

       

      2019-09-17 21:50:43,333 [http-nio-8081-exec-5] [DEBUG] (o.a.h.wire          :73) - http-outgoing-42 << "HTTP/1.1 404 Not Found[\r][\n]"

       

      This is a problem as it means remote DevPi repositories will not work. This will block some users that rely on DevPi repositories.

       

      Update: After some troubleshooting, it looks like remote repositories need to use "+simple" to reach the correct context. Going to "simple" causes the above behavior, which is a less severe bug. Users need to point their Pip clients to "+simple" on remote PyPi repositories that use DevPi.

       

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            patrickr Patrick Russell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Sync Status

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