Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t5qZ8-008xfp-UY for pgsql-general@arkaria.postgresql.org; Tue, 29 Oct 2024 18:03:39 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1t5qZ7-001Qfg-5J for pgsql-general@arkaria.postgresql.org; Tue, 29 Oct 2024 18:03:37 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t5qZ6-001QfX-8P for pgsql-general@lists.postgresql.org; Tue, 29 Oct 2024 18:03:37 +0000 Received: from fout-a5-smtp.messagingengine.com ([103.168.172.148]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t5qZ3-003UO3-GF for pgsql-general@lists.postgresql.org; Tue, 29 Oct 2024 18:03:35 +0000 Received: from phl-compute-12.internal (phl-compute-12.phl.internal [10.202.2.52]) by mailfout.phl.internal (Postfix) with ESMTP id BB0F513801AA; Tue, 29 Oct 2024 14:03:32 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-12.internal (MEProxy); Tue, 29 Oct 2024 14:03:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1730225012; x=1730311412; bh=HMcizuOvU2cQPKh46BGfEtem+b7Gr4bYEGYayky0PSI=; b= ScNnraOnff3/835ZXwL3kd25kRYcuYmORWn+WLNOuYM0qddg9tv7xiJgdpgSbfYx 1MWASz8y41TRpXUjuuaNk5cnda/mRfIMzgXGVcVNehP4ecy0pnrkZVDKDk/df3Je mbvyMYjbf2Sxm84BdW1FLl9DPFxjAzeMIB9RRNAeGhFnQ5IH8wu6zM+yiyfIcjtI Xuy+H+fCmtBrcznfujDLxOQ8aQDkCMVfUDJmAw0lwov4COg0zhN3WvTffsyhCL+Y YEx/stz8pWobj3jCwfW5KYe9v/21F89Idjr/R4/cXTdL4CnBO9sc6RTRHCvr7S7/ DemHNyYQfh6n4JG+xDBHtw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; t=1730225012; x=1730311412; bh=H McizuOvU2cQPKh46BGfEtem+b7Gr4bYEGYayky0PSI=; b=VSaD+5esXhd5LGVQR PNK3ipDFcqS5RyxzaqnCITfEKjX4opNyz2HvNbRO/6zEMTyqbtBp46+sEWCeWlNn 7kI0D5ykff89ryWhtVgLfDRwAEtHYIOGtnrpFqCWQUEEJKBlt2DsecszjGW7nceD C4vIWsRcdHYe4d3Q3gwrZr9fgEtLRtPgZnQXep/7WRKe71crLGTbeZQy4i8tgxFm 1FnW868mE8i3p2g/7yYdon0Hq7WYTeiPryNu3lyG0veSHvOKbxgmRxTl+IIrLCZ1 9dERxcjvNJkoA1kWacDX/xnEizxqcQnbLkS4y8TarE4yE31hhJ3S/DcMdceaqLK+ f5ROQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvdekuddguddtfecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivg hnthhsucdlqddutddtmdenucfjughrpefkffggfgfuvfhfhfgjtgfgsehtjeertddtvdej necuhfhrohhmpeetughrihgrnhcumfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrh esrghklhgrvhgvrhdrtghomheqnecuggftrfgrthhtvghrnhepiedvhfeiheehgeeuieel jeeitedtjeehudegfeelkedvleekhedtgfeiffefkedunecuvehluhhsthgvrhfuihiivg eptdenucfrrghrrghmpehmrghilhhfrhhomheprggurhhirghnrdhklhgrvhgvrhesrghk lhgrvhgvrhdrtghomhdpnhgspghrtghpthhtohepvddpmhhouggvpehsmhhtphhouhhtpd hrtghpthhtohepuggrnhhivghlrdifvghsthgvrhhmrghnnhesuggsihdqshgvrhhvihgt vghsrdgtohhmpdhrtghpthhtohepphhgshhqlhdqghgvnhgvrhgrlheslhhishhtshdrph hoshhtghhrvghsqhhlrdhorhhg X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 29 Oct 2024 14:03:31 -0400 (EDT) Message-ID: <35c0f4a6-312d-436d-a761-934edfd48ac4@aklaver.com> Date: Tue, 29 Oct 2024 11:03:30 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Delays between "connection received" and "connection authenticated" because of localhost entries in hba To: "Daniel Westermann (DWE)" , "pgsql-general@lists.postgresql.org" References: <792f687d-5188-4beb-b94b-3d3edeb384a3@aklaver.com> Content-Language: en-US From: Adrian Klaver In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 10/29/24 10:42 AM, Daniel Westermann (DWE) wrote: >> 1) host=xx.xx.xx.100 = localhost? > > No, it is not Is the localhost machine on the same network? Is the client connection string using IPV4 address or host name? > >> 2) In postgresql.conf what is listen_addresses set to? > > * > >> 3) What are the settings in /etc/hosts? > > Standard Ubuntu settings: > > 127.0.0.1 localhost > 127.0.1.1 abc cde > > # The following lines are desirable for IPv6 capable hosts > ::1 localhost ip6-localhost ip6-loopback > ff02::1 ip6-allnodes > ff02::2 ip6-allrouters Contents of resolv.conf? Would it be possible to crank the logging detail up? > > Regards > Daniel -- Adrian Klaver adrian.klaver@aklaver.com