Global Cache ITach IR Connection Reset

Tags: #<Tag:0x00007f6188da4418>

Global Cache binding looses connection every 1 minute
Connection reset error

2020-10-17 19:50:13.456 [DEBUG] [GlobalCacheHandler$ConnectionManager] - Connecting to command port for thing itachIR:d51a5758 at IP 192.168.1.167

2020-10-17 19:50:13.463 [INFO ] [GlobalCacheHandler$ConnectionManager] - Got a connection to command port for thing itachIR:d51a5758 at 192.168.1.167

2020-10-17 19:50:13.466 [DEBUG] [.internal.handler.GlobalCacheHandler] - Changing status of itachIR:d51a5758 from OFFLINE(COMMUNICATION_ERROR) to ONLINE

2020-10-17 19:50:13.475 [DEBUG] [.GlobalCacheHandler$CommandProcessor] - Transaction ‘getversion’ for thing itachIR:d51a5758 at 192.168.1.167 took 3 ms

==> /var/log/openhab2/events.log <==

2020-10-17 19:50:13.474 [hingStatusInfoChangedEvent] - ‘globalcache:itachIR:d51a5758’ changed from OFFLINE (COMMUNICATION_ERROR): ERROR: Socket closed to ONLINE

==> /var/log/openhab2/openhab.log <==

2020-10-17 19:51:13.480 [ERROR] [.GlobalCacheHandler$CommandProcessor] - Comm error for thing itachIR:d51a5758 at 192.168.1.167: Connection reset

2020-10-17 19:51:13.484 [DEBUG] [.internal.handler.GlobalCacheHandler] - Changing status of itachIR:d51a5758 from ONLINE(NONE) to OFFLINE(COMMUNICATION_ERROR)

2020-10-17 19:51:13.488 [DEBUG] [GlobalCacheHandler$ConnectionManager] - Disconnecting from command port for thing itachIR:d51a5758 at IP 192.168.1.167

2020-10-17 19:51:13.491 [DEBUG] [GlobalCacheHandler$ConnectionManager] - Connection check failed for thing itachIR:d51a5758 at IP 192.168.1.167

==> /var/log/openhab2/events.log <==

2020-10-17 19:51:13.493 [hingStatusInfoChangedEvent] - ‘globalcache:itachIR:d51a5758’ changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): ERROR: Connection reset

IR commands are sent only when binding is online.But every 1 minute the binding gets offline.

The binding opens a permanent TCP connection to the iTach. If the connection is dropped for some reason, the binding will try to reconnect. Sorry, but I don’t know what could cause the connection between the binding and the iTach to be lost.