Unable to connect to AWS Redshift using psycopg2 when using SHA256 encrypted password - failed: authentication method 13 not supported #1797
Unanswered
rnarayan-lab
asked this question in
Q&A
Replies: 1 comment 1 reply
-
I personally don't know how AWS works and I can't debug it for free. Either someone else might help you with this or you can propose a paid for consultancy. Feel free to reach in private. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
psycopg2 version: 2.9.10 (dt dec pq3 ext lo64)
psycopg2 libpq version: 170005
It works fine with an md5 password encrypt but fails as following with SHA256
Error while connecting to PostgreSQL or executing query: connection to server at "***.us-west-2.redshift.amazonaws.com" (IP), port (port) failed: authentication method 13 not supported
All documentation suggests libpq version 17 definitely supports SCRAM-SHA-256, we have tried both psycopg2-binary and psycopg2 install
what works is redshift connector for the same SHA256 encrypted password, hoping for some insights on how to make this work with psycopg2?
Beta Was this translation helpful? Give feedback.
All reactions