pgjdbc/pgjdbc GitHub issues and pull requests (mirror)  
help / color / mirror / Atom feed
From: jgangemi (@jgangemi) <[email protected]>
To: pgjdbc/pgjdbc <[email protected]>
Subject: Re: [pgjdbc/pgjdbc] issue #975: Version from 42.1.0 can't connect to 127.0.0.1 with System SOCKS proxy
Date: Thu, 05 Oct 2017 16:51:49 +0000
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>

i get what's trying to be accomplished here but i'm not sure how to easily fix it. i believe part of the problem is that the `socksNonProxyHosts` system property is not being taken into account. the code just checks to see if a proxy is in use and if so, immediately defer.

maybe the lookup could be deferred and if fails to resolve via the proxy it could be tried locally or vice versa.

one way i've worked around this is to just create entries in my local `/etc/hosts` files for the remote systems that need to be resolved. i realize that won't work for everyone but might help some. 

view thread (30+ 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] issue #975: Version from 42.1.0 can't connect to 127.0.0.1 with System SOCKS proxy
  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