pgjdbc/pgjdbc GitHub issues and pull requests (mirror)  
help / color / mirror / Atom feed
From: cfredri4 (@cfredri4) <[email protected]>
To: pgjdbc/pgjdbc <[email protected]>
Subject: Re: [pgjdbc/pgjdbc] PR #3705: feat: default query timeout property
Date: Thu, 03 Jul 2025 14:09:08 +0000
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>

There is a failing test but it seems unrelated?

```
SslTest STANDARD_OUT
    Configuration file C:\projects\pgjdbc\pgjdbc\..\ssltest.local.properties does not exist. Consider adding it to specify test db host and login
FAILURE   0.0sec, org.postgresql.test.ssl.SslTest > initializationError
    org.postgresql.util.PSQLException: The connection attempt failed.
        at app//org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:385)
        at app//org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:57)
        at app//org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:286)
        at app//org.postgresql.Driver.makeConnection(Driver.java:448)
        at app//org.postgresql.Driver.connect(Driver.java:298)
        at platform/[email protected]/java.sql.DriverManager.getConnection(DriverManager.java:683)
        at platform/[email protected]/java.sql.DriverManager.getConnection(DriverManager.java:191)
        at app//org.postgresql.test.TestUtil.openDB(TestUtil.java:358)
        at app//org.postgresql.test.TestUtil.openPrivilegedDB(TestUtil.java:327)
        at app//org.postgresql.test.TestUtil.openPrivilegedDB(TestUtil.java:318)
        at app//org.postgresql.test.ssl.SslTest.dropRoles(SslTest.java:288)
        Suppressed: org.opentest4j.TestAbortedException: Assumption failed: assumption is not true
            at app//org.postgresql.test.TestUtil.assumeSslTestsEnabled(TestUtil.java:266)
            at app//org.postgresql.test.ssl.SslTest.createRoles(SslTest.java:268)
        Suppressed: org.opentest4j.TestAbortedException: Assumption failed: assumption is not true
            at app//org.postgresql.test.TestUtil.assumeSslTestsEnabled(TestUtil.java:266)
            at app//org.postgresql.test.ssl.SslTest.createRoles(SslTest.java:268)
        Caused by: java.net.SocketTimeoutException: Read timed out
            at java.base/sun.nio.ch.NioSocketImpl.timedRead(NioSocketImpl.java:278)
            at java.base/sun.nio.ch.NioSocketImpl.implRead(NioSocketImpl.java:304)
            at java.base/sun.nio.ch.NioSocketImpl.read(NioSocketImpl.java:346)
            at java.base/sun.nio.ch.NioSocketImpl$1.read(NioSocketImpl.java:796)
            at java.base/java.net.Socket$SocketInputStream.read(Socket.java:1099)
            at org.postgresql.core.VisibleBufferedInputStream.readMore(VisibleBufferedInputStream.java:192)
            at org.postgresql.core.VisibleBufferedInputStream.ensureBytes(VisibleBufferedInputStream.java:159)
            at org.postgresql.core.VisibleBufferedInputStream.ensureBytes(VisibleBufferedInputStream.java:144)
            at org.postgresql.core.VisibleBufferedInputStream.read(VisibleBufferedInputStream.java:76)
            at org.postgresql.core.PGStream.receiveChar(PGStream.java:477)
            at org.postgresql.core.v3.ConnectionFactoryImpl.enableSSL(ConnectionFactoryImpl.java:627)
            at org.postgresql.core.v3.ConnectionFactoryImpl.tryConnect(ConnectionFactoryImpl.java:207)
            at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:289)
            ... 10 more
```

view thread (19+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: github://pgjdbc/pgjdbc
  Cc: [email protected], [email protected]
  Subject: Re: [pgjdbc/pgjdbc] PR #3705: feat: default query timeout property
  In-Reply-To: <<[email protected]>>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox