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
Not able connect to postgres server configured with scram-sha-256 authentication #768
Comments
Thanks for opening a new issue. The team has been notified and will review it as soon as possible. |
Looks like a very old issue in the underlying driver, see #1508. It was fixed awhile ago. Update to the latest version of |
@manojbsw Have you updated to the latest version? It should have been fixed by now.
Why does it look like that? The support for that encoding isn't it in pg-promise, it is in the underlying driver, which was patched for that awhile ago. Update the library, and then update the question. |
I'm not expecting any traction on this presently, and since it is a non-issue within this library, closing it, at least for now. |
i updated pg-promise but I am still getting the same error |
Sometimes update doesn't go through well. Check |
Sorry, best is to delete what? |
Expected behavior
pg-promise client must connect to posgres server configured with scram-sha-256 authentication method
Actual behavior
Getting below error while connecting.
2020-12-16 12:40:47.622 - error: uncaughtException: Unknown authenticationOk message typeMessage { name: 'authenticationOk', length: 23 }
Error: Unknown authenticationOk message typeMessage { name: 'authenticationOk', length: 23 } ��� at Connection.parseR (/opt/<some_path>/node_modules/pg/lib/connection.js:442:9)
��� at Connection.parseMessage (/opt/<some_path>/node_modules/pg/lib/connection.js:358:19)
��� at Socket. (/opt/<some_path>/node_modules/pg/lib/connection.js:119:22)
Steps to reproduce
Environment
The text was updated successfully, but these errors were encountered: