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

REST calls with '/api/storage/' on docker repositories return 500 error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 4.11.1, 4.11.2, 4.12.2, 5.2.1
    • Fix Version/s: 5.5.2
    • Component/s: REST API
    • Labels:
      None

      Description

      Reproduced on 4.11.1
      Checked on the following rest calls:
      FileInfo
      FolderInfo
      Item Last Modified
      File Statistics
      Item Properties

      When using api-key for authentication, the result is the following error:

      HTTP/1.1 500 Internal Server Error
      ....
      <!DOCTYPE html><html><head><title>Apache Tomcat/8.0.32 - Error report</title><style type="text/css">H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}.line {height: 1px; background-color: #525D76; border: none;}</style> </head><body><h1>HTTP Status 500 - more than one filter accepted this request</h1><div class="line"></div><p><b>type</b> Exception report</p><p><b>message</b> <u>more than one filter accepted this request</u></p><p><b>description</b> <u>The server encountered an internal error that prevented it from fulfilling this request.</u></p><p><b>exception</b></p><pre>java.lang.RuntimeException: more than one filter accepted this request
      	org.artifactory.webapp.servlet.authentication.ArtifactoryAuthenticationFilterChain.acceptFilter(ArtifactoryAuthenticationFilterChain.java:115)
      	org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:182)
      	org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:160)
      	org.artifactory.webapp.servlet.RequestFilter.doFilter(RequestFilter.java:61)
      	org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:111)
      </pre><p><b>note</b> <u>The full stack trace of the root cause is available in the Apache Tomcat/8.0.32 logs.</u></p><hr class="line"><h3>Apache Tomcat/8.0.32</h3></body></html>
      

      With basic authentication works properly (include encrypted password).
      Other repository types it is working as expected.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              inbart Inbar Tal (Inactive)
              Reporter:
              aviz Avi Zaig (Inactive)
              Votes:
              6 Vote for this issue
              Watchers:
              13 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: