LFS pushes fail with Eclipse 2026-12 RC1 (4.42.0 RC1)

Offen
#328 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
55/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
apache, java
Bereich
backend

Rechercherichtung

Start by tracing the LFS pre-push upload through LfsPrePushHook.uploadFile and the Apache HTTP connection shown in the stack trace. Reproduce the push failure with the reported Eclipse 2026-12 RC1 setup and inspect where the Transfer-encoding header is added twice. Done when an LFS push using Apache HttpClient succeeds without that protocol exception.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

Version

8.0.0.202611241458-rc1

Operating System

Windows

Bug description

Can't connect to any repository: (null)

When using Apache HttpClient:

Actual behavior
org.eclipse.jgit.errors.TransportException
	at org.eclipse.jgit.transport.PushProcess.execute(PushProcess.java:174)
	at org.eclipse.jgit.transport.Transport.push(Transport.java:1537)
	at org.eclipse.egit.core.op.PushOperation.run(PushOperation.java:269)
	at org.eclipse.egit.ui.internal.push.PushJob.performJob(PushJob.java:86)
	at org.eclipse.egit.ui.internal.jobs.RepositoryJob.run(RepositoryJob.java:59)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Caused by: org.apache.http.client.ClientProtocolException
	at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:187)
	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108)
	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56)
	at org.eclipse.jgit.transport.http.apache.HttpClientConnection.execute(HttpClientConnection.java:290)
	at org.eclipse.jgit.transport.http.apache.HttpClientConnection.getResponseCode(HttpClientConnection.java:260)
	at org.eclipse.jgit.lfs.LfsPrePushHook.uploadFile(LfsPrePushHook.java:258)
	at org.eclipse.jgit.lfs.LfsPrePushHook.uploadContents(LfsPrePushHook.java:232)
	at org.eclipse.jgit.lfs.LfsPrePushHook.call(LfsPrePushHook.java:107)
	at org.eclipse.jgit.transport.PushProcess.execute(PushProcess.java:172)
	... 5 more
Caused by: org.apache.http.ProtocolException: Transfer-encoding header already present
	at org.apache.http.protocol.RequestContent.process(RequestContent.java:94)
	at org.apache.http.protocol.ImmutableHttpProcessor.process(ImmutableHttpProcessor.java:133)
	at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)
	at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
	at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
	at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
	... 14 more
Vorherrschende Sprache
Java
Sterne
427
Forks
116
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus eclipse-jgit/jgit

Alle Issues in eclipse-jgit/jgit

Ähnliche Issues

Weitere Issues zu Java

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.