i recently deleted and created a new database and now keep getting a connection terminated error. this might’ve been happening before but the frequency was low enough as it was not a very active site. now that i’m looking to release this officially, i’m having these errors - which seem to be preventing users from signing up.
Jun 21 11:06:21 AM Connection Error: Connection ended unexpectedly
Jun 21 01:08:23 PM Connection Error: Connection ended unexpectedly
i’ve rebuilt and cleared the cache on my node api and it mostly works but i’m getting random disconnects when trying to use my setup. previous to replacing the db, it was working perfectly.
in the database i’m seeing these logs right when trying to create a user. it successfully creates in the db but gives a ERR_BAD_RESPONSE
error.
i replaced the username / db name, which should be obvious
Jun 21 11:06:08 AM [4-1] user=postgres,db=postgres,app=psql,client=::1LOG: disconnection: session time: 0:00:00.099 user=postgres database=postgres host=::1 port=56964
Jun 21 11:06:19 AM [1-1] user=[unknown],db=[unknown],app=[unknown],client=::1LOG: connection received: host=::1 port=57064
Jun 21 11:06:19 AM [2-1] user=postgres,db=postgres,app=[unknown],client=::1LOG: connection authenticated: identity="postgres" method=md5 (/pgdata/dpg-camfmd441ls38dhedjlg-a/pg_hba.conf:10)
Jun 21 11:06:19 AM [3-1] user=postgres,db=postgres,app=[unknown],client=::1LOG: connection authorized: user=postgres database=postgres application_name=psql SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES256-GCM-SHA384, bits=256)
Jun 21 11:06:19 AM [4-1] user=postgres,db=postgres,app=psql,client=::1LOG: disconnection: session time: 0:00:00.008 user=postgres database=postgres host=::1 port=57064
Jun 21 11:06:21 AM [1-1] user=[unknown],db=[unknown],app=[unknown],client=10.204.185.56LOG: connection received: host=10.204.185.56 port=48862
Jun 21 11:06:21 AM [2-1] user={{user}},db={{app_name_db}},app=[unknown],client=10.204.185.56LOG: connection authenticated: identity={{user}} method=md5 (/pgdata/dpg-camfmd441ls38dhedjlg-a/pg_hba.conf:8)
Jun 21 11:06:21 AM [3-1] user={{user}},db={{app_name_db}},app=[unknown],client=10.204.185.56LOG: connection authorized: user={{user}} database={{app_name_db}} SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES256-GCM-SHA384, bits=256)
Jun 21 11:06:28 AM [1-1] user=[unknown],db=[unknown],app=[unknown],client=::1LOG: connection received: host=::1 port=57178
Jun 21 11:06:29 AM [2-1] user=postgres,db=postgres,app=[unknown],client=::1LOG: connection authenticated: identity="postgres" method=md5 (/pgdata/dpg-camfmd441ls38dhedjlg-a/pg_hba.conf:10)
Jun 21 11:06:29 AM [3-1] user=postgres,db=postgres,app=[unknown],client=::1LOG: connection authorized: user=postgres database=postgres application_name=psql SSL enabled (protocol=TLSv1.2, cipher=ECDHE-RSA-AES256-GCM-SHA384, bits=256)
Jun 21 11:06:29 AM [4-1] user=postgres,db=postgres,app=psql,client=::1LOG: disconnection: session time: 0:00:00.105 user=postgres database=postgres host=::1 port=57178
not sure what to do, both my API and my DB are on paid plans