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 1kuOEH-0000v3-Gg for pgsql-admin@arkaria.postgresql.org; Tue, 29 Dec 2020 23:16:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kuOEF-0000Q9-QR for pgsql-admin@arkaria.postgresql.org; Tue, 29 Dec 2020 23:16:35 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kuOEF-0000Q2-D9 for pgsql-admin@lists.postgresql.org; Tue, 29 Dec 2020 23:16:35 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kuOE9-0004Ra-9j for pgsql-admin@postgresql.org; Tue, 29 Dec 2020 23:16:34 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 0BTNGRCC2241240; Tue, 29 Dec 2020 18:16:27 -0500 From: Tom Lane To: Deepak tyagi cc: pgsql-admin@postgresql.org Subject: Re: Patroni issue In-reply-to: References: Comments: In-reply-to Deepak tyagi message dated "Wed, 30 Dec 2020 04:29:59 +0530" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2241238.1609283787.1@sss.pgh.pa.us> Date: Tue, 29 Dec 2020 18:16:27 -0500 Message-ID: <2241239.1609283787@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Deepak tyagi writes: > I am getting below highlighted issue while starting the patroni, so i need > an advice, how to resolve it? I know zero about Patroni, but I can't help noticing that this: > Dec 29 17:34:55 patroni[9658]: 2020-12-29 17:34:55,744 ERROR: Failed to > get list of machines from http://localhost:80/v2: MaxRetry> suggests that patroni is trying to contact a server on port 80, while this: > Dec 29 17:01:58 vtststmost3 etcd[10826]: serving insecure client requests > on 127.0.0.1:2379, this is strongly discouraged! suggests that the server is listening on port 2379. So it'd seem that one or the other is misconfigured. In any case, this problem has got basically nothing to do with Postgres. Try asking in a patroni-related forum. regards, tom lane