3 Replies Latest reply on Apr 30, 2019 4:28 PM by kgiday

    Tabjolt Cookie Parsing Exception - Trying to test reverse proxy

    Brian Jones

      We've been utilizing Tabjolt for a couple weeks to test our workbooks. The testing works fine when we run the Tabjolt application from a server within our network.   Our production Tableau architecture utilizes a reverse proxy, which we'd like to test also with Tabjolt.  We couldn't get the proxy overrride setting to work within the config file so we chose to get a laptop and run tabjolt test using guest wireless off the network.  The application gets an error whenever executing Tabjolt from outside our network.

       

      Any ideas? here is the error message:

      ERROR [2016-07-07 10:37:47,389][setUp Thread Group 1-1] (TabHttpRequest.java:1371)   - Cookie parsing exception
      org.apache.http.cookie.MalformedCookieException: Invalid 'expires' attribute: Fri, 07 Jul 2017 09:05:59 GMT
      at org.apache.http.impl.cookie.BasicExpiresHandler.parse(BasicExpiresHandler.java:63)
      at org.apache.http.impl.cookie.CookieSpecBase.parse(CookieSpecBase.java:112)
      at org.apache.http.impl.cookie.DefaultCookieSpec.parse(DefaultCookieSpec.java:139)

       

      Thanks,

      Brian

        • 1. Re: Tabjolt Cookie Parsing Exception - Trying to test reverse proxy
          Obed Tsimi

          Hello Brian,

           

          I am not too sure what the described error is, but i was wondering what error you were getting when trying to configure the proxy overrride setting to work within the config file?

           

          Thanks

          • 2. Re: Tabjolt Cookie Parsing Exception - Trying to test reverse proxy
            Brian Jones

            Thanks for your response, here's the message i get when i configure proxyEnabled: true.

             

            Waiting for possible shutdown message on port 4445

            FATAL [2016-07-18 15:35:41,954][setUp Thread Group 1-1] (LoadSessionSetup.java:6

            9)   - Failed to set up load test session. Stopping the test run.

            java.lang.NullPointerException

                    at com.tableausoftware.vizportal.test.webClientApi.WebClientResponse.<in

            it>(WebClientResponse.java:62)

                    at com.tableausoftware.vizportal.test.webClientApi.WebClientResponse.cre

            ate(WebClientResponse.java:88)

                    at com.tableausoftware.vizportal.test.webClientApi.WebClientApi.getServe

            rSettingsUnauthenticated(WebClientApi.java:1319)

                    at com.tableausoftware.test.server.perfTestSuite.ServerSettingsFetcher.s

            etServerSetting(ServerSettingsFetcher.java:28)

                    at com.tableausoftware.test.server.perfTestSuite.LoadSessionSetup.runTes

            t(LoadSessionSetup.java:58)

                    at org.apache.jmeter.protocol.java.sampler.JavaSampler.sample(JavaSample

            r.java:191)

                    at org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.j

            ava:429)

                    at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:257)

                    at java.lang.Thread.run(Unknown Source)

            Tidying up ...    @ Mon Jul 18 15:35:42 PDT 2016 (1468881342016)

            ... end of run

            • 3. Re: Tabjolt Cookie Parsing Exception - Trying to test reverse proxy
              kgiday

              Hello, I have a similar issue to the above. Our Tableau Server is hosted on AWS using Amazin Linux AMI. When we point Tabjolt to an Application Load Balancer in AWS, this is when we get the cookie parsing error. If we redirect it to the classing Elastic Load Balancer, it seems to work fine.

               

              Any idea what the issue might be with AWS load balancer? Anyone else experienced a similar issue?

               

              This is the error message:

               

              Waiting for possible shutdown message on port 4445

              ERROR [2019-04-22 13:24:08,576][setUp Thread Group 1-1] (TabHttpRequest.java:1265)   - Cookie parsing exception

               

              org.apache.http.cookie.MalformedCookieException: Invalid 'expires' attribute: Mon, 29 Apr 2019 17:24:08 GMT

              at org.apache.http.impl.cookie.BasicExpiresHandler.parse(BasicExpiresHandler.java:63)

              at org.apache.http.impl.cookie.CookieSpecBase.parse(CookieSpecBase.java:112)

              at org.apache.http.impl.cookie.DefaultCookieSpec.parse(DefaultCookieSpec.java:139)

              at com.tableausoftware.test.server.utils.TabHttpRequest.storeCookies(TabHttpRequest.java:1261)

              at com.tableausoftware.test.server.utils.TabHttpRequest.processRequest(TabHttpRequest.java:919)

              at com.tableausoftware.test.server.utils.TabHttpRequest.processRequest(TabHttpRequest.java:891)

              at com.tableausoftware.test.server.utils.TabHttpRequest.access$000(TabHttpRequest.java:112)

              at com.tableausoftware.test.server.utils.TabHttpRequest$TabHttpRequestExecutor.execute(TabHttpRequest.java:556)

              at com.tableausoftware.vizportal.test.apiMethods.webClient.WebClientAPIMethodBase.abortablePostRequest(WebClientAPIMethodBase.java:389)

              at com.tableausoftware.vizportal.test.apiMethods.webClient.WebClientAPIMethodBase.getResponse(WebClientAPIMethodBase.java:341)

              at com.tableausoftware.vizportal.test.apiMethods.webClient.GetServerSettingsUnauthenticatedMethod.runit(GetServerSettingsUnauthenticatedMethod.java:60)

              at com.tableausoftware.vizportal.test.apiMethods.common.MethodBase.run(MethodBase.java:161)

              at com.tableausoftware.vizportal.test.apiMethods.common.MethodBase.run(MethodBase.java:136)

              at com.tableausoftware.vizportal.test.apiMethods.common.MethodBase.run(MethodBase.java:131)

              at com.tableausoftware.vizportal.test.webClientApi.WebClientApi.getServerSettingsUnauthenticated(WebClientApi.java:1456)

              at com.tableausoftware.test.server.perfTestSuite.ServerSettingsFetcher.setServerSetting(ServerSettingsFetcher.java:28)

              at com.tableausoftware.test.server.perfTestSuite.LoadSessionSetup.runTest(LoadSessionSetup.java:69)

              at org.apache.jmeter.protocol.java.sampler.JavaSampler.sample(JavaSampler.java:191)

              at org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:429)

              at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:257)