Thanks koszti for providing this great extension.
My snowflake is enabled with SSO. When I try to use Browser Based SSO, I'm getting below error. Has anyone used this option successfully.
[1616122522595] INFO (ext): EXECUTING COMMAND => sqltools.selectConnection
[1616122522596] INFO (ext): EXECUTING COMMAND => sqltools.getConnections
[1616122522596] INFO (ls): REQUEST RECEIVED => connection/GetConnectionsRequest
[1616122522597] INFO (ext): EXECUTING COMMAND => sqltools.getConnections
[1616122522597] INFO (ls): REQUEST RECEIVED => connection/GetConnectionsRequest
[1616122522598] INFO (ls): REQUEST RECEIVED => connection/ConnectRequest
[1616122522598] INFO (ls): Connection instance created for Snowflake.
ns: "conn-manager"
(node:12568) UnhandledPromiseRejectionWarning: Error: getaddrinfo ENOTFOUND https
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:66:26)
(node:12568) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 12)
Thanks koszti for providing this great extension. My snowflake is enabled with SSO. When I try to use Browser Based SSO, I'm getting below error. Has anyone used this option successfully.
Below my connection details:
Connection name: Test-Connection Connection Group Test-Group Account: https://xxx-southeast-2.snowflakecomputing.com Authenticator - Browser Based SSO Username - email@domain.com Database- Default database Warehouse - Valid warehouse
[1616122522595] INFO (ext): EXECUTING COMMAND => sqltools.selectConnection [1616122522596] INFO (ext): EXECUTING COMMAND => sqltools.getConnections [1616122522596] INFO (ls): REQUEST RECEIVED => connection/GetConnectionsRequest [1616122522597] INFO (ext): EXECUTING COMMAND => sqltools.getConnections [1616122522597] INFO (ls): REQUEST RECEIVED => connection/GetConnectionsRequest [1616122522598] INFO (ls): REQUEST RECEIVED => connection/ConnectRequest [1616122522598] INFO (ls): Connection instance created for Snowflake. ns: "conn-manager" (node:12568) UnhandledPromiseRejectionWarning: Error: getaddrinfo ENOTFOUND https at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:66:26) (node:12568) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag
--unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 12)