% git commit -S -a -m "Test Commit Signing"
[main cac7a665] Test Commit Signing
1 file changed, 1 insertion(+)
% git push --signed origin HEAD:refs/for/main
Enumerating objects: 5, done.
Counting objects: 100% (5/5), done.
Delta compression using up to 16 threads
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 1.42 KiB | 1.42 MiB/s, done.
Total 3 (delta 2), reused 0 (delta 0), pack-reused 0
remote: error: invalid protocol: wanted 'old new ref'
fatal: the remote end hung up unexpectedly
% fatal: internal server error
Error log has
[2023-02-03T22:02:12.603-08:00] [sshd-SshDaemon[a6e0e5f](port=22)-nio2-thread-1] WARN org.apache.sshd.server.channel.ChannelSession : handleSubsystem(ChannelSession[id=0, recipient=0]-ServerSessionImpl[pranab_panda@/17.11.106.51:56400]) No factories for subsystem: sftp
[2023-02-03T22:05:24.792-08:00] [SSH git-receive-pack /wifi-ci (pranab_panda)] ERROR com.google.gerrit.sshd.BaseCommand : Internal server error (user pranab_panda account 1000292) during git-receive-pack '/wifi-ci'
org.eclipse.jgit.errors.PackProtocolException: error: invalid protocol: wanted 'old new ref'
at org.eclipse.jgit.transport.ReceivePack.parseCommand(ReceivePack.java:2257)
at org.eclipse.jgit.transport.ReceivePack.recvCommands(ReceivePack.java:1368)
at org.eclipse.jgit.transport.ReceivePack.service(ReceivePack.java:2205)
at org.eclipse.jgit.transport.ReceivePack.receive(ReceivePack.java:2142)
at com.google.gerrit.sshd.commands.Receive.runImpl(Receive.java:98)
at com.google.gerrit.sshd.AbstractGitCommand.service(AbstractGitCommand.java:109)
at com.google.gerrit.sshd.AbstractGitCommand$1.run(AbstractGitCommand.java:74)
at com.google.gerrit.sshd.BaseCommand$TaskThunk.run(BaseCommand.java:491)
at com.google.gerrit.server.logging.LoggingContextAwareRunnable.run(LoggingContextAwareRunnable.java:113)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
at com.google.gerrit.server.git.WorkQueue$Task.run(WorkQueue.java:612)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
Any suggestions, pointers on what is going on?
thanks
Pranab
% git commit -S -a -m "Test Commit Signing"
[main cac7a665] Test Commit Signing
1 file changed, 1 insertion(+)
% git push --signed origin HEAD:refs/for/main
Enumerating objects: 5, done.
Counting objects: 100% (5/5), done.
Delta compression using up to 16 threads
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 1.42 KiB | 1.42 MiB/s, done.
Total 3 (delta 2), reused 0 (delta 0), pack-reused 0
remote: error: invalid protocol: wanted 'old new ref'
fatal: the remote end hung up unexpectedly
% fatal: internal server error
Error log has
[2023-02-03T22:02:12.603-08:00] [sshd-SshDaemon[a6e0e5f](port=22)-nio2-thread-1] WARN org.apache.sshd.server.channel.ChannelSession : handleSubsystem(ChannelSession[id=0, recipient=0]-ServerSessionImpl[pranab_panda@/17.11.106.51:56400]) No factories for subsystem: sftp
[2023-02-03T22:05:24.792-08:00] [SSH git-receive-pack /wifi-ci (pranab_panda)] ERROR com.google.gerrit.sshd.BaseCommand : Internal server error (user pranab_panda account 1000292) during git-receive-pack '/wifi-ci'
org.eclipse.jgit.errors.PackProtocolException: error: invalid protocol: wanted 'old new ref'
at org.eclipse.jgit.transport.ReceivePack.parseCommand(ReceivePack.java:2257)
% git commit -S -a -m "Test Commit Signing"