Fetch is taking very long and somehow the decrypted message can't be read
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 35/100
- Issue-Typ
- Bug
- Klarheit
- Muss geklärt werden
- Aktivitätsstatus
- Veraltet
- Tech-Stack
- csharp, git
- Bereich
- devtools, networking
Rechercherichtung
Beginne mit dem im Bericht genannten Fetch-Pfad: LibGit2Sharp.Commands.Fetch, Core.Proxy.git_remote_fetch und Core.Ensure, und reproduziere das Problem anschließend anhand des angehängten Logs im Repository Balancing-Stuff. Als erledigt gilt die Aufgabe, wenn Fetches großer Repositories ohne den gemeldeten Fehler "could not decrypt tls message" abgeschlossen werden.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Reproduction steps
- Get a repo with a size of >3GB, or even 800MB in our case yesterday was already enough (including .git-folder)
- Implement a fetch on that repo
- See how long it is taking any in some cases how it fails
Alternative way:
- Get the S5Updater.
- Extract it into an empty folder.
- Start it (It will ask you if you really want to use it).
- Set a path for the Gold-Folder (empty).
- Remove the checkmark of "easy mode" or "einfacher Modus" at the bottom.
- Press "Update MP Maps" (third button on the left.
- Optional: check the "show log" if you wanna see our custom output with this error.
- Read what the log is telling you.
- Afterwards you can delete it and the folder you created for the gold-path again.
Content of the full log as file
message(1).txt
Expected behavior
Going through and not failing after some minutes (5+ minutes)
Actual behavior
LibGit2Sharp.LibGit2SharpException: could not decrypt tls message
at LibGit2Sharp.Core.Ensure.HandleError(Int32 result) in /_/LibGit2Sharp/Core/Ensure.cs:line 154
at LibGit2Sharp.Core.Ensure.ZeroResult(Int32 result) in /_/LibGit2Sharp/Core/Ensure.cs:line 172
at LibGit2Sharp.Core.Proxy.git_remote_fetch(RemoteHandle remote, IEnumerable`1 refSpecs, GitFetchOptions fetchOptions, String logMessage) in /_/LibGit2Sharp/Core/Proxy.cs:line 2289
at LibGit2Sharp.Commands.Fetch(Repository repository, String remote, IEnumerable`1 refspecs, FetchOptions options, String logMessage) in /_/LibGit2Sharp/Commands/Fetch.cs:line 79
at S5Updater2.TaskUpdateMPMaps.FetchRepo(ReportProgressDel r, Repository rep) in C:\Users\Name\source\repos\s5\S5Updater\S5Updater2\TaskUpdateMPMaps.cs:line 357
at S5Updater2.TaskUpdateMPMaps.HandleRepo(String repo, String branch, String url, ReportProgressDel r) in C:\Users\Name\source\repos\s5\S5Updater\S5Updater2\TaskUpdateMPMaps.cs:line 283
For Reference: The S5Updater is our tool where we are using Libgit2sharp to get the content we need for our Systems. There you can see that.
It is also not happening for everyone. It could be related to the speed of the internet connection. The worse the internet is, the more likely you/we are getting a failure.
One of the needed repositories is this one: https://github.com/GhoulMadness/Balancing-Stuff
Another issue was already open, but it never got discussed https://github.com/libgit2/libgit2sharp/issues/2089
Version of LibGit2Sharp (release number or SHA1)
- 0.26.2.97 on .Net 4.8
- 0.31.0 on .Net 8.0
Operating system(s) tested; .NET runtime tested
- Windows 10/11
- .Net runtime(s) 4.8 and 8.0
- Vorherrschende Sprache
- C#
- Sterne
- 3.5k
- Forks
- 925
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beitragsleitfaden
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus libgit2/libgit2sharp
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 52/100
libgit2/libgit2sharp#2193 · 2 Kommentare ·
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 38/100
libgit2/libgit2sharp#2192 · 1 Kommentar ·
-
Website is down Offen
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 20/100
libgit2/libgit2sharp#2191 · 2 Reaktionen ·
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 68/100
libgit2/libgit2sharp#2189 · 1 Reaktion ·
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 35/100
libgit2/libgit2sharp#2187 · 2 Kommentare ·