ConnectionError [SequelizeConnectionError]: Connection terminated unexpectedly

I have deployed Postgres DB on render and have been facing this error for a long. I am using External URI to connect but still getting this issue.

sequelize = new Sequelize(process.env.POSTGRESS_URL, {
                dialect: "postgres", protocol: "postgres",
                dialectOptions: {
                    app: "psql",
                    ssl: "true"
                },
            });
connection authorized: user=postgres database=postgres application_name=psql SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES256-GCM-SHA384, bits=256)
May 5 01:10:59 PM  [6454b30b.9e455-4] user=postgres,db=postgres,app=psql,client=::1,LOG:  disconnection: session time: 0:00:00.110 user=postgres database=postgres host=::1 port=37618
May 5 01:11:09 PM  [6454b315.9e463-1] user=[unknown],db=[unknown],app=[unknown],client=::1,LOG:  connection received: host=::1 port=57136
May 5 01:11:09 PM  [6454b315.9e463-2] user=postgres,db=postgres,app=[unknown],client=::1,LOG:  connection authenticated: identity="postgres" method=md5 (/pgdata/dpg-ch71mco2qv26p1ajiq7g-a/pg_hba.conf:90)
May 5 01:11:09 PM  [6454b315.9e463-3] user=postgres,db=postgres,app=[unknown],client=::1,LOG:  connection authorized: user=postgres database=postgres application_name=psql SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES256-GCM-SHA384, bits=256)
May 5 01:11:09 PM  [6454b315.9e463-4] user=postgres,db=postgres,app=psql,client=::1,LOG:  disconnection: session time: 0:00:00.007 user=postgres database=postgres host=::1 port=57136

Hi there,

Those look lines look like our Postgres monitoring making sure that the database is accessible and not failed connection attempts from a client,

Regards,

John B

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.