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 1mZfGD-0007kN-Va for pgsql-general@arkaria.postgresql.org; Sun, 10 Oct 2021 20:17:29 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mZfGC-0001iN-Be for pgsql-general@arkaria.postgresql.org; Sun, 10 Oct 2021 20:17:28 +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 1mZfGC-0001iE-2d for pgsql-general@lists.postgresql.org; Sun, 10 Oct 2021 20:17:28 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mZfG9-0002xH-Ts for pgsql-general@lists.postgresql.org; Sun, 10 Oct 2021 20:17:27 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 6702C5C00B2; Sun, 10 Oct 2021 16:17:25 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sun, 10 Oct 2021 16:17:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= message-id:date:mime-version:subject:to:references:from :in-reply-to:content-type:content-transfer-encoding; s=fm1; bh=e 0tKHG6u5O3vDCBBG6kerv6CnjZkxM2mc0dlp6FFPpY=; b=BWmUhBOhbtZSKQY4L CmCWn/32eMxHsz0QjvHYk48riZqQ2iHCR39IbuMLj96pTYMbEweauBaDNXQx3ER3 Oqj99RiwXAAPyflz/qgh9UjtdHiTz5ViaChe26InkiAoroPPbs0nPYBpQ9Cpd+zT HIaUsLxo9FmqFDk4DWmYRqtu2A4DPcynPN0VkXhxQwn0nG1jnYuHrC5E8B342l0w x5GrPn1rP8+1Enz71CSsq18fIOgqGdkKji8aRXxdDetL89dALqKKSs9g20ySSiM6 Cvh2pY+8UuSTkGW0Fpe//gyq7aEk2aYmSRJLCMyAuXy5cP3h9qyWDARAW7/ImIBA NdBlg== 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-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=e0tKHG6u5O3vDCBBG6kerv6CnjZkxM2mc0dlp6FFP pY=; b=CxoJc9hYWm7x4ys8eJVMzJxtB+HogDLb8jkgq68TfJl9XBgLeLcqOTqxV iwhSkxV8XVsAkGVAu4L2sgMpQPKYW81viaqTf/Hrb4EPJj9Bm7ppbjgpHDkLJK+l ILkMtgwULMOWh/GRlBLw1FBG9WGLldrH2ltjOivCU8zUl/0VDN9efyZi/i+b9sdQ 2t1pYastx87P/wTj1MEb0etwhhIgBY/CHdBcdgC0PqOJrqSj+dRHa3TM5bOcZWVw RWtIBbufJvbe/ZnhXwsmCLk5HLm+sRItcAS6dhyDwCKFru0cRf6mzFBRQqfI5clp moisfhrkP0djSDxIjoWGTkZMzWz6w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrvddtgedgudegjecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepkfffgggfuffvfhfhjggtgfesth ekredttdefjeenucfhrhhomheptegurhhirghnucfmlhgrvhgvrhcuoegrughrihgrnhdr khhlrghvvghrsegrkhhlrghvvghrrdgtohhmqeenucggtffrrghtthgvrhhnpeevueetje ejgfdugfeggeeiheeufffhieekveduteetudefheefgedvtedukedvleenucffohhmrghi nheprghmrgiiohhnrdgtohhmnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpe hmrghilhhfrhhomheprggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 10 Oct 2021 16:17:24 -0400 (EDT) Message-ID: Date: Sun, 10 Oct 2021 13:17:23 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 Subject: Re: Error: server closed the connection unexpectedly Content-Language: en-US To: Ron , pgsql-general@lists.postgresql.org References: <4bcbf4b4-747b-5cee-8de4-229852fa8d1b@gmail.com> <122c4f4b-17c5-d0e5-f8a7-c541cfb910d6@aklaver.com> <320d769e-70bb-b78a-d31b-24ff200ae339@gmail.com> <320615.1633893603@sss.pgh.pa.us> <88091b4c-0731-0077-46c7-41b402601878@gmail.com> <322888.1633896020@sss.pgh.pa.us> <5eed73b1-b151-fd20-928a-c44b94f7128f@gmail.com> From: Adrian Klaver In-Reply-To: <5eed73b1-b151-fd20-928a-c44b94f7128f@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 10/10/21 13:06, Ron wrote: > On 10/10/21 3:00 PM, Tom Lane wrote: >> Ron writes: >>> This is AWS RDS Postgresql.  The db server log is accessed via a web >>> interface, and is /the/ postgresql log just like you see in vanilla >>> Postgresql. >>> I've attached it.  My attempt to connect happened some time between >>> between >>> 04:10:30 and 04:17:30. >> Hm.  Not much there.  You might try turning on log_connections to be >> sure, > > I'll do that. > >>   but what this looks like is that the connection request never >> got to the server.  Maybe you've got some middleware involved, like >> pgpool or some other connection pooler? > > If so, it must be something hidden by AWS, because I never installed it. > > The crazy thing is that coworkers with accounts on the same VM can > connect to the instance just fine.  (Yes, we use the exact same command > to connect, as a test.) Are the AWS security groups set up correctly. See here: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Troubleshooting.html#CHAP_Troubleshooting.Connecting > -- Adrian Klaver adrian.klaver@aklaver.com