Title
#users-public
i

Ishdutt Trivedi

10/21/2022, 7:28 AM
Hi team, I'm facing a weird issue:
psql
server is getting disconnected (running on a remote server in a docker container) due to inactivity.
server closed the connection unexpectedly
	This probably means the server terminated abnormally
	before or while processing the request.
The connection to the server was lost. Attempting reset: Succeeded.
The major thing is, even the data is deleted. Docker container and ec2 instance are running. When I stop the docker container and restart it, suddenly it's working.
Alex Pelagenko

Alex Pelagenko

10/21/2022, 10:59 AM
Hi. Sorry I’m confused what’s the problem connection reset or data deleted?
i

Ishdutt Trivedi

10/21/2022, 11:02 AM
Both.
Alex Pelagenko

Alex Pelagenko

10/21/2022, 11:16 AM
and when you say it’s working does it mean data is not deleted?
i

Ishdutt Trivedi

10/25/2022, 4:34 AM
Yeah. The data is recovered when I restart the container.
9:23 AM
Switched to a different ec2 instance and it's working.