Socket timeout errors -- socket.timeout: The read operation timed out

Starting in Arcadia 4.4 we have introduced additional timeout settings within the connection settings, in particular a new socket timeout.

For background, refer to this article on the existing settings:

This socket timeout will ensure we close & clean up hung connections. The default value is “60” seconds, but it’s possible that some operations can take a long time – for example planning a query on a really large table after a ‘invalidate metadata’ command – so there might be instances where you need to adjust the default to higher values like 120 or 180 seconds.

The errors you should look out for are:

  • In the UI you might see “Could not load data – operation timed out”

    image

  • In the arcviz activitly logs you see “socket timeout” :

    ERROR P3 26381 Thread-25 Exception on thrift op
    Traceback (most recent call last):
    File “arcweb/dataconn/hs2conn.py”, line 640, in _onethrift
    File “/opt/cloudera/parcels/ARCADIAENTERPRISE-4.4.0.1-1540855641.cdh5/lib/python/lib64/python3.6/ssl.py”, line 627, in read
    v = self._sslobj.read(len)
    socket.timeout: The read operation timed out

1 Like