jackc / jackc/pgx

Connection Reset By Peer

Open
#1,140 2 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
14.3k
Forks
1.1k
Avg merge
6d 9h
Merged PRs (30d)
11

Description

Hello,
While Using the CRDB and querying the database using Golang For required operations I am encountering the issue of "Connection Reset by Peer ", The following issue I have started encountering just after using a TCP Load Balancer For The 3 nodes of my crdb.
Also the issue can be simply return that the connection which I am acquiring from the pool is getting disconnected/ reset by the peers and collectively there is no issue I encounter with the connection pool made to the CRDB and still my application made works fine even if i called for a db connection(pool) for a single time only.

Any sort of reference or solution provided will be highly appreciated.
@jackc Hope for any solution from you.
Thanks in Advance

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No repository file, test, or entry point is identified. Start by investigating the reported Go connection-pool behavior when CRDB is accessed through a TCP load balancer, including the connection-reset conditions and relevant configuration. Done would require a reproducible failure and a clearly defined fix or documented resolution.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
database, networking
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.