dns_es
(DNS ES)
December 27, 2021, 9:38am
15
schnetz:
Hi,
If you have livestatus connection problems when using TLS and no liveproxyd in between, you can set the poll timeout to a lower value in the following file.
--- a/lib/python3/livestatus.py
+++ b/lib/python3/livestatus.py
@@ -531,7 +531,7 @@ class SingleSiteConnection(Helpers):
receive_start = time.time()
while size > 0:
- readylist = self._socket_poller.poll(1000)
+ readylist = self._socket_poller.poll(10)
if readylist or (isinstance(self.socket, ssl.SSLSocket) and self.socket.pending()):
packet = self.socket.recv(size)
if not packet:
SSL sockets + select/poll => Tons of fun…
Regards
Andreas
Hi,
bug or feature? Should not beeing the normal behavior for user of raw version, i hope so
@robin.gierse : had the same issue. i think this must be troubleshooted by cmk-dev´s.
cheers
Dennis
1 Like