Seeing client sending RST packet after receiving Syn,Ack

We are using community edition 4.5.0.5 and Java Client 4.4.1.

We have set the timeout in ClientPolicy to 10000ms. But I see that the machine is sendingRST packet if the SYN,ACK is delayed upto 1 sec. This is causing the Server to flood with Syn & RST packets.

Attaching one of the streams from WireShark as captured from the client Machine

Which timeout value are you setting? The socketTimeout or totalTimeout?

https://www.aerospike.com/apidocs/java/com/aerospike/client/policy/Policy.html

In that case, total (default unlimited) or socket (default 30s), either way, socketTimeout will get set to 10 sec. This may have nothing to do with Aerospike. Explore some ideas here: https://stackoverflow.com/questions/251243/what-causes-a-tcp-ip-reset-rst-flag-to-be-sent

© 2015 Copyright Aerospike, Inc. | All rights reserved. Creators of the Aerospike Database.