Adjust the timeout barrier so that its more flexible on network delays. It is very important to consider doing that especially when your server application will run in a remote machine. Other than that, avoid whatever causes delays in network.
This exception emerges when a blocking operation of the two, an accept or a read, is blocked for a certain amount of time, called the timeout.
java.net.SocketTimeoutException: Read timed outat java.net.SocketInputStream.socketRead0(Native Method)at java.net.SocketInputStream.read(SocketInputStream.java:150)at java.net.SocketInputStream.read(SocketInputStream.java:121)at java.net.SocketInputStream.read(SocketInputStream.java:107)at com.digitaldan.jomnilinkII.Connection.readBytes(Unknown Source)at com.digitaldan.jomnilinkII.Connection.
(Unknown Source)at org.openhab.binding.omnilink.internal.OmniLinkBinding$OmniConnectionThread.run(OmniLinkBinding.java:358)