Gremlin driver setup for Amazon Neptune behind a Load balancer

Hi folks,

I've been running into issues connecting to Amazon Neptune behind an HAProxy as detailed on https://aws-samples.github.io/aws-dbs-refarch-graph/src/connecting-using-a-load-balancer/ (2nd option)
The issue is to do with sending subsequent queries via a graph traversal source where it appears to cause NoHostAvailableExceptions frequently. The interesting part here is that this only happens when a Graph traversal source is reused.
I'm using Gremlin driver 3.7.0 in Java.
Are there any specific configurations that should be used when creating the Cluster/Client/Graph traversal source when connecting to a load balancer?
aws-dbs-refarch-graph
Reference Architectures for Graph Databases on AWS
Was this page helpful?