Re: Info on error `Connection to client lost`

From: Bzzzz <lazyvirus(at)gmx(dot)com>
To: pgsql-novice(at)lists(dot)postgresql(dot)org
Subject: Re: Info on error `Connection to client lost`
Date: 2022-06-13 17:47:53
Message-ID: 20220613194753.7fac66d1@msi.defcon1.lan
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

On Mon, 13 Jun 2022 22:57:32 +0530
mahendrakar s <mahendrakarforpg(at)gmail(dot)com> wrote:

Hi,

> What are the scenarios under which we see `FATAL: Connection to client
> lost`.
> One case I could think of is client application closes connection
> abruptly incase of exceptions(for example: column x is not found).
> Can you please share what could be other scenarios we see this error.

As Larry said, the most probable cause is a network problem.

The driver could also have a short default timeout, but it is
difficult to say more, as you did not provide with any context, such
as, does it take place on the same machine or is it a machine to
machine link, which language was used to write the app, which driver is
in use, etc.

Jean-Yves

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message BeeRich Lists 2022-07-04 01:06:33 psql: error: could not connect to server: Connection refused
Previous Message Larry Rosenman 2022-06-13 17:37:58 Re: Info on error `Connection to client lost`