Re: SSL connection failure

From: Maciek Sakrejda <msakrejda(at)truviso(dot)com>
To: David Patricola <david(dot)patricola(at)jefferson(dot)edu>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: SSL connection failure
Date: 2011-03-30 20:55:08
Message-ID: AANLkTimaGkTQeYmh1rivQD+mmh78onvkj6XydYsZCFFa@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

> After restarting java services, I retest the datasource connection
> (jdbc:postgresql://x.x.x.x/main?ssl) and get the fail message
> “org.postgresql.util.PSQLException: The connection attempt failed.” with no
> details in any logs to provide details. The connection works without ssl
> fine.

In addition to Dave's suggetion, have you configured driver-level
logging to check what's going on there? See loglevel connection
parameter and DriverManager.setLogWriter().

---
Maciek Sakrejda | System Architect | Truviso

1065 E. Hillsdale Blvd., Suite 215
Foster City, CA 94404
(650) 242-3500 Main
www.truviso.com

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Oliver Jowett 2011-03-30 21:48:33 Re: JDBC gripe list
Previous Message Dave Cramer 2011-03-30 20:50:22 Re: SSL connection failure