Skip to content

Intermitten db connection error with aws rds #702

Open
@badoet

Description

@badoet

we got this error intermittently in our docker containers
read tcp <ip address>:39954-\u003e<ip address>:5432: read: connection reset by peer

the only special thing is that we use postgres in AWS RDS.
not sure if this affect anything. anyone facing the same issue?
im still using this commit e42267488fe361b9dc034be7a6bffef5b195bceb
and go1.9.2 only using database/sql library with github.com/lib/pq

once we got this errror, we just need to delete the pod and hope the new container does not run into this issue again. this is quite unstable and pretty sure we are not the only on who will get this issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions