Hi,
When clone or fetch from the gerrit server, sometimes it will fails like:
jenkins@robot-pc:~/workspace/wifi_app-trigger$ git fetch origin
remote: Counting objects: 82020, done
remote: Finding sources: 100% (19107/19107)
Connection to 192.168.1.11 closed by remote host. 294.00 KiB/s
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
And check the server side error log, it shows:
[2021-04-08T14:07:12.426+08:00] [Index-Batch-3[java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask@733fe72b[Not completed, task = java.util.concurrent.Executors$RunnableAdapter@3f375ef1[Wrapped task = com.google.gerrit.server.logging.LoggingContextAwareRunnable@136fd25d]]]] WARN com.google.gerrit.server.logging.LoggingContextAwareRunnable : Logging context is not empty: LoggingContext{tags=null, forceLogging=null, performanceLogging=null, performanceLogRecords=MutablePerformanceLogRecords{performanceLogRecords=[]}}
[2021-04-08T14:08:11.187+08:00] [sshd-SshDaemon[21b75073](port=22)-nio2-thread-2] WARN org.apache.sshd.server.session.ServerSessionImpl : exceptionCaught(ServerSessionImpl[jenkins@/192.168.10.99:48596])[state=Opened] SshChannelNotFoundException: Received SSH_MSG_CHANNEL_WINDOW_ADJUST on unassigned channel 0 (last assigned=null)
The issue will happen frequently if the net speed is not high(should be about 200KB, as displayed by git message)
My gerrit server version is 3.3.0, and the git version in client side is 2.17.1.
By the way, I found a similar post in:
But seem there is no result still.
Br,
Yingchun