pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Jowett <oliver@opencloud.com>
To: me@edblackmore.net
Cc: pgsql-jdbc@postgresql.org
Subject: Re: connection reset error, followed by broken pipe (pg74.213.jdbc3.jar)
Date: Thu, 20 Apr 2006 10:08:32 +0900
Message-ID: <4446DF10.3040509@opencloud.com> (raw)
In-Reply-To: <44467FC6.27310.20B6E57@localhost>
References: <44467FC6.27310.20B6E57@localhost>

Ed Blackmore wrote:
> Hi Markus, 
> 
> Thankyou for your assistance.
> 
> 
>>So it seems that the network connection breaks from time to time
>>Independently from making your application more robust, you might want
>>to put some research into that. 
> 
> 
> Yes, I put a minutely ping script in place, which wasn't able to 
> detect a failure at a time when the connection was lost. The servers 
> are dedicated server (installed and hosted by another company), so 
> I've been trying to detect any outages to report to them.

One common cause of connection loss is if there is a stateful firewall 
or NAT between your client and server .. if the firewall loses the 
connection state for some reason (e.g. if the connection goes idle for a 
while and the firewall times it out, or if the firewall is restarted), 
then the connection will break.

-O



view thread (5+ messages)  latest in thread

Message-ID: <4446DF10.3040509@opencloud.com>
Permalink:  ../4446DF10.3040509@opencloud.com/
Also on:    postgresql.org/message-id/4446DF10.3040509@opencloud.com

 · 

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-jdbc@postgresql.org
  Cc: oliver@opencloud.com, me@edblackmore.net
  Subject: Re: connection reset error, followed by broken pipe (pg74.213.jdbc3.jar)
  In-Reply-To: <4446DF10.3040509@opencloud.com>
  References: <44467FC6.27310.20B6E57@localhost> <4446DF10.3040509@opencloud.com>

* 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