Kommunikation mit Openhab bricht ab

Hallo,

gefühlt nach dem Update auf OH 2.3 setzt nach einer zufälligen Zeit immer die Kommunikation aus und es werden keine Befehle mehr an die HM Devices weitergeleitet.

In OH wird die Homegear Bridge als Offline angezeigt (ebenso alle HM Devices). Ein Neustart von OH bringt nur kurz Abhilfe.

Homegear Version ( 0.8.0-2282 ) im Docker Container auf derselbe Maschine wie OH.

Im log findet sich nur dauernd folgender Fehler:

07/30/18 08:40:00.911 Warning: Connection to client number 2734 closed (1).
07/30/18 08:41:46.328 Error in file RPC/RpcClient.cpp line 474 in function void Rpc::RpcClient::sendRequest(Rpc::RemoteRpcServer*, std::vector<char>&, std::vector<char>&, bool, bool&): Connecting to server 172.31.2.193 on port 9126 timed out.
07/30/18 08:41:46.346 Removing server. Server has to send "init" again.
07/30/18 08:42:31.884 Error in file RPC/RpcClient.cpp line 474 in function void Rpc::RpcClient::sendRequest(Rpc::RemoteRpcServer*, std::vector<char>&, std::vector<char>&, bool, bool&): Connecting to server 172.31.2.193 on port 9126 timed out.
07/30/18 08:42:31.887 Removing server. Server has to send "init" again.
07/30/18 08:43:31.526 Error in file RPC/RpcClient.cpp line 474 in function void Rpc::RpcClient::sendRequest(Rpc::RemoteRpcServer*, std::vector<char>&, std::vector<char>&, bool, bool&): Connecting to server 172.31.2.193 on port 9126 timed out.
07/30/18 08:43:31.538 Removing server. Server has to send "init" again.
07/30/18 08:44:01.626 Warning: Connection to client number 2774 closed (1).
07/30/18 08:49:49.835 Error in file RPC/RpcClient.cpp line 474 in function void Rpc::RpcClient::sendRequest(Rpc::RemoteRpcServer*, std::vector<char>&, std::vector<char>&, bool, bool&): Connecting to server 172.31.2.193 on port 9126 timed out.
07/30/18 08:49:49.838 Removing server. Server has to send "init" again.
07/30/18 08:50:35.013 Warning: Connection to client number 2843 closed (1).
07/30/18 08:51:20.087 Error in file RPC/RpcClient.cpp line 474 in function void Rpc::RpcClient::sendRequest(Rpc::RemoteRpcServer*, std::vector<char>&, std::vector<char>&, bool, bool&): Connecting to server 172.31.2.193 on port 9126 timed out.
07/30/18 08:51:20.091 Removing server. Server has to send "init" again.
07/30/18 08:51:50.687 Warning: Connection to client number 2856 closed (1).
07/30/18 08:57:22.563 Warning: Connection to client number 2928 closed (1).
07/30/18 08:58:22.744 Error in file RPC/RpcClient.cpp line 474 in function void Rpc::RpcClient::sendRequest(Rpc::RemoteRpcServer*, std::vector<char>&, std::vector<char>&, bool, bool&): Connecting to server 172.31.2.193 on port 9126 timed out.
07/30/18 08:58:22.759 Removing server. Server has to send "init" again.
07/30/18 08:59:23.368 Error in file RPC/RpcClient.cpp line 474 in function void Rpc::RpcClient::sendRequest(Rpc::RemoteRpcServer*, std::vector<char>&, std::vector<char>&, bool, bool&): Connecting to server 172.31.2.193 on port 9126 timed out.
07/30/18 08:59:23.374 Removing server. Server has to send "init" again.
07/30/18 09:01:23.891 Error in file RPC/RpcClient.cpp line 474 in function void Rpc::RpcClient::sendRequest(Rpc::RemoteRpcServer*, std::vector<char>&, std::vector<char>&, bool, bool&): Connecting to server 172.31.2.193 on port 9126 timed out.
07/30/18 09:01:23.897 Removing server. Server has to send "init" again.
07/30/18 09:02:24.171 Warning: Connection to client number 2983 closed (1).
07/30/18 09:03:09.249 Error in file RPC/RpcClient.cpp line 474 in function void Rpc::RpcClient::sendRequest(Rpc::RemoteRpcServer*, std::vector<char>&, std::vector<char>&, bool, bool&): Connecting to server 172.31.2.193 on port 9126 timed out.
07/30/18 09:03:09.289 Removing server. Server has to send "init" again.
07/30/18 09:03:54.403 Error in file RPC/RpcClient.cpp line 474 in function void Rpc::RpcClient::sendRequest(Rpc::RemoteRpcServer*, std::vector<char>&, std::vector<char>&, bool, bool&): Connecting to server 172.31.2.193 on port 9126 timed out.
07/30/18 09:03:54.406 Removing server. Server has to send "init" again.
07/30/18 09:05:54.996 Warning: Connection to client number 3022 closed (1).
07/30/18 09:06:40.072 Error in file RPC/RpcClient.cpp line 474 in function void Rpc::RpcClient::sendRequest(Rpc::RemoteRpcServer*, std::vector<char>&, std::vector<char>&, bool, bool&): Connecting to server 172.31.2.193 on port 9126 timed out.
07/30/18 09:06:40.079 Removing server. Server has to send "init" again.
07/30/18 09:07:10.159 Warning: Connection to client number 3035 closed (1).
07/30/18 09:08:40.426 Error in file RPC/RpcClient.cpp line 474 in function void Rpc::RpcClient::sendRequest(Rpc::RemoteRpcServer*, std::vector<char>&, std::vector<char>&, bool, bool&): Connecting to server 172.31.2.193 on port 9126 timed out.
07/30/18 09:08:40.429 Removing server. Server has to send "init" again.
07/30/18 09:11:26.400 Warning: Connection to client number 3080 closed (1).
07/30/18 09:12:11.607 Warning: Connection to client number 3090 closed (1).
07/30/18 09:13:11.796 Error in file RPC/RpcClient.cpp line 474 in function void Rpc::RpcClient::sendRequest(Rpc::RemoteRpcServer*, std::vector<char>&, std::vector<char>&, bool, bool&): Connecting to server 172.31.2.193 on port 9126 timed out.
07/30/18 09:13:11.800 Removing server. Server has to send "init" again.
07/30/18 09:15:58.370 Warning: Connection to client number 3131 closed (1).
07/30/18 09:16:59.088 Warning: Connection to client number 3144 closed (1).
07/30/18 09:20:14.996 Error in file RPC/RpcClient.cpp line 474 in function void Rpc::RpcClient::sendRequest(Rpc::RemoteRpcServer*, std::vector<char>&, std::vector<char>&, bool, bool&): Connecting to server 172.31.2.193 on port 9126 timed out.
07/30/18 09:20:14.999 Removing server. Server has to send "init" again.
07/30/18 09:22:00.793 Error in file RPC/RpcClient.cpp line 474 in function void Rpc::RpcClient::sendRequest(Rpc::RemoteRpcServer*, std::vector<char>&, std::vector<char>&, bool, bool&): Connecting to server 172.31.2.193 on port 9126 timed out.
07/30/18 09:22:00.796 Removing server. Server has to send "init" again.
07/30/18 09:26:19.448 Warning: Connection to client number 3234 closed (3).
07/30/18 09:29:01.375 Warning: Connection to client number 3257 closed (1).
07/30/18 09:31:46.802 Error in file RPC/RpcClient.cpp line 474 in function void Rpc::RpcClient::sendRequest(Rpc::RemoteRpcServer*, std::vector<char>&, std::vector<char>&, bool, bool&): Connecting to server 172.31.2.193 on port 9126 timed out.
07/30/18 09:31:46.804 Removing server. Server has to send "init" again.
07/30/18 09:38:03.414 Error in file RPC/RpcClient.cpp line 474 in function void Rpc::RpcClient::sendRequest(Rpc::RemoteRpcServer*, std::vector<char>&, std::vector<char>&, bool, bool&): Connecting to server 172.31.2.193 on port 9126 timed out.
07/30/18 09:38:03.424 Removing server. Server has to send "init" again.
07/30/18 09:42:49.178 Warning: Connection to client number 3387 closed (1).
07/30/18 09:58:06.648 Error in file RPC/RpcClient.cpp line 474 in function void Rpc::RpcClient::sendRequest(Rpc::RemoteRpcServer*, std::vector<char>&, std::vector<char>&, bool, bool&): Connecting to server 172.31.2.193 on port 9126 timed out.
07/30/18 09:58:06.662 Removing server. Server has to send "init" again.

Hallo @s4ndst0rm,

könntest du noch einmal ein Log auf Loglevel 4 posten? Ist OpenHAB denn unter 172.31.2.193:9126 erreichbar? Connecting ... timed out hört sich nämlich so an, als sei das zumindest zeitweise nicht der Fall?

Viele Grüße

Sathya

Hi Sathya,

du hattest recht!
Ich habe die WindowsFirewall nicht so konfiguriert, dass der Docker Container zu Openhab durch gekommen ist.

Danke für die Hilfe!

1 Like