From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Csaba Ragasits <ragasits.csaba@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: pg_basebackup + SSL error: bad length
Date: Mon, 27 Aug 2018 16:40:34 -0700
Message-ID: <f15e7eba-1c7c-485c-36fe-9f29be39b8c6@aklaver.com> (raw)
In-Reply-To: <CANaXbViHwjsJpSscDGoXz2Yu0b-gaW=GPU3phzEBEbgLtRpwew@mail.gmail.com>
References: <CANaXbVhwH83911ZMk_eqnnsuz8ircm1rYwnQV_jPea7pKkExRg@mail.gmail.com>
<bb5017d0-8b69-0f01-6ff5-2ae9daea6a6f@aklaver.com>
<CANaXbViHwjsJpSscDGoXz2Yu0b-gaW=GPU3phzEBEbgLtRpwew@mail.gmail.com>
On 08/27/2018 07:38 AM, Csaba Ragasits wrote:
>
>
> 2018-08-27 16:08 GMT+02:00 Adrian Klaver <adrian.klaver@aklaver.com
> <mailto:adrian.klaver@aklaver.com>>:
>
> Can you connect to node1 using psql with and without SSL?
>
> Where is node1 relative to the machine you are running pg_basebackup
> from?
>
> Just to be clear both Postgres instances are running 10.5, correct?
>
>
>
> Every instances are same (10.5) version, and every servers are in the
> common VMWARE subnet. The psql connection is working fine with sslmode
> or without sslmode.
>
> When I try run it on the localhost (node1), I've same errors too:
> pg_basebackup -P -v -D /tmp/main -h localhost -p 5432 -U repmgr
Hmm.
Is there more then one copy of pg_basebackup on the machines?
Maybe from the Debian repo and the PGDG repo.
>
> Thx,
> Csaba
>
--
Adrian Klaver
adrian.klaver@aklaver.com
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: adrian.klaver@aklaver.com, ragasits.csaba@gmail.com
Subject: Re: pg_basebackup + SSL error: bad length
In-Reply-To: <f15e7eba-1c7c-485c-36fe-9f29be39b8c6@aklaver.com>
References: <CANaXbVhwH83911ZMk_eqnnsuz8ircm1rYwnQV_jPea7pKkExRg@mail.gmail.com> <bb5017d0-8b69-0f01-6ff5-2ae9daea6a6f@aklaver.com> <CANaXbViHwjsJpSscDGoXz2Yu0b-gaW=GPU3phzEBEbgLtRpwew@mail.gmail.com> <f15e7eba-1c7c-485c-36fe-9f29be39b8c6@aklaver.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