X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (mx2.hub.org [200.46.204.254]) by postgresql.org (Postfix) with ESMTP id D23D111F670A for ; Wed, 19 Apr 2006 22:08:42 -0300 (ADT) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Score: -1.645 X-Spam-Level: X-Spam-Status: No, score=-1.645 required=5 tests=[AWL=0.954, BAYES_00=-2.599] Received: from postgresql.org ([200.46.204.71]) by localhost (mx2.hub.org [200.46.204.254]) (amavisd-new, port 10024) with ESMTP id EjymmmqBqi8W for ; Wed, 19 Apr 2006 22:08:36 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from yass.opencloud.co.nz (yass.opencloud.co.nz [131.203.101.226]) by postgresql.org (Postfix) with ESMTP id 91E8C11F65A6 for ; Wed, 19 Apr 2006 22:08:33 -0300 (ADT) Received: from 221x253x225x162.ap221.ftth.ucom.ne.jp ([221.253.225.162] helo=[192.168.1.171]) by yass.opencloud.co.nz with asmtp (TLS-1.0:DHE_RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1FWNep-0005Ab-8u; Thu, 20 Apr 2006 13:08:31 +1200 Message-ID: <4446DF10.3040509@opencloud.com> Date: Thu, 20 Apr 2006 10:08:32 +0900 From: Oliver Jowett User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: me@edblackmore.net CC: pgsql-jdbc@postgresql.org Subject: Re: connection reset error, followed by broken pipe (pg74.213.jdbc3.jar) References: <44467FC6.27310.20B6E57@localhost> In-Reply-To: <44467FC6.27310.20B6E57@localhost> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archive-Number: 200604/135 X-Sequence-Number: 15069 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