pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: postgresql@thomasbache.de
To: pgsql-odbc@postgresql.org
Subject: Trouble connecting through NAT-Router
Date: Fri,  3 Mar 2006 12:32:24 +0100 (CET)
Message-ID: <20060303113224.DCF3E6EC074@mx01.asacom.info> (raw)

I'm facing a strange problem for some time now and still don't know a
fix. The trouble is with clients behind a NAT-Router. I connect with MS
Access 2000 using the 07.03.0200 ODBC driver, PG is running on linux in
version 7.3 and 8.0.1. Now this works fine for an unspecifiable amount
of time (sometimes 2 seconds, sometimes 8 hours). Suddenly the
connection to the database server breaks up - the forms in Access show
#name?, every query returns an exception.
On a really old router I found an option called "TCP Masquerading
Timeout" and playing with it seemed to have an influence on the
phenomenon.

My assumption now is: if the tcp-connection breaks up because the router
doesn't have enough memory for all the connections, the driver does not
reconnect to the database server. Actually this seems quite unrealistic
to me, but what is actually going on?

Thanks for help,
Tom






Message-ID: <20060303113224.DCF3E6EC074@mx01.asacom.info>
Permalink:  ../20060303113224.DCF3E6EC074@mx01.asacom.info/
Also on:    postgresql.org/message-id/20060303113224.DCF3E6EC074@mx01.asacom.info

 · 

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-odbc@postgresql.org
  Cc: postgresql@thomasbache.de
  Subject: Re: Trouble connecting through NAT-Router
  In-Reply-To: <20060303113224.DCF3E6EC074@mx01.asacom.info>
  References: <20060303113224.DCF3E6EC074@mx01.asacom.info>

* 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