Deal All.
gerri version 2.2.2.1
repo version 1.8.1
git version 1.7.9.4
There is internal server error when repo sync is running like below message.
You guys have any idea about this problem?
fatal: git fetch_pack: expected ACK/NAK, got 'ERR want d961377db6c6e23a5cbade26723f89123300e97c not valid'
fatal: internal server error
Thanks.
Are you fetching over http:// or https:// ?
If so what happened here is the branch your client wanted to fetch was
updated between two HTTP requests and the server is now refusing to
serve your client until your client tries again to find out where the
branch is at. This is a race condition in the HTTP client.
I know this is fixed in the latest JGit builds. Not sure if Gerrit
2.3-rc0 has a new enough JGit to contain the fix.
The client has to abort its current git fetch or repo sync and start
the command again. :-(
This error shouldn't be possible over ssh://. I really think you were
talking to an http:// or https:// URL here.
Hi All,We just have the same issue and "/home/git/review/bin/gerrit.sh restart" fixed it (Temporarily? Same issue occurred a week ago)We cannot find the root cause of this problem.[Versions]Gerrit version: 2.6-rc0Git version:1.8.1.2Protocol: SSH[Error]fatal: git fetch_pack: expected ACK/NAK, got 'ERR want 60fcc9cacf07af168591f133d53d32a3b6f71d20 not valid'fatal: internal server errorAll of the following commands failed with the same error mentioned above$ git clone gitsrv:git/the_projectOR$ git pull[File /home/git/review_site/logs/error_log][2013-04-08 08:48:01,859] ERROR com.google.gerrit.sshd.BaseCommand : Internal server error (user ?????????? account 97) during git-upload-pack 'git/the_project'org.eclipse.jgit.transport.UploadPackInternalServerErrorExceptionat org.eclipse.jgit.transport.UploadPack.sendPack(UploadPack.java:1040)at org.eclipse.jgit.transport.UploadPack.service(UploadPack.java:611)at org.eclipse.jgit.transport.UploadPack.upload(UploadPack.java:521)at com.google.gerrit.sshd.commands.Upload.runImpl(Upload.java:57)at com.google.gerrit.sshd.AbstractGitCommand.service(AbstractGitCommand.java:101)at com.google.gerrit.sshd.AbstractGitCommand.access$000(AbstractGitCommand.java:32)at com.google.gerrit.sshd.AbstractGitCommand$1.run(AbstractGitCommand.java:70)at com.google.gerrit.sshd.BaseCommand$TaskThunk.run(BaseCommand.java:429)at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)at java.util.concurrent.FutureTask.run(FutureTask.java:138)at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206)at com.google.gerrit.server.git.WorkQueue$Task.run(WorkQueue.java:337)at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)at java.lang.Thread.run(Thread.java:662)Caused by: org.eclipse.jgit.errors.MissingObjectException: Missing blob df977ffde7012f0c1912788ad1e68a4558806d1fat org.eclipse.jgit.internal.storage.file.WindowCursor.open(WindowCursor.java:149)at org.eclipse.jgit.internal.storage.pack.PackWriter.writeWholeObjectDeflate(PackWriter.java:1517)at org.eclipse.jgit.internal.storage.pack.PackWriter.writeObjectImpl(PackWriter.java:1503)at org.eclipse.jgit.internal.storage.pack.PackWriter.writeBase(PackWriter.java:1511)at org.eclipse.jgit.internal.storage.pack.PackWriter.writeObjectImpl(PackWriter.java:1462)at org.eclipse.jgit.internal.storage.pack.PackWriter.writeObject(PackWriter.java:1440)at org.eclipse.jgit.internal.storage.pack.PackOutputStream.writeObject(PackOutputStream.java:161)at org.eclipse.jgit.internal.storage.file.WindowCursor.writeObjects(WindowCursor.java:196)at org.eclipse.jgit.internal.storage.pack.PackWriter.writeObjects(PackWriter.java:1428)at org.eclipse.jgit.internal.storage.pack.PackWriter.writeObjects(PackWriter.java:1416)at org.eclipse.jgit.internal.storage.pack.PackWriter.writePack(PackWriter.java:1005)at org.eclipse.jgit.transport.UploadPack.sendPack(UploadPack.java:1179)at org.eclipse.jgit.transport.UploadPack.sendPack(UploadPack.java:1034)... 16 more