question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

org.postgresql.util.PSQLException: 10 Authentication is not supported. (scram-sha-256)

See original GitHub issue

DBeaver: 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:closed
  • Created 6 years ago
  • Comments:6

github_iconTop GitHub Comments

6reactions
ulfedfcommented, Oct 1, 2018

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.

1reaction
jeffjanescommented, Nov 11, 2020

The indicated patch was accepted years ago. Use DBeaver’s Driver Manager to use/get a newer version of JDBC.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found