Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-30

Proxing artifactory repositories show a logon page instead of index when browsing the group content, jfrog artifactory

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0-beta
    • Component/s: None
    • Labels:
      None
    • Environment:
      xubuntu 7.10

      Description

      I have a strange problem proxing the jfrog plugin repository with nexus. If I configure the jfrog-plugins repository http://www.jfrog.org/artifactory/plugins-releases@repo
      and add it to a group, e.g. public, and then try to browse nexus/content/groups/public/com, I get the jfrog repo logon screen.

      Note that I browse for the "com" package, and the jfrog plugins-releases does not contain a "com" package, only org.
      In repository management I see the the com package as empty. If I do right click download on it, i go to the same jfrog logon page. Accessing the org package, which do exist, however works fine!

      It is probably cause by the strange behaivior of the artifactory repository of jfrog - if you try to access the nonexistent com package:
      http://www.jfrog.org/artifactory/plugins-releases@repo/com
      you are redirected to
      http://www.jfrog.org/artifactory/repo1-cache/com/

      Note:(see below) if I point the broswer to http://www.jfrog.org/artifactory/plugins-releases@repo/com/
      I get 404 Not Found, which would be correct!

      I guess however, every artifactory based repository will behave this way.

      Even if I put a routing rool to exclude com from jfrog-plugins, nothing changes. Nexus seems to still try to obtain the com package from the jfrog repo.
      Looking in the storage directory, I see that there is a com file (not a directory), containing the HTML of the jfrog login page. When deleted, the file is created as soon, as I try to acces content/groups/public/com.

      In the logs I see circular redirect:
      org.apache.commons.httpclient.CircularRedirectException: Circular redirect to 'http://www.jfrog.org:80/artifactory/plugins-releases//'

      And indeed, if I omit the trailing slash, I am redirected to the address above.

        Attachments

          Activity

            People

            Assignee:
            dbradicich Damian Bradicich
            Reporter:
            deleted_user Deleted User
            Last Updated By:
            Peter Lynch Peter Lynch
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response:

                tigCommentSecurity.panel-title