org.postgresql.util.PSQLException: 10 Authentication is not supported. (scram-sha-256)
See original GitHub issueDBeaver: 4.1.13
Description:
Trying to connect to one PostgreSQL 10 version database set with scram-sha-256 authentication using DBeaver, but getting the following error:
org.postgresql.util.PSQLException: 10 Authentication is not supported. Check you have setup pg_hba..conf ...
The same connection works fine if database authentication is set to md5 (or others authentication types).
So, DBeaver seems to not work with new PostgreSQL 10 scram-sha-256 authentification.
Is there any plan to allow DBeaver to work with scram-sha-256 PostgreSQL 10 authentication mode ?If yes any idea when it will be available ?
Many thanks for yoru help. Best Regards, Jean-Pierre
Issue Analytics
- State:
- Created 6 years ago
- Comments:6
Top Results From Across the Web
Unable to connect to Postgres DB due to the authentication ...
conf is just a workaround and the real solution is to upgrade the JDBC driver version to one that supports scram-sha-256 . E.g....
Read more >org.postgresql.util.PSQLException: The authentication type 10 ...
Unexpected error during ThingsBoard installation! org.postgresql.util.PSQLException: The authentication type 10 is not supported. Check that you have configured ...
Read more >Documentation: 10: 20.3. Authentication Methods - PostgreSQL
This documentation is for an unsupported version of PostgreSQL. ... The method scram-sha-256 performs SCRAM-SHA-256 authentication, as described in RFC 7677 ...
Read more >Supported authentication types for postgres jdbc driver - Ignition
My connection to PostgreSQL database (v13.1) is faulted and the error message is: ... Does the pg jdbc driver not support scram-sha-256?
Read more >Java – Unable to connect to Postgres DB due to the ... - iTecNote
org.postgresql.util.PSQLException: The authentication type 10 is not supported. Check that you have configured the pg_hba.conf file to
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Any updates on this closed case, can se that other jdbc driven tools supports scram-sha-256 but i can’t get dbeaver to work with password encryption scram-sha-256. It’s works fine with MD5.
Im using dbeaver 5.2.1
Error message: The authentication type 10 is not supported. Check that you have configured the pg_hba.conf file to include the client’s IP address or subnet, and that it is using an authentication scheme supported by the driver.
The indicated patch was accepted years ago. Use DBeaver’s Driver Manager to use/get a newer version of JDBC.