Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sessionExpired errors when using the driver from nodeJS to aura #1134

Open
jroith opened this issue Aug 28, 2023 · 7 comments
Open

sessionExpired errors when using the driver from nodeJS to aura #1134

jroith opened this issue Aug 28, 2023 · 7 comments
Labels

Comments

@jroith
Copy link

jroith commented Aug 28, 2023

I'm still getting random sessionExpires errors when connecting to aura even though I have set the max connection timeout to 9 minutes. Wouldn't it be better if the driver would transparently retry instead of failing? And in any case, why can it not just retry with a different or even a new connection?

Also it would be nice to maintain the connections in the pool more actively to prevent this problem.

@jroith jroith added the bug label Aug 28, 2023
@bigmontz
Copy link
Contributor

Hi @jroith,

we have methods in the driver which internally retries when some cluster failures happens. The methods are:

Are you using these methods? Could you share some code samples?

@bigmontz bigmontz added question and removed bug labels Aug 29, 2023
@jroith
Copy link
Author

jroith commented Aug 29, 2023

This happens from the neo4j GraphQL library and they are using these methods. I will add more logging and try to report more information. Unfortunately the issue is difficult to reproduce and only occurs sometimes.

@bigmontz
Copy link
Contributor

@jroith anything new about this?

@jroith
Copy link
Author

jroith commented Oct 27, 2023

Yes, it's getting worse and feels unpredictable for long-running transactions. I'm currently considering running the community or enterprise version instead of aura.

@bigmontz
Copy link
Contributor

Can you share some logs?

@bigmontz
Copy link
Contributor

@jroith Does the problem persists? Can you share some log?

@jroith
Copy link
Author

jroith commented Jan 31, 2024

Not recently. I have just upgraded to 5.17 and will keep monitoring the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants