Uploaded image for project: 'Alfresco One Platform'
  1. Alfresco One Platform
  2. ACE-1791 Release 36 Enterprise Regression Testing (WAT1 Release)
  3. ACE-1885

org.springframework.extensions.webscripts.WebScriptException: 043020030 Authentication failed for Web Script org/alfresco/slingshot/documentlibrary/doclist.get error was detected during to BM-0002 test for Alfresco 4.3.0 b1727.

    Details

    • Type: Feature Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 5.0
    • Fix Version/s: 5.0
    • Component/s: Benchmarking
    • Labels:
      None
    • Environment:
      BM Lab. Clusters are: 1.4, Servers: 3, Alfresco v4.3.0 (build-1727)
    • Test In:
      Enterprise
    • Regression Since:
      5.0
    • Sprint:
      WAT1 Release Sprint 2

      Description

      A lot of HTTP/1.1 401 Unauthorized (application/json) response code is returned for GET request from Share Application to Alfresco Application REST API Web Scripts under the load.

      GET /alfresco/s/slingshot/doclib/doclist/documents/node/alfresco/sites/home?max=50&filter=recentlyModifiedByMe&alf_ticket=TICKET_7751ccb83af8b23136faec19eaeac7b30a817367 HTTP/1.1
      
      connection: keep-alive
      
      accept-language: en-gb,en;q=0.5
      
      accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
      
      user-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1
      
      referer: http://st1:8080/share/page/user/admin/dashboard
      
      x-requested-with: application/x-www-form-urlencoded
      
      accept-encoding: gzip, deflate
      
      accept-charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
      
      Host: localhost:8080
      
      
      
      HTTP/1.1 401 Unauthorized
      
      Server: Apache-Coyote/1.1
      
      WWW-Authenticate: Basic realm="Alfresco"
      
      Cache-Control: no-cache
      
      Expires: Thu, 01 Jan 1970 00:00:00 GMT
      
      Pragma: no-cache
      
      Content-Type: application/json;charset=UTF-8
      
      Transfer-Encoding: chunked
      
      Date: Fri, 30 May 2014 12:22:42 GMT
      
      
      
      d41
      
      {
          "status" :
        {
          "code" : 401,
          "name" : "Unauthorized",
          "description" : "The request requires HTTP authentication."
        }, 
       
        "message" : "043020030 Authentication failed for Web Script org\/alfresco\/slingshot\/documentlibrary\/doclist.get", 
        "exception" : "org.springframework.extensions.webscripts.WebScriptException - 043020030 Authentication failed for Web Script org\/alfresco\/slingshot\/documentlibrary\/doclist.get",
       
        "callstack" :
        [
        .  ""      ,"org.springframework.extensions.webscripts.WebScriptException: 043020030 Authentication failed for Web Script org\/alfresco\/slingshot\/documentlibrary\/doclist.get"
            ,"org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:347)"
            ,"org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:378)"
            ,"org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:209)"
            ,"org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(WebScriptServlet.java:132)"
            ,"javax.servlet.http.HttpServlet.service(HttpServlet.java:727)"
            ,"org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)"
            ,"org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)"
            ,"org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)"
            ,"org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)"
            ,"org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)"
            ,"org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java:61)"
            ,"org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)"
            ,"org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)"
            ,"org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)"
            ,"org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)"
            ,"org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)"
            ,"org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)"
            ,"org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)"
            ,"org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)"
            ,"org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)"
            ,"org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)"
            ,"org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)"
            ,"org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)"
            ,"org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2441)"
            ,"org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2430)"
            ,"java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)"
            ,"java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)"
            ,"java.lang.Thread.run(Thread.java:724)"
       
        ],
       
        "server" : "Enterprise v4.3.0 (r71939-b1727) schema 7,004",
        "time" : "30-May-2014 13:22:43"
      }
      

      Test also was run for Alfresco 4.3.0 b1649 to check regression. It is not reproduced on this build so it can be regression since b1649.
      Please, see results for b1649 in attachment.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                closedissues Closed Issues
                Reporter:
                alfrescoqa Alfresco QA Team
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: