[JDBC] PSQLException: The server does not support SSL - Mailing list pgsql-jdbc

From Alexandre
Subject [JDBC] PSQLException: The server does not support SSL
Date
Msg-id CAEPSA-fj5hvNkV+dS1ymb_dQk1i+zfgRoP7TvzSCcVQiVcdaeg@mail.gmail.com
Whole thread Raw
List pgsql-jdbc
JDBC driver build number: 42
Server version: 9.2
Exact error message and stacktrace: attached

My system runs for 2h and then this exceptions starts and keep happens until I restart the system.

This happens when I getting a connection from the HikariCP Pool:

    public Connection getConnection() throws SQLException
    {
        return ds.getConnection();
    }

I am using this configuration:

  ds = new HikariDataSource();   ds.setMaximumPoolSize(poolSize);   ds.setLeakDetectionThreshold(15000);   ds.setDataSourceClassName("org.postgresql.ds.PGSimpleDataSource");   ds.addDataSourceProperty("serverName", serverAddress);   ds.addDataSourceProperty("databaseName", database);   ds.addDataSourceProperty("user", user);   ds.addDataSourceProperty("portNumber", port);   ds.addDataSourceProperty("password", password);

pgsql-jdbc by date:

Previous
From: Dave Cramer
Date:
Subject: [JDBC] [pgjdbc/pgjdbc] 95a3f4: fix callproc escape documentation thespecificatio...
Next
From: Konstantinos Kougios
Date:
Subject: [JDBC] 42.0.0.jre7, driver logging takes 30-40% of my server's time