[JDBC] PSQLException: The server does not support SSL

Поиск
Список
Период
Сортировка
От Alexandre
Тема [JDBC] PSQLException: The server does not support SSL
Дата
Msg-id CAEPSA-fj5hvNkV+dS1ymb_dQk1i+zfgRoP7TvzSCcVQiVcdaeg@mail.gmail.com
обсуждение исходный текст
Список 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 по дате отправления: