Skip to content

Connection Error crashes program #1165

Description

@christiansaiki

Hey guys I'm getting the following error

events.js:141
throw er; // Unhandled 'error' event
Error: Connection terminated
at null. (/home/ec2-user/database-deploy/node_modules/pg/lib/client.js:198:29)
at g (events.js:260:16)
at emitNone (events.js:72:20)
at emit (events.js:166:7)
at Socket. (/home/ec2-user/database-deploy/node_modules/pg/lib/connection.js:78:10)
at emitOne (events.js:77:13)
at Socket.emit (events.js:169:7)
at TCP._onclose (net.js:486:12)

What should I do to treat this error? Also how can I debug to check what is causing this error?
Thanks in advance

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions