pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Ron <ronljohnsonjr@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Error: server closed the connection unexpectedly
Date: Sun, 10 Oct 2021 13:17:23 -0700
Message-ID: <ed3e5239-2312-80c3-b5cc-1e596a1ae9e6@aklaver.com> (raw)
In-Reply-To: <5eed73b1-b151-fd20-928a-c44b94f7128f@gmail.com>
References: <CANnUUWLrWmLi+YFfjkt5KN3brBCtKaAAQ7tGKYP3SedW7+VFQg@mail.gmail.com>
	<cbd0c999-f05b-d03e-5195-1479e0001af6@aklaver.com>
	<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>

On 10/10/21 13:06, Ron wrote:
> On 10/10/21 3:00 PM, Tom Lane wrote:
>> Ron <ronljohnsonjr@gmail.com> 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_Troubleshootin...

> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com





view thread (22+ messages)  latest in thread

Message-ID: <ed3e5239-2312-80c3-b5cc-1e596a1ae9e6@aklaver.com>
Permalink:  ../ed3e5239-2312-80c3-b5cc-1e596a1ae9e6@aklaver.com/
Also on:    postgresql.org/message-id/ed3e5239-2312-80c3-b5cc-1e596a1ae9e6@aklaver.com

 · 

reply

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, ronljohnsonjr@gmail.com
  Subject: Re: Error: server closed the connection unexpectedly
  In-Reply-To: <ed3e5239-2312-80c3-b5cc-1e596a1ae9e6@aklaver.com>
  References: <CANnUUWLrWmLi+YFfjkt5KN3brBCtKaAAQ7tGKYP3SedW7+VFQg@mail.gmail.com> <cbd0c999-f05b-d03e-5195-1479e0001af6@aklaver.com> <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> <ed3e5239-2312-80c3-b5cc-1e596a1ae9e6@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