Fixed it. It was indeed a wrongly configured IP address!
On 15.06.22 22:29, don.tequ...@gmx.de wrote:
Both server node and thin client are on the same computer, each running in a separate Docker container with network „host“. CPU load does not seem to be an issue and other server nodes on the same computer and from other computers connect to the cluster just fine without such connection issues. I‘ll check the server logs more thoroughly. On 15.06.22 at 21:14, Pavel Tupitsyn wrote: From: "Pavel Tupitsyn" <ptupit...@apache.org> Date: 15. June 2022 To: "user" <user@ignite.apache.org> Cc: Subject: Re: ThinClient connection refused / disconnect Idle timeout is disabled by default. Regarding connection issues, either the server is overloaded and can't accept connections, or there are network issues. 1. Check if the network between client and server is reliable enough (measure speed, check packet loss) 2. Check server logs and resource utilization On Wed, Jun 15, 2022 at 5:47 PM <don.tequ...@gmx.de> wrote: Hi, I'm experiencing a connection issue when using Java ThinClient at the customer site. It is using Ignite 2.13. From time to time it happens that the ThinClient cannot connect at startup and gets a "connection refused". After several tries it connects, but frequently is "loses" connection again and all further attempts to use the ignite client instance lead to connection refused again. Then after some time it connects again. at java.base/sun.nio.ch <http://sun.nio.ch>.SocketChannelImpl.checkConnect(Native Method) at java.base/sun.nio.ch <http://sun.nio.ch>.SocketChannelImpl.finishConnect(SocketChannelImpl.java:774) at java.base/sun.nio.ch <http://sun.nio.ch>.SocketAdaptor.connect(SocketAdaptor.java:120) at org.apache.ignite.internal.client.thin.io.gridnioserver.GridNioClientConnectionMultiplexer.open(GridNioClientConnectionMultiplexer.java:125) ... 25 common frames omitted Suppressed: org.apache.ignite.client.ClientConnectionException: Connection refused ... 26 common frames omitted Caused by: java.net.ConnectException: Connection refused at java.base/sun.nio.ch <http://sun.nio.ch>.SocketChannelImpl.checkConnect(Native Method) at java.base/sun.nio.ch <http://sun.nio.ch>.SocketChannelImpl.finishConnect(SocketChannelImpl.java:774) at java.base/sun.nio.ch <http://sun.nio.ch>.SocketAdaptor.connect(SocketAdaptor.java:120) at org.apache.ignite.internal.client.thin.io.gridnioserver.GridNioClientConnectionMultiplexer.open(GridNioClientConnectionMultiplexer.java:125) I can see there is a idle time out but I'm not setting this. So I assume the default value 0 means that no timeout should happen? https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/configuration/ClientConnectorConfiguration.html#DFLT_IDLE_TIMEOUT Thanks!