Connection gets closed on Postgress Import


I’m trying to import my dump.sql file into the db however it gets crashed during the import. Here’s console crash and log from the fly postgres app:

psql:/tmp/myapp_prod_backup.sql:3077477: server closed the connection unexpectedly
	This probably means the server terminated abnormally
	before or while processing the request.
psql:/tmp/myapp_prod_backup.sql:3077477: error: connection to server was lost

app log:

Error opening connection to database (postgresql://@[IPV6]:5433/repmgr?sslmode=disable): driver: bad connection source="postgres_exporter.go:1608"

Also why sslmode is disabled?

Thank you!

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