Unhandled exception: 400: Site connection not initiated (Heartbeat timeout after 2.0 sec)

Hallo,
appliance latest version
cee 1.6.0p7cee

Configuring a ditributed monitoring ends with

test01 - Livestatus error
Unhandled exception: 400: Site connection not initiated (Heartbeat timeout after 2.0 sec).

Both sites are running on the same appliance.
The site test01 is working running some testchecks.
Has anyone hints?

Thanks
Ralf

xxx
a working connection and the one not working
cl_cc_prod cl_prod
Connect via TCP (IPv4)
TCP address to connect to: 192.168.241.90, 6557
Encryption: Plain text (Unencrypted), Use plain text, unencrypted transport
OnlineOnline Not enabled
test01 test01
Connect via TCP (IPv4)
TCP address to connect to: 192.168.241.90, 6598
Encryption: Plain text (Unencrypted), Use plain text, unencrypted transport
Unhandled exception: 400: Site connection not initiated (Heartbeat timeout after 2.0 sec).Unhandled exception: 400: Site connection not initiated (Heartbeat timeout after 2.0 sec). Not enabled

Hi Ralf,

do you could check it also with livestatus as SOCKET if it`s on the same appliance

lG Bernd

Nope,
nothings works with this site.
Others are fine.
Ralf

Working site
root@srvomdha01:/omd/sites/cc_kvm/var/log# tail -f liveproxyd.log
2020-01-08 10:58:10,697 [20] [cmk.liveproxyd.(842).Manager] Restart initiated. Terminating site processes…
2020-01-08 10:58:10,698 [20] [cmk.liveproxyd.(842).Manager] Restart master process
2020-01-08 10:58:10,770 [20] [cmk.liveproxyd] ----------------------------------------------------------
2020-01-08 10:58:10,770 [20] [cmk.liveproxyd] Livestatus Proxy-Daemon (1.6.0p6) starting…
2020-01-08 10:58:10,771 [20] [cmk.liveproxyd] Configured 1 sites

not working site
root@srvomdha01:/omd/sites/test01/var/log# tail -f liveproxyd.log
2020-01-08 11:07:19,503 [20] [cmk.liveproxyd] ----------------------------------------------------------
2020-01-08 11:07:19,503 [20] [cmk.liveproxyd] Livestatus Proxy-Daemon (1.6.0p7) starting…
2020-01-08 11:07:19,503 [20] [cmk.liveproxyd] Configured 0 sites
2020-01-08 11:08:02,258 [20] [cmk.liveproxyd.(20434).Manager] Restart initiated. Terminating site processes…
2020-01-08 11:08:02,258 [20] [cmk.liveproxyd.(20434).Manager] Restart master process
2020-01-08 11:08:02,337 [20] [cmk.liveproxyd] ----------------------------------------------------------
2020-01-08 11:08:02,337 [20] [cmk.liveproxyd] Livestatus Proxy-Daemon (1.6.0p7) starting…
2020-01-08 11:08:02,338 [20] [cmk.liveproxyd] Configured 0 sites

Configured 0 sites.
???

2020-01-08 11:59:40,487 [20] [cmk.liveproxyd.(1173).Manager] Restart initiated. Terminating site processes…
2020-01-08 11:59:40,542 [20] [cmk.liveproxyd.(1173).Manager] Restart master process
2020-01-08 11:59:42,063 [20] [cmk.liveproxyd] ----------------------------------------------------------
2020-01-08 11:59:42,063 [20] [cmk.liveproxyd] Livestatus Proxy-Daemon (2020.01.03) starting…
2020-01-08 11:59:42,093 [20] [cmk.liveproxyd] Configured 0 sites
2020-01-08 12:14:11,216 [20] [cmk.liveproxyd.(24360).Manager] Restart initiated. Terminating site processes…
2020-01-08 12:14:11,216 [20] [cmk.liveproxyd.(24360).Manager] Restart master process
2020-01-08 12:14:11,329 [20] [cmk.liveproxyd] ----------------------------------------------------------
2020-01-08 12:14:11,330 [20] [cmk.liveproxyd] Livestatus Proxy-Daemon (2020.01.03) starting…
2020-01-08 12:14:11,331 [20] [cmk.liveproxyd] Configured 1 sites
2020-01-08 12:16:02,192 [40] [cmk.liveproxyd.(7655).Site(main2).Client(9)] Reading request from client took longer than 5s
Traceback (most recent call last):
File “/omd/sites/main/lib/python/cmk/cee/liveproxy/Client.py”, line 164, in receive_new_request
request = self._receive_request()
File “/omd/sites/main/lib/python/cmk/cee/liveproxy/Client.py”, line 362, in _receive_request
“Reading request from client took longer than %ds” % fetch_request_timeout)
ClientRequestTimeoutException: Reading request from client took longer than 5s


I have also started my second site and had received some errors …

configuring 0 sites now solved
but
Unhandled exception: 400: Site connection not initiated (Heartbeat timeout after 2.0 sec)
still the problem.

Ralf

Same problem using a free appliance with to new sites.
has anyone any hints?

Thanks
Ralf

Heute Info vom support bekommen.
Kein Fehler sondern neue Sites werden per default so konfiguriert das die Verbindung gesichert wird.
Gruss

Hallo Ralf,
das von dir in diesem Thread beschriebene Problem tritt bei mir in einer Test-Umgebung mit 2 Sites, von denen ich eine als Slave im Distributed Monitoring per Livestatus einbinden möchte (beide 1.6.0p11), ebenfalls auf.

Was genau meinst du damit?

GruĂź Dominic

Hallo,
schau mal nach diesen Parametern

grafik

2 Likes

Hallo,
danke fĂĽr den Hinweis. Ich nutze die virtuelle Appliance und hatte in der OMD-Konfiguration selbst ĂĽberhaupt nicht geschaut. Es funktioniert jetzt.

GruĂź Dominic

yeap,
same here.
Da ist noch Luft nach oben in der BenutzerfĂĽhrung.
Gruss

Warum denn erst abschalten?
FĂĽr neue Sites kann man das doch ruhig gleich aktiv lassen. Eigentlich soll es ja auch nicht deaktiviert werden aus SicherheitsgrĂĽnden.

Bei neuen Installation passt das ja aber bei einem Mix suchst du ja erst mal was ĂĽberhaupt schief geht.
Ob man dann ein oder ausschaltet ist ein anderes Thema.
NatĂĽrlich ist es richtig sicher zu konfigurieren.
Gruss

Bin auch eben drüber gestolperter. Der Punkt ist nicht TLS ein oder aus (natürlich will man es an haben …). Der Punkt ist, dass die Fehlermeldung ohne jede Aussagekraft ist. Würde da etwas von einem TLS Fehler stehen wäre sofort klar was das Problem ist. Aber so …