Message-ID: From: "davecramer (@davecramer)" To: "pgjdbc/pgjdbc" Date: Wed, 15 Jan 2025 12:21:34 +0000 Subject: Re: [pgjdbc/pgjdbc] issue #975: Version from 42.1.0 can't connect to 127.0.0.1 with System SOCKS proxy In-Reply-To: References: List-Id: X-GitHub-Author-Login: davecramer X-GitHub-Comment-Id: 2592657668 X-GitHub-Comment-Type: issue_comment X-GitHub-Issue: 975 X-GitHub-Repo: pgjdbc/pgjdbc X-GitHub-Type: comment X-GitHub-Url: https://github.com/pgjdbc/pgjdbc/issues/975#issuecomment-2592657668 Content-Type: text/plain; charset=utf-8 I made one change to your code and it ran fine ``` diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 107ea31..5413e06 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1,3 +1,3 @@ spring.application.name=demo spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.data.jdbc.JdbcRepositoriesAutoConfiguration -spring.datasource.url=jdbc:postgresql://localhost:5432/vt +spring.datasource.url=jdbc:postgresql://localhost:5432/test ``` ``` ./gradlew test OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended 2025-01-15T07:19:13.011-05:00 INFO 83909 --- [demo] [ionShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated... 2025-01-15T07:19:13.012-05:00 INFO 83909 --- [demo] [ionShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed. ```