We are new to Neo4j Aura. And we are facing below problem from time to time in our servers. we tried with differrent configurations, but still no luck. Any help/clue to solve this issue is highly appreciated.
org.neo4j.bolt.connection.exception.BoltServiceUnavailableException: Connection to the database terminated. Please ensure that your database is listening on the correct host and port and that you have compatible encryption settings both on the Neo4j server and driver. Note that the default encryption setting has changed in Neo4j 4.0.
Our project details:
Spring version:- Spring boot 3.4.5 with spring-boot-starter-data-neo4j
application.yml:-
neo4j:
uri: ${GC3.NEO4J.DB_URI}
authentication:
username: ${GC3.NEO4J.DB_USER}
password: ${GC3.NEO4J.DB_PASSWORD}
pool:
max-connection-pool-size: 40
idle-time-before-connection-test: 30s
connection-liveness-check-timeout: 5s
connection-acquisition-timeout: 60s
encrypted: true
FYI:- We are connecting to both Neo4J & MongoDB from the same service
