Description
If you need urgent assistance then file a case with Snowflake Support.
Otherwise continue here.
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.14.0
- What operating system and processor architecture are you using?
Operating System: Darwin (macOS)
Kernel Version: 23.6.0
Processor Architecture: ARM64
- What version of NodeJS are you using?
(node --version
andnpm --version
)
$ node -v
v22.5.1
$ pnpm -v
9.5.0
-
What are the component versions in the environment (
npm list
)? -
What did you do?
-
Create a connection using
createConnection
with theauthenticator
set toEXTERNALBROWSER
. -
Call
connectAsync
which opens up browser tab. -
Complete authentication flow successfully.
-
Execute simple query (< 3 seconds).
-
Close the connection.
-
Expect program to exit - it does not.
-
What did you expect to see?
Expect program to exit - it does not.
There is an open timer, created here, preventing the program from exiting. The timer is essentially a timeout for the browser authentication. It should be cleared if the authentication was successful.
- Can you collect debug logs?
[WTF Node?] open handles:
- File descriptors: (note: stdio always exists)
- fd 1 (tty) (stdio)
- fd 2 (tty) (stdio)
- Timers:
- (120000 ~ 2 min) (anonymous) @ ./node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/snowflake-sdk/lib/authentication/auth_web.js:181
information.
Activity