Skip to content

Google Cloud - Postgres keep getting "server closed the connection unexpectedly" #9055

@dgobaud

Description

@dgobaud

Issue Description

Google Cloud - App Engine and Firebase Functions connecting to Postgres database continuously get error "server closed the connection unexpectedly" or used to be "Connection terminated unexpectedly"

Seems to be same as #5223 - issue is not fixed.

Expected Behavior

Correctly manage and close / remove connections from the pool - something is not managing them correctly.

Actual Behavior

continuously get error "server closed the connection unexpectedly" or used to be "Connection terminated unexpectedly"

Steps to Reproduce

// insert code here

My Environment

Dependency Version
Operating System
Node.js version 16.13.2
TypeORM version 0.2.38

Relevant Database Driver(s)

DB Type Reproducible
postgres yes

Are you willing to resolve this issue by submitting a Pull Request?

  • ✅ No, I don’t have the time, but I can support (using donations) development.
  • ✅ No, I don’t have the time and I’m okay to wait for the community / maintainers to resolve this issue.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions