-
Notifications
You must be signed in to change notification settings - Fork 133
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
SNOW-1447051: Unhandled resources after creating a Connection prevents process from terminating #846
Comments
hi - thanks for raising this and all the details ! will take a look. |
thank you again for providing the details. The issue reproduces for me too. In my occassion, the process hangs for almost exactly 2 minutes. When attaching
looks like that we might be unnecessarily waiting for For me, the process hung always for ~120s; never for a minute or a longer than 2m period. We're taking a look further into this behaviour. However, you mentioned seeing |
Hello everyone! We are hitting this error as well and wondering if using connection pool instead could work as a workaround? |
best would be to test it, but indeed could possibly help |
might be resolved by #954 |
Please answer these questions before submitting your issue.
In order to accurately debug the issue this information is required. Thanks!
What version of NodeJS driver are you using?
1.10.1
What operating system and processor architecture are you using?
macOS Sonoma 14.4.1
What version of NodeJS are you using?
(
node --version
andnpm --version
)v20.10.0
What are the component versions in the environment (
npm list
)?5.Server version:* E.g. 1.90.1
You may get the server version by running a query:
Boilerplate app:
Running this code, you can see that the process hangs at the very end.
I'm also destroying the connection (although I shouldn't need to do it), but the result is still the same.
After a minute or so my process actually terminates, but this sometimes doesn't happen in Production. The hang may last for hours or forever (for all I know).
Using a tool like why-is-node-running shoes multiple handles referring the snowflake-sdk and its axios usage.
What did you expect to see?
I would expect the process to terminate.
Can you set logging to DEBUG and collect the logs?
CALL POST with timeout 90000: .../login-request?requestId=...
CALL POST with timeout 90000: .../delete=true?requestId=...
What is your Snowflake account identifier, if any? (Optional)
The text was updated successfully, but these errors were encountered: