Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fuR7k-0006CD-Be for pgsql-general@arkaria.postgresql.org; Mon, 27 Aug 2018 23:40:45 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fuR7i-0006Lt-Hn for pgsql-general@arkaria.postgresql.org; Mon, 27 Aug 2018 23:40:42 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fuR7g-0006Ll-KZ for pgsql-general@lists.postgresql.org; Mon, 27 Aug 2018 23:40:42 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fuR7d-00050X-3J for pgsql-general@lists.postgresql.org; Mon, 27 Aug 2018 23:40:39 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 02ABE21B4C; Mon, 27 Aug 2018 19:40:36 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Mon, 27 Aug 2018 19:40:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=u1e0N3Kjpmd+smJlEaLw35Plefngi sIfvX67wvEGVzM=; b=06OE+8lQHPS00PwnDzE6RAgG+cKMYDv1DsD2MJVJ4c74q zwESlYOUTGK4WiiDbeSc46wIsFg0xUgGojHvghdYl/5eLVHgfdojIQEF8jOUk0MP QQjarnSsRMVwiisD8Lj6ildiDiPwyb+dGfYzS/HiBmOxL6Jz6SX61JdY+8/8l+pQ Zk+689DtNPSpwgGh+7ZdnERcNC2ePhXm18wcxwCnfrCYy6o6ZVwdKr9VT/DmoQXm 3NLzlrgQjG9G0zG8SitsIDZ8YeTAVcLMFinwf8CnhDdEXiTjXnrKTwdNjhiu19Jc jOJKuIuCFiE8R4P7TGDVHL2ZiE5CvXxxJPDguCzbg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=u1e0N3 Kjpmd+smJlEaLw35PlefngisIfvX67wvEGVzM=; b=O6VdGR4OBV5lC3sBa94BGa NBLvzC9ZYqCCoqAGicorvSyn8EFKRKSU6khEZMdp71ua7yeCSnFW8npDtSTT/Vvj TQq6NWUTlaHjoFBchzaOqlnqcfzZYv41xmqPUo3fL9fb5w6GDPy2ptHtq9jouubw Lmb0+PIr5BmHsTwa2dM/kKVtHdGrjN6wkYpZXP/j/KTSlHpjR3RnTABxwZkhWVT6 imdcp9+bB9Ww/R8AhpCiWZHi7k2mIrj/h+0wW+bDwFcNmufbYfIW+9KJwVWXsaM6 3QGQ59ZOYo56UdqBc9GRA8uUzcvOxKc8FftITdV42BPXq+SVv6t82fAU+0w2fFLg == X-ME-Proxy: X-ME-Sender: Received: from [192.168.1.3] (unknown [71.212.134.3]) by mail.messagingengine.com (Postfix) with ESMTPA id 44C71E405E; Mon, 27 Aug 2018 19:40:35 -0400 (EDT) Subject: Re: pg_basebackup + SSL error: bad length To: Csaba Ragasits , pgsql-general@lists.postgresql.org References: From: Adrian Klaver Message-ID: Date: Mon, 27 Aug 2018 16:40:34 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 08/27/2018 07:38 AM, Csaba Ragasits wrote: > > > 2018-08-27 16:08 GMT+02:00 Adrian Klaver >: > > 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