From: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
To: jauresfoute@gmail.com
Cc: pgsql-general@lists.postgresql.org
Subject: Re: PostgreSQL 13 - Logical Replication - ERROR: could not receive data from WAL stream: SSL SYSCALL error: EOF detected
Date: Fri, 19 May 2023 13:02:06 +0900 (JST)
Message-ID: <20230519.130206.281496562960133443.horikyota.ntt@gmail.com> (raw)
In-Reply-To: <CAHQ1jfcdVUF9CVUz7snK4ZTAib7UpMNrYZ0QUoz4RPeBLJ8-vQ@mail.gmail.com>
References: <CAHQ1jfcdVUF9CVUz7snK4ZTAib7UpMNrYZ0QUoz4RPeBLJ8-vQ@mail.gmail.com>
At Thu, 18 May 2023 21:00:08 +0100, FOUTE K. Jaurès <jauresfoute@gmail.com> wrote in
> Hello everyone,
>
> I have a replication between PostgreSQL 12 to 13 in the production system.
> Using Ubuntu 18.04 LTS
> We have this error today.
>
>
>
> *2023-05-18 18:34:04.374 WAT [117322] ERROR: could not receive data from
> WAL stream: SSL SYSCALL error: EOF detected
> 2023-05-18 18:34:04.381 WAT [118393] LOG: logical replication apply worker for subscription "inov_transactionnal_table_bertoua_sub_00" has started
> 2023-05-18 18:34:04.423 WAT [1039] LOG: background worker "logical replication worker" (PID 117322) exited with exit code 1
> 2023-05-18 18:47:51.485 WAT [66836] postgres@inov_henrietfreres_v71_00 LOG: could not receive data from client: Connection timed out.*
>
> *Any idea how to solve this?*
According to the message, the SSL-encrypted replication connection got
disconnected unexpectedly. I suppose it is due to the death of the
upstream server or some reasons outside of PostgreSQL. It seems like
the issue had been persisting for a few minutes after that. Other than
the server's death, I doubt some network hardware problems or changes
of firewall or networking setup of the OS. I think it would be good
idea to check for them first.
regards.
--
Kyotaro Horiguchi
NTT Open Source Software Center
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-general@postgresql.org
Cc: horikyota.ntt@gmail.com, jauresfoute@gmail.com
Subject: Re: PostgreSQL 13 - Logical Replication - ERROR: could not receive data from WAL stream: SSL SYSCALL error: EOF detected
In-Reply-To: <20230519.130206.281496562960133443.horikyota.ntt@gmail.com>
References: <CAHQ1jfcdVUF9CVUz7snK4ZTAib7UpMNrYZ0QUoz4RPeBLJ8-vQ@mail.gmail.com> <20230519.130206.281496562960133443.horikyota.ntt@gmail.com>
* 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