6 Replies Latest reply on Jun 8, 2018 6:22 PM by Darrell Nash

    Unexpected Server Error: No valid session found. Tableau Server Linux 2018.1

    Kamil Jaśkiewicz

      We started to experience issues with Tableau Server Linux (20181.18.0404.1605.) after the upgrade from 10.5. When you open any workbook in your web browser and perform any action you get Unexpected Server Error pop up (attached). Additionally, this behavior is not deterministic, it may work perfectly fine until suddenly you start getting these errors. What it may cause?

       

      In the server logs I can see the following:

      May 17, 2018 10:43:32 AM org.apache.catalina.core.ApplicationDispatcher invoke

      SEVERE: Servlet.service() for servlet Spring MVC Dispatcher Servlet threw exception

      com.tableausoftware.domain.exceptions.InvalidSessionException: No valid session found. (errorCode=46)

              at com.tableausoftware.core.user.AuthenticatedUserInterceptor.preHandle(AuthenticatedUserInterceptor.java:111)

              at org.springframework.web.servlet.HandlerExecutionChain.applyPreHandle(HandlerExecutionChain.java:134)

              at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:958)

              at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:897)

              at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)

              at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:872)

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:650)

              at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

              at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

              at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:743)

              at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:485)

              at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:410)

              at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:337)

              at org.tuckey.web.filters.urlrewrite.NormalRewrittenUrl.doRewrite(NormalRewrittenUrl.java:195)

              at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:159)

              at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:141)

              at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:90)

              at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:417)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

              at com.tableausoftware.controller.vizql.servlet.CrossSiteScriptingFilter.doFilter(CrossSiteScriptingFilter.java:49)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

              at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197)

              at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)

              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110)

              at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:506)

              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)

              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)

              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)

              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445)

              at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1115)

              at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)

              at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318)

              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

              at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

              at java.lang.Thread.run(Thread.java:748)

       

       

      May 17, 2018 10:43:32 AM org.apache.catalina.core.StandardWrapperValve invoke

      SEVERE: Servlet.service() for servlet [default] in context with path [/vizql] threw exception [Request processing failed; nested exception is com.tableausoftware.domain.exceptions.InvalidSessionException: No valid session found. (errorCode=46)] with root cause

      com.tableausoftware.domain.exceptions.InvalidSessionException: No valid session found. (errorCode=46)

              at com.tableausoftware.core.user.AuthenticatedUserInterceptor.preHandle(AuthenticatedUserInterceptor.java:111)

              at org.springframework.web.servlet.HandlerExecutionChain.applyPreHandle(HandlerExecutionChain.java:134)

              at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:958)

              at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:897)

              at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)

              at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:872)

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:650)

              at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

              at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

              at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:743)

              at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:485)

              at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:410)

              at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:337)

              at org.tuckey.web.filters.urlrewrite.NormalRewrittenUrl.doRewrite(NormalRewrittenUrl.java:195)

              at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:159)

              at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:141)

              at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:90)

              at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:417)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

              at com.tableausoftware.controller.vizql.servlet.CrossSiteScriptingFilter.doFilter(CrossSiteScriptingFilter.java:49)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

              at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197)

              at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)

              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110)

              at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:506)

              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)

              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)

              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)

              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445)

              at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1115)

              at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)

              at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318)

              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

              at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

              at java.lang.Thread.run(Thread.java:748)