1 Reply Latest reply on Oct 9, 2018 1:30 AM by Ciara Brennan

    Socket error while exporting a workbook

    charu garg

      Hi ,

       

      I am getting the following error while exporting a Tableau workbook.

       

      10584] DEBUG 2018-09-08 05:36:44,629: Connecting to url (POST): http://XXXXXXXXX.ie/vizql/w/SUB2DailySalesbyAreaManager/v/Company/sessions/9EA097D13F0B4E0BB995BECC28F0C916-1:1/commands/tabsrv/pdf-export-options

      [10584] DEBUG 2018-09-08 05:36:44,666: Connecting to url (POST): http://XXXXXXXXX.ie/vizql/w/SUB2DailySalesbyAreaManager/v/Company/sessions/9EA097D13F0B4E0BB995BECC28F0C916-1:1/commands/tabsrv/pdf-export-server

      [10584] DEBUG 2018-09-08 05:37:03,568: Connecting to url (DELETE): http://XXXXXXXXX.ie/vizql/w/SUB2DailySalesbyAreaManager/v/Company/destroy/sessions/9EA097D13F0B4E0BB995BECC28F0C916-1:1

      [10584] ERROR 2018-09-08 05:37:03,642: Uncaught exception RuntimeException: java.net.SocketTimeoutException: Read timed out

      [10584] ERROR 2018-09-08 05:37:03,642: See the logs for the stacktrace.

      [10584] DEBUG 2018-09-08 05:37:03,645: Top level exception caught:

      java.lang.RuntimeException: java.net.SocketTimeoutException: Read timed out

                      at com.tableausoftware.tabcmd.http.HttpRequest.connect(HttpRequest.java:457)

                      at com.tableausoftware.tabcmd.http.HttpPostRequest.connect(HttpPostRequest.java:161)

                      at com.tableausoftware.tabcmd.http.HttpMultipartPostRequest.connect(HttpMultipartPostRequest.java:101)

                      at com.tableausoftware.tabcmd.session.Session.execute(Session.java:490)

                      at com.tableausoftware.tabcmd.session.Session.execute(Session.java:477)

                      at com.tableausoftware.tabcmd.VizqlSession.executeCommand(VizqlSession.java:146)

                      at com.tableausoftware.tabcmd.commands.Export.getPDFResponse(Export.java:220)

                      at com.tableausoftware.tabcmd.commands.Export.export(Export.java:139)

                      at com.tableausoftware.tabcmd.commands.Export.execute(Export.java:89)

                      at com.tableausoftware.tabcmd.Tabcmd.run(Tabcmd.java:157)

                      at com.tableausoftware.tabcmd.Tabcmd.main(Tabcmd.java:77)

                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                      at java.lang.reflect.Method.invoke(Method.java:498)

                      at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)

                      at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)

                      at org.springframework.boot.loader.Launcher.launch(Launcher.java:50)

                      at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:58)

      Caused by: java.net.SocketTimeoutException: Read timed out.

       

      Kindly suggest the possible causes of this error.

       

      Thanks,

      Charu

        • 1. Re: Socket error while exporting a workbook
          Ciara Brennan

          Hi Charu

          Its possible that there is some kind of network configuration issue affecting communication between Tableau Server & Tableau Desktop. There are a couple of things to try...

          Can you please post back to let us know how you get on?

          Thanks, Ciara

           

           

          1. Check that Tableau Server can be accessed and logged in to from a browser on the same machine that is running Tableau Desktop.

          2. Verify that there are no firewalls blocking TableauDesktop.exe from communicating over the network.

          1. Click the Start button, select Control Panel > Windows Firewall.
          2. Click Allow program to communicate through Windows Firewall link in the left-side pane.
          3. Click the Allow another program button, scroll to and select Tableau 8.0.
          4. Click the Add button.
          5. When finished, click OK.