Обсуждение: Info on error `Connection to client lost`

Поиск
Список
Период
Сортировка

Info on error `Connection to client lost`

От
mahendrakar s
Дата:
Hi Pg team,

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.

Thanks in advance.

Thanks,
Mahendrakar.

Re: Info on error `Connection to client lost`

От
Larry Rosenman
Дата:

On 06/13/2022 12:27 pm, mahendrakar s wrote:

Hi Pg team,
 
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.
 
Thanks in advance.
 
Thanks,
Mahendrakar.

Network connection dies due to network failure......

-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 214-642-9640                 E-Mail: ler@lerctr.org
US Mail: 5708 Sabbia Dr, Round Rock, TX 78665-2106

Re: Info on error `Connection to client lost`

От
Bzzzz
Дата:
On Mon, 13 Jun 2022 22:57:32 +0530
mahendrakar s <mahendrakarforpg@gmail.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