libgit2 / libgit2/libgit2sharp

SSL error; syscall failure: Connection reset by peer when push 1.3 GB filesize

Open
#2,104 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
3.5k
Forks
925
PR merge metrics
No merged PRs in 30d

Description

Reproduction steps

When doing git push of file with size 1.3 GB, got this error:

SSL error: syscall failure: Connection reset by peer
at LibGit2Sharp.Core.Ensure.HandleError(Int32 result) in //LibGit2Sharp/Core/Ensure.cs:line 154
at LibGit2Sharp.Core.Proxy.git_remote_push(RemoteHandle remote, IEnumerable1 refSpecs, GitPushOptions opts) in /_/LibGit2Sharp/Core/Proxy.cs:line 2253 at LibGit2Sharp.Network.Push(Remote remote, IEnumerable1 pushRefSpecs, PushOptions pushOptions) in /
/LibGit2Sharp/Network.cs:line 381

Anyone else having this issue?

Version of LibGit2Sharp: 0.27.2
Operating system(s) tested; .NET runtime tested

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

Start by reviewing Core/Ensure.cs at line 154, Core/Proxy.cs at line 2253, and Network.cs at line 381, then reproduce the 1.3 GB push using LibGit2Sharp 0.27.2. The missing operating-system and .NET-runtime details must be established before determining whether the reset is a library defect or an environment-specific transport failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, git
Domain
devtools, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.