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

Artifactory does not show error 404 for artifacts missing

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.2.0
    • Fix Version/s: None
    • Component/s: Artifact Storage
    • Environment:

      CentOS 6.5 x86_64, Java HotSpot(TM) 64-Bit Server VM (build 24.55-b03, mixed mode), Artifactory 3.2.0 from RPM-package, filesystem-mysql storage, MySQL 5.5.32-1.el6.remi.x86_64

      Description

      I have several local repositories and a few caching repos. All they are united into one virtual repository called "repos". When trying to retrieve some non-existing or missing artifacts it is expected to get error 404 - "not found". But instead of this Artifactory shows "Index of ..." page for the request URI + slash in the end (e.g. http://artifactory.mycompany.com/repos/com/mycompany/internal/rest-client/5.4.021.7/rest-client-5.4.021.7.jar/ ). The log contains error lines like

      [INFO ] (o.a.r.s.RepositoryBrowsingServiceImpl:229) - Error while listing remote resources: Unable to retrieve http://repo.jenkins-ci.org/releases/com/mycompany/internal/rest-client/5.4.021.7/rest-client-5.4.021.7.jar/: 404: Not Found

      per each remote repo. How should I fix this?

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              X-Stranger X-Stranger
            • Votes:
              7 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

              • Created:
                Updated: