You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I am using SQL tools in VS Code with PostgreSQL (v 0.5.4) and Redshift (v 0.0.4) drivers.
When a user is created in a Redshift cluster with plain text password, the connection works OK for both drivers.
But, when I create a user with sha256 encrypted password and salt, the connection does not work. It tries to connect and then says Connection terminated.
In the logs, I see following:
Error: Unknown authenticationOk message type 13
at t.Parser.parseAuthenticationResponse (c:\Users\dikle.vscode\extensions\kj.sqltools-driver-redshift-0.0.4\out\ls\plugin.js:2:113122)
at t.Parser.handlePacket (c:\Users\dikle.vscode\extensions\kj.sqltools-driver-redshift-0.0.4\out\ls\plugin.js:2:109877)
at t.Parser.parse (c:\Users\dikle.vscode\extensions\kj.sqltools-driver-redshift-0.0.4\out\ls\plugin.js:2:108689)
at TLSSocket. (c:\Users\dikle.vscode\extensions\kj.sqltools-driver-redshift-0.0.4\out\ls\plugin.js:2:105368)
at TLSSocket.emit (node:events:518:28)
at addChunk (node:internal/streams/readable:561:12)
at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)
at Readable.push (node:internal/streams/readable:392:5)
at TLSWrap.onStreamRead (node:internal/stream_base_commons:191:23)
Same time, i can connect with user creds using ODBC or JDBC drivers, so the user and creds are legit.
Describe the bug
I am using SQL tools in VS Code with PostgreSQL (v 0.5.4) and Redshift (v 0.0.4) drivers.
When a user is created in a Redshift cluster with plain text password, the connection works OK for both drivers.
But, when I create a user with sha256 encrypted password and salt, the connection does not work. It tries to connect and then says Connection terminated.
In the logs, I see following:
Error: Unknown authenticationOk message type 13
at t.Parser.parseAuthenticationResponse (c:\Users\dikle.vscode\extensions\kj.sqltools-driver-redshift-0.0.4\out\ls\plugin.js:2:113122)
at t.Parser.handlePacket (c:\Users\dikle.vscode\extensions\kj.sqltools-driver-redshift-0.0.4\out\ls\plugin.js:2:109877)
at t.Parser.parse (c:\Users\dikle.vscode\extensions\kj.sqltools-driver-redshift-0.0.4\out\ls\plugin.js:2:108689)
at TLSSocket. (c:\Users\dikle.vscode\extensions\kj.sqltools-driver-redshift-0.0.4\out\ls\plugin.js:2:105368)
at TLSSocket.emit (node:events:518:28)
at addChunk (node:internal/streams/readable:561:12)
at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)
at Readable.push (node:internal/streams/readable:392:5)
at TLSWrap.onStreamRead (node:internal/stream_base_commons:191:23)
Same time, i can connect with user creds using ODBC or JDBC drivers, so the user and creds are legit.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Successful connection to the DB.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: