Take the risk or lose the chance!


When you try to start a service using Gemfire/Geode, you may get following error:

WARN 30684 --- [Timer-DEFAULT-3] o.a.g.c.c.i.ConnectionFactoryImpl        : Could not create a new connection to server:<v1>:41001(version:GEODE 1.12.1)
refused connection: Peer or client version with ordinal 125 not supported. Highest known version is 1.12.1 Client: /


Dive into the error stack trace, this error is server rejected handshake request from client, the reply is refused code 60. As per checking Gemfire code, it defined as below

protected static final byte REPLY_REFUSED = (byte) 60;

Ultimate solution

Firstly, remove all open source geode library with pivotal one Remove all geode/gemfire dependencies if you’d want a clean start.

Then including geode-core from pivotal as below


Moreover, to include spring-data-geode  or spring-data-gemfire which provide `GemfireTemplate` classes. E.g. following dependencies into your pom.xml as well

Bottom line is use spring-data-geode in version 2.3.X (rather than 2.5.x)

One of the reason to lead to unexpected spring-data-geode 2.5.x is using higher version of Spring boot. So as below

    <!--        <version>2.5.3</version>-->