Re: streaming replication: could not receive data from client: Connection reset by peer - Mailing list pgsql-general

From Albe Laurenz
Subject Re: streaming replication: could not receive data from client: Connection reset by peer
Date
Msg-id A737B7A37273E048B164557ADEF4A58B17C509DF@ntex2010i.host.magwien.gv.at
Whole thread Raw
In response to Re: streaming replication: could not receive data from client: Connection reset by peer  (Anson Abraham <anson.abraham@gmail.com>)
List pgsql-general
Anson Abraham wrote:
> No client connecting to the slave.  It's just streamed replication for HA.  This occurs when the slave
> starts immediately.  SSL is used.  And as I mentioned the libraries are identical on both slave and
> master.  Interestingly, another slave that replicates from master does not have this issue.  The one
> difference between the two slaves, the slave w/ the message is a VM.  But other master dbs i have w/
> slaves (that are VMs) and have no issues.  So it's kind of odd, that this message occurs.

So, right when the slave starts, you get the message in the log, right?

Is there anything else in the log?

Is there anything in the master's log around that time?
Try to set log_connections=on and log_disconnections=on, then you
should at least see when the slave connects.

Could there be a firewall or something that filters or disconnects sessions?

Yours,
Laurenz Albe

pgsql-general by date:

Previous
From: Rémi Cura
Date:
Subject: Re: Count of records in a row
Next
From: Rémi Cura
Date:
Subject: Re: [postgis-users] Error with "return query" ( "return next" working ) with custom type