GemFire client applications continue to report warnings like the following even after a server node (e.g., serverX) is removed from the cluster:
WARN [org.apache.geode.cache.client.internal.ConnectionFactoryImpl] node1 poolTimer-DEFAULT - Could not connect to serverX java.net.SocketTimeoutException: connect timed out
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
All supported GemFire Versions
This warning occurs because the GemFire client is still attempting to connect to serverX, which has already been removed from the cluster. The root causes commonly include outdated client pools, obsolete locator configurations, stale DNS entries, or application logic retaining legacy endpoints.
This is a known issue and will be resolved in a future release of Tanzu GemFire. Subscribe to this article to receive updates. Before the fix is available, follow the steps below to resolve persistent socket timeout errors after a server is removed: