Issues with Git Upload-Pack and Submission Errors in Gerrit 3.9.5

164 views
Skip to first unread message

Hamid Narimani

unread,
May 31, 2024, 2:03:49 PM5/31/24
to Repo and Gerrit Discussion

Hi everyone,

We've been encountering issues on our Gerrit server. Here are the details:

1. Git Upload-Pack Error:
   While running a `git-upload-pack` operation for the `platform/art` repository, the following error occurred:

[SSH git-upload-pack platform/art (me)] ERROR com.google.gerrit.sshd.BaseCommand : Internal server error (user me account 1000053) during git-upload-pack 'platform/art' org.apache.sshd.common.SshException: Write attempt on closing session: SSH_MSG_CHANNEL_DATA Suppressed: org.apache.sshd.common.channel.exception.SshChannelClosedException: write(ChannelOutputStream[ChannelSession[id=26, recipient=54]-ServerSessionImpl[me@/x.x.x.x:34826]] SSH_MSG_CHANNEL_DATA) len=26 - channel already closed


2. Submission Error:
When submitting changes to the `platform/manifest` repository, the submit button on the UI keeps spinning. After refreshing the page, the changes appear as merged, but this error is logged:

[HTTP POST /changes/platform%2Fmanifest~1658/revisions/2/submit (me from x.x.x.x)] ERROR com.googlesource.gerrit.plugins.its.base.workflow.ActionExecutor : Error while executing action add-standard-comment [CONTEXT PLUGIN="gerrit" PLUGIN="its-jira" SUBMISSION_ID="1658-678654-e9146368" project="platform/manifest" request="REST /changes//revisions//submit" ] java.net.SocketTimeoutException: Read timed out

Symptoms:
- The upload-pack error seems to indicate that the session is closing unexpectedly. 

- The UI hangs during the submit action for the submission error, but the merge is successful upon refreshing. 

Both these errors are seen on the Submit.

 Has anyone experienced similar issues or had any suggestions on resolving these problems? 

 Thank you in advance for your help!

Kenyon Ralph

unread,
May 31, 2024, 5:43:05 PM5/31/24
to Repo and Gerrit Discussion
On Friday, May 31, 2024 at 11:03:49 AM UTC-7 Hamid Narimani wrote:

Hi everyone,

We've been encountering issues on our Gerrit server. Here are the details:

1. Git Upload-Pack Error:
   While running a `git-upload-pack` operation for the `platform/art` repository, the following error occurred:

[SSH git-upload-pack platform/art (me)] ERROR com.google.gerrit.sshd.BaseCommand : Internal server error (user me account 1000053) during git-upload-pack 'platform/art' org.apache.sshd.common.SshException: Write attempt on closing session: SSH_MSG_CHANNEL_DATA Suppressed: org.apache.sshd.common.channel.exception.SshChannelClosedException: write(ChannelOutputStream[ChannelSession[id=26, recipient=54]-ServerSessionImpl[me@/x.x.x.x:34826]] SSH_MSG_CHANNEL_DATA) len=26 - channel already closed


2. Submission Error:
When submitting changes to the `platform/manifest` repository, the submit button on the UI keeps spinning. After refreshing the page, the changes appear as merged, but this error is logged:

[HTTP POST /changes/platform%2Fmanifest~1658/revisions/2/submit (me from x.x.x.x)] ERROR com.googlesource.gerrit.plugins.its.base.workflow.ActionExecutor : Error while executing action add-standard-comment [CONTEXT PLUGIN="gerrit" PLUGIN="its-jira" SUBMISSION_ID="1658-678654-e9146368" project="platform/manifest" request="REST /changes//revisions//submit" ] java.net.SocketTimeoutException: Read timed out


This one is because the its-jira plugin can't connect to your Jira instance to post a comment.

Matthias Sohn

unread,
Jun 2, 2024, 4:30:23 AM6/2/24
to Kenyon Ralph, Repo and Gerrit Discussion
On Fri, May 31, 2024 at 11:43 PM 'Kenyon Ralph' via Repo and Gerrit Discussion <repo-d...@googlegroups.com> wrote:
On Friday, May 31, 2024 at 11:03:49 AM UTC-7 Hamid Narimani wrote:

Hi everyone,

We've been encountering issues on our Gerrit server. Here are the details:

1. Git Upload-Pack Error:
   While running a `git-upload-pack` operation for the `platform/art` repository, the following error occurred:

[SSH git-upload-pack platform/art (me)] ERROR com.google.gerrit.sshd.BaseCommand : Internal server error (user me account 1000053) during git-upload-pack 'platform/art' org.apache.sshd.common.SshException: Write attempt on closing session: SSH_MSG_CHANNEL_DATA Suppressed: org.apache.sshd.common.channel.exception.SshChannelClosedException: write(ChannelOutputStream[ChannelSession[id=26, recipient=54]-ServerSessionImpl[me@/x.x.x.x:34826]] SSH_MSG_CHANNEL_DATA) len=26 - channel already closed


See earlier discussions on this list mentioning SshChannelClosedException, e.g. https://groups.google.com/g/repo-discuss/c/nu9AxHSKI1U/m/26ew0to9AQAJ 

2. Submission Error:
When submitting changes to the `platform/manifest` repository, the submit button on the UI keeps spinning. After refreshing the page, the changes appear as merged, but this error is logged:

[HTTP POST /changes/platform%2Fmanifest~1658/revisions/2/submit (me from x.x.x.x)] ERROR com.googlesource.gerrit.plugins.its.base.workflow.ActionExecutor : Error while executing action add-standard-comment [CONTEXT PLUGIN="gerrit" PLUGIN="its-jira" SUBMISSION_ID="1658-678654-e9146368" project="platform/manifest" request="REST /changes//revisions//submit" ] java.net.SocketTimeoutException: Read timed out


This one is because the its-jira plugin can't connect to your Jira instance to post a comment.
 

Symptoms:
- The upload-pack error seems to indicate that the session is closing unexpectedly. 

- The UI hangs during the submit action for the submission error, but the merge is successful upon refreshing. 

Both these errors are seen on the Submit.

 Has anyone experienced similar issues or had any suggestions on resolving these problems? 

 Thank you in advance for your help!

--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en

---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/139c86dc-cded-4190-afd1-451bef4295fan%40googlegroups.com.
Reply all
Reply to author
Forward
Message has been deleted
0 new messages