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

Đang mở
#328 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
55/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
apache, java
Lĩnh vực
backend

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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
Ngôn ngữ chính
Java
Star
427
Fork
116
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của eclipse-jgit/jgit

Tất cả issue của eclipse-jgit/jgit

Issue tương tự

Thêm issue về Java

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.