Thread

  1. Info on error `Connection to client lost`

    mahendrakar s <mahendrakarforpg@gmail.com> — 2022-06-13T17:27:32Z

    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.
    
  2. Re: Info on error `Connection to client lost`

    Larry Rosenman <ler@lerctr.org> — 2022-06-13T17:37:58Z

    
    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
  3. Re: Info on error `Connection to client lost`

    Bzzzz <lazyvirus@gmx.com> — 2022-06-13T17:47:53Z

    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