eclipseでjarや画像ファイル(バイナリファイル)をGitへプッシュしようとすると
エラーになってしまいますが、SourceTreeで同様の処理を実施すると問題なくプッシュできました。
Failed pushing to pub - origin
http://■■■■/pub.git: Error writing request body to server
eclipseでのGitへのjarや画像のプッシュは出来ないものなのでしょうか?
ツールバージョン
eclipse:MARS
[チーム-Git-ウィンドウ・キャッシュ設定]
ウィンドウ・キャッシュ:700m ← 追記
ストリーム・ファイル閾値:350m ← 追記
(ウィンドウ・キャッシュ設定を実施することでどうなるのか理解できてません・・・。)
egit :4.1.1
gitlab(オンプレ):10.8.4 ← 追記
コミットファイルのサイズ:1M以上 ← 追記
※ちなみに、jarに関してはGitではなくMavenリポジトリなどで管理するのが好ましいでしょうか?
(現在はCVSでリソース管理を実施しており、jarなど一括で管理しています。)
↓追記:eclipseのログ↓
!ENTRY org.eclipse.egit.core 4 0 2018-12-12 16:18:26.984
!MESSAGE An exception occurred during push on URI http://XXX/pub.git: http://XXX/pub.git: Error writing request body to server
!STACK 0
org.eclipse.jgit.api.errors.TransportException: http://XXX/pub.git: Error writing request body to server
at org.eclipse.jgit.api.PushCommand.call(PushCommand.java:164)
at org.eclipse.egit.core.op.PushOperation.run(PushOperation.java:228)
at org.eclipse.egit.ui.internal.push.PushOperationUI.execute(PushOperationUI.java:167)
at org.eclipse.egit.ui.internal.push.PushOperationUI$1.run(PushOperationUI.java:229)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: org.eclipse.jgit.errors.TransportException: http://XXX/pub.git: Error writing request body to server
at org.eclipse.jgit.transport.BasePackPushConnection.doPush(BasePackPushConnection.java:218)
at org.eclipse.jgit.transport.TransportHttp$SmartHttpPushConnection.doPush(TransportHttp.java:807)
at org.eclipse.jgit.transport.BasePackPushConnection.push(BasePackPushConnection.java:153)
at org.eclipse.jgit.transport.PushProcess.execute(PushProcess.java:166)
at org.eclipse.jgit.transport.Transport.push(Transport.java:1200)
at org.eclipse.jgit.api.PushCommand.call(PushCommand.java:157)
... 4 more
Caused by: java.io.IOException: Error writing request body to server
at sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.checkError(HttpURLConnection.java:3479)
at sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.write(HttpURLConnection.java:3462)
at org.eclipse.jgit.util.TemporaryBuffer.switchToOverflow(TemporaryBuffer.java:329)
at org.eclipse.jgit.util.TemporaryBuffer.reachedInCoreLimit(TemporaryBuffer.java:320)
at org.eclipse.jgit.util.TemporaryBuffer.write(TemporaryBuffer.java:144)
at org.eclipse.jgit.util.io.TimeoutOutputStream.write(TimeoutOutputStream.java:113)
at org.eclipse.jgit.internal.storage.pack.PackOutputStream.write(PackOutputStream.java:126)
at java.util.zip.DeflaterOutputStream.deflate(DeflaterOutputStream.java:253)
at java.util.zip.DeflaterOutputStream.write(DeflaterOutputStream.java:211)
at java.io.FilterOutputStream.write(FilterOutputStream.java:97)
at org.eclipse.jgit.lib.ObjectLoader.copyTo(ObjectLoader.java:266)
at org.eclipse.jgit.internal.storage.pack.PackWriter.writeWholeObjectDeflate(PackWriter.java:1538)
at org.eclipse.jgit.internal.storage.pack.PackWriter.writeObjectImpl(PackWriter.java:1516)
at org.eclipse.jgit.internal.storage.pack.PackWriter.writeObject(PackWriter.java:1459)
at org.eclipse.jgit.internal.storage.pack.PackOutputStream.writeObject(PackOutputStream.java:164)
at org.eclipse.jgit.internal.storage.file.WindowCursor.writeObjects(WindowCursor.java:195)
at org.eclipse.jgit.internal.storage.pack.PackWriter.writeObjects(PackWriter.java:1447)
at org.eclipse.jgit.internal.storage.pack.PackWriter.writeObjects(PackWriter.java:1435)
at org.eclipse.jgit.internal.storage.pack.PackWriter.writePack(PackWriter.java:998)
at org.eclipse.jgit.transport.BasePackPushConnection.writePack(BasePackPushConnection.java:306)
at org.eclipse.jgit.transport.BasePackPushConnection.doPush(BasePackPushConnection.java:198)
... 9 more