pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Paul Davis <paul.joseph.davis@gmail.com>
Cc: Kevin Grittner <Kevin.Grittner@wicourts.gov>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #5804: Connection aborted after many queries.
Date: Wed, 29 Dec 2010 11:27:56 -0500
Message-ID: <12193.1293640076@sss.pgh.pa.us> (raw)
In-Reply-To: <AANLkTinTL909UdO8BqmcerOtSDC5K5R4cU-a39vJ0mqX@mail.gmail.com>
References: <201012291530.oBTFUCd0036612@wwwmaster.postgresql.org>
	<4D1B064E0200002500038D6B@gw.wicourts.gov>
	<AANLkTinTL909UdO8BqmcerOtSDC5K5R4cU-a39vJ0mqX@mail.gmail.com>

Paul Davis <paul.joseph.davis@gmail.com> writes:
> And this intriguing error in the server logs from around that time:

> 2010-12-28 18:40:02 EST LOG:  SSL renegotiation failure
> 2010-12-28 18:40:02 EST LOG:  SSL failed to send renegotiation request
> 2010-12-28 18:40:02 EST LOG:  SSL renegotiation failure
> 2010-12-28 18:40:02 EST LOG:  SSL error: unsafe legacy renegotiation disabled
> 2010-12-28 18:40:02 EST LOG:  could not send data to client:
> Connection reset by peer
> 2010-12-28 18:40:02 EST LOG:  SSL error: unsafe legacy renegotiation disabled
> 2010-12-28 18:40:02 EST LOG:  could not receive data from client:
> Connection reset by peer
> 2010-12-28 18:40:02 EST LOG:  unexpected EOF on client connection

> Googling, I see something that suggests turning off SSL renegotiation
> which I'll try next.

In all cases, you were testing a client against a server on a different
machine, right?  This looks to me like you've got two different openssl
libraries, one of which has a bogus partial fix for the recent SSL
renegotiation security issue.  I'm not sure what the state of play is
in Apple's shipping version of openssl --- you might have to get an
up-to-date source distribution and compile it yourself to have non-bogus
renegotiation behavior.  Or you could just disable renegotiation on the
PG server.

			regards, tom lane



view thread (7+ messages)  latest in thread

Message-ID: <12193.1293640076@sss.pgh.pa.us>
Permalink:  ../12193.1293640076@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/12193.1293640076@sss.pgh.pa.us

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, paul.joseph.davis@gmail.com, Kevin.Grittner@wicourts.gov
  Subject: Re: BUG #5804: Connection aborted after many queries.
  In-Reply-To: <12193.1293640076@sss.pgh.pa.us>
  References: <201012291530.oBTFUCd0036612@wwwmaster.postgresql.org> <4D1B064E0200002500038D6B@gw.wicourts.gov> <AANLkTinTL909UdO8BqmcerOtSDC5K5R4cU-a39vJ0mqX@mail.gmail.com> <12193.1293640076@sss.pgh.pa.us>

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

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