SNOW-1447051: Unhandled resources after creating a Connection prevents process from terminating #846
Labels
bug
Something isn't working
status-triage_done
Initial triage done, will be further handled by the driver team
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: