KNOWLEDGE BASE

Intermittent Socket Hangups When Making Requests via REST API


Published: 17 Jan 2019
Last Modified Date: 11 Oct 2019

Issue

When making requests via the REST API on Linux Tableau Server, the request intermittently fails due to a socket hangup (connection ended by server.) 

Environment

  • Tableau Server 2018.1 - 2018.2
  • Linux OS

Resolution

Check to see if multiple libssl versions are being loaded:

  1. Find the PID for Apache: 
    sudo netstat -lntp | grep httpd | awk -F '[/ ]*' '{print $7}'
  2. Check to see how many versions of libssl are loaded (replace 16922 with the number returned in Step 1): 
    sudo lsof -p 16922 | grep libssl

This is an example of an affected installation:
User-added image

This is an example of a NON-affected installation:
User-added image
 

If your installation is affected, run the following commands:

sudo su -
cd /opt/tableau/tableau_server/packages/apache.<version>/lib
ln -s libssl.so libssl.so.10
ln -s libcrypto.so libcrypto.so.10

Cause

Multiple versions of libssl are being loaded on Tableau Server, causing compatibility issues when a version older than the expected version is used.

Additional Information

The Apache Error.log will show a segmentation fault that coincides with the socket hangup.
 

[Tue Oct 16 17:00:30.096517 2018] [core:notice] [pid 11641:tid 140439665420096] AH00052: 
child pid 25447 exit signal Segmentation fault (11)

 



Discuss this article... Feedback Forum
Did this article resolve the issue?