79766302

Date: 2025-09-16 13:52:06
Score: 1
Natty:
Report link

I got the following error in Nifi (Basically a Spring Boot Java application underneath):

Caused by: java.sql.SQLException: Cannot create PoolableConnectionFactory (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.)

Caused by: org.postgresql.util.PSQLException: 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.

Upgrading the PostgreSQL JDBC driver used (in the workflow) to connect to my PostgreSQL database resolves the error.

Since this isn't specifically for Rust, updating the PostgreSQL JDBC driver is applicable for different types of projects.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: fons-000