Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pzrJm-000759-Lu for pgsql-general@arkaria.postgresql.org; Fri, 19 May 2023 04:02:14 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pzrJl-0005dn-Ht for pgsql-general@arkaria.postgresql.org; Fri, 19 May 2023 04:02:13 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pzrJl-0005de-79 for pgsql-general@lists.postgresql.org; Fri, 19 May 2023 04:02:13 +0000 Received: from mail-pg1-x535.google.com ([2607:f8b0:4864:20::535]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1pzrJi-000ed4-5O for pgsql-general@lists.postgresql.org; Fri, 19 May 2023 04:02:12 +0000 Received: by mail-pg1-x535.google.com with SMTP id 41be03b00d2f7-5346d150972so1451927a12.3 for ; Thu, 18 May 2023 21:02:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684468929; x=1687060929; h=content-transfer-encoding:mime-version:user-agent:references :in-reply-to:from:subject:cc:to:message-id:date:from:to:cc:subject :date:message-id:reply-to; bh=HN2cfdivIFDMHuEFHzs/UFfJrD0+f27JYb/BuBT5FuY=; b=hdUBV7esBPheRTfQDW4KB9W5yGgKn2pMdFmuhqP8BjMqXC0MIwnqTjxKpUFEhlEZFf 0POOwYgM16hgO/Z8Sdt62a9lD7LzT2JT30dZXj/QoNdYRzlFezOqvQTmUSFLt8VMVHId wA/zBDlSQXcG6uhzvNdeJRUtVuXSY9W1vueMPbBJJHN/adXOLf+eaGQdv96iBgDgu7zi qXwgKHOomseLLLg0MkjpikNadKlxl1Ra8DuoAWTxDCce0p5xozRLQFEzzHAYV78f9LD8 qXCSEL9Vtai+gUOf2Ia/sna2Bjvig3Nc1YsCJcDzaBrZZlh/iEy40Akhwx5pG/ZVGA+0 JTJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684468929; x=1687060929; h=content-transfer-encoding:mime-version:user-agent:references :in-reply-to:from:subject:cc:to:message-id:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=HN2cfdivIFDMHuEFHzs/UFfJrD0+f27JYb/BuBT5FuY=; b=eef0a4hryyTe0tH1rdDdLYn2wg0EneACpme8rdZtDF+BffV78JdGElNvCeQKeo8q42 K+ER0GMNusjPUy0fRZSvYAmEka37uRhqmUQ+fGQ3XJz5qZcRQvnc17FSgWOgYtIlVgpB +d1h9uFFQbUI1HT2KXGBltrpluemja6rbEIZFKnPmGPAT5UkWUA/hdF5fT4TYer4ZXQE J+wbQ9eUF8rIiWtz+s4dh3tSk42f/GeKJAdZFeQYx48bqi5Gl0nlG6pN3cS1pIDmIfA5 G6H3ODCIP8zHWgYpExu/ceGoPRVAtqeDl63JPWLa0lZo70d4zowM945ucJvphhEpXT/w Fl5A== X-Gm-Message-State: AC+VfDw576pIRDZEvH9MPg7fdR2MxQ1jlmfcy6obvgfDQIMACHjJCIG9 ZZSTCvRkWXiyNu4fup1Ia6w= X-Google-Smtp-Source: ACHHUZ53D5FcMxuahHahr47UFZy6XfbJWPslnJWVfqs4VdPnVyZ0nmU75NNK5hxW2IFgDH/WebRFAw== X-Received: by 2002:a17:90a:e644:b0:24e:1215:c280 with SMTP id ep4-20020a17090ae64400b0024e1215c280mr753246pjb.45.1684468928769; Thu, 18 May 2023 21:02:08 -0700 (PDT) Received: from localhost (KD036014041111.ppp-bb.dion.ne.jp. [36.14.41.111]) by smtp.gmail.com with ESMTPSA id b8-20020a17090acc0800b00246cc751c6bsm429139pju.46.2023.05.18.21.02.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 May 2023 21:02:08 -0700 (PDT) Date: Fri, 19 May 2023 13:02:06 +0900 (JST) Message-Id: <20230519.130206.281496562960133443.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 From: Kyotaro Horiguchi In-Reply-To: References: User-Agent: Mew version 6.8 on Emacs 27.2 Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk At Thu, 18 May 2023 21:00:08 +0100, FOUTE K. Jaur=E8s wrote in = > Hello everyone, > = > I have a replication between PostgreSQL 12 to 13 in the production sy= stem. > 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 r= eplication worker" (PID 117322) exited with exit code 1 > 2023-05-18 18:47:51.485 WAT [66836] postgres@inov_henrietfreres_v71_0= 0 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