All Apps and Add-ons

Collecting local load balance metrics using the iControl API dies works for a little while the dies with SSLError


Whenever we turn on the the API collection for local load balancer metrics, it will work for a few minutes to a couple of hours, but ultimately it will stop collecting the data. Every time it does this, we get the below error message:

2019-04-22 11:06:22,765 ERROR pid=33429 tid=Thread-46 | Error in - Traceback:
Traceback (most recent call last):
File "/app/splunk/etc/apps/Splunk_TA_f5-bigip/bin/Splunk_TA_f5_bigip/", line 167, in run
File "/app/splunk/etc/apps/Splunk_TA_f5-bigip/bin/Splunk_TA_f5_bigip/", line 77, in fetch
return [event for partition in partitions for event in self.fetch(partition)]
File "/app/splunk/etc/apps/Splunk_TA_f5-bigip/bin/Splunk_TA_f5_bigip/", line 136, in _fetch, api=aApiAgainst, params=dataWith)
File "/app/splunk/etc/apps/Splunk_TA_f5-bigip/bin/Splunk_TA_f5_bigip/", line 90, in run
return method(params) if params else method()
File "/app/splunk/etc/apps/Splunk_TA_f5-bigip/bin/Splunk_TA_f5_bigip/", line 416, in wrapped_method
result = method(*args, **kwargs)
File "/app/splunk/etc/apps/Splunk_TA_f5-bigip/bin/Splunk_TA_f5_bigip/suds/", line 542, in __call
return client.invoke(args, kwargs)
File "/app/splunk/etc/apps/Splunk_TA_f5-bigip/bin/Splunk_TA_f5_bigip/suds/", line 602, in invoke
result = self.send(soapenv)
File "/app/splunk/etc/apps/Splunk_TA_f5-bigip/bin/Splunk_TA_f5_bigip/suds/", line 637, in send
reply = transport.send(request)
File "/app/splunk/etc/apps/Splunk_TA_f5-bigip/bin/Splunk_TA_f5_bigip/suds/transport/", line 64, in send
return HttpTransport.send(self, request)
File "/app/splunk/etc/apps/Splunk_TA_f5-bigip/bin/Splunk_TA_f5_bigip/suds/transport/", line 77, in send
fp = self.u2open(u2request)
File "/app/splunk/etc/apps/Splunk_TA_f5-bigip/bin/Splunk_TA_f5_bigip/suds/transport/", line 118, in u2open
return, timeout=tm)
File "/app/splunk/lib/python2.7/", line 429, in open
response = self._open(req, data)
File "/app/splunk/lib/python2.7/", line 447, in _open
'_open', req)
File "/app/splunk/lib/python2.7/", line 407, in _call_chain
result = func(*args)
File "/app/splunk/lib/python2.7/", line 1241, in https_open
File "/app/splunk/lib/python2.7/", line 1201, in do_open
r = h.getresponse(buffering=True)
File "/app/splunk/lib/python2.7/", line 1121, in getresponse
File "/app/splunk/lib/python2.7/", line 438, in begin
version, status, reason = self._read_status()
File "/app/splunk/lib/python2.7/", line 394, in _read_status
line = self.fp.readline(_MAXLINE + 1)
File "/app/splunk/lib/python2.7/", line 480, in readline
data = self._sock.recv(self._rbufsize)
File "/app/splunk/lib/python2.7/", line 766, in recv
File "/app/splunk/lib/python2.7/", line 653, in read
v =
SSLError: ('The read operation timed out',)

We have a case opened with F5, but they are pretty much useless. Wondering if anyone else has had this issue and what they did to resolve this?

0 Karma


You need to increase the timeout settings on your F5. I'm not sure where these are configured on an F5, but in haproxy I have the following values configured:

timeout connect         5000
timeout client            50000
timeout server          50000
An upvote would be appreciated and Accept Solution if it helps!
0 Karma
Register for .conf21 Now! Go Vegas or Go Virtual!

How will you .conf21? You decide! Go in-person in Las Vegas, 10/18-10/21, or go online with .conf21 Virtual, 10/19-10/20.