aws / amazon-neptune-jdbc-driver

Amazon Neptune JDBC Driver by Amazon Web Services
https://aws.amazon.com/neptune/
Apache License 2.0
23 stars 13 forks source link

[BUG] openCypher and IAM doesn't refresh token #258

Closed er1c closed 4 months ago

er1c commented 5 months ago

Describe the bug

When creating a jdbc connection via: jdbc:neptune:opencypher://bolt://xxxxx.cluster-xxxxxus-east-1.neptune.amazonaws.com:8182;authScheme=IAMSigV4;serviceRegion=us-east-1

If you

Steps to Reproduce

image

Expected behavior

For use in a connection pool, I would expect to be able and re-use a connection for more than 5 minutes.

Cole-Greer commented 5 months ago

Hi @er1c, no token refreshing used to be a limitation of the bolt driver which is used under the hood. This limitation has since been addressed in v5.14, however neo4j-java-driver requires min java 17, where we are still supporting java 8.

Cole-Greer commented 4 months ago

This issue has been fixed in #259.