repo sync error

89 views
Skip to first unread message

Suhas Shejwal

unread,
Jul 4, 2024, 8:46:47 AM7/4/24
to Repo and Gerrit Discussion
Team,

We are getting error while repo sync. We tried git fsck and git fc but it didn't help
Can someone help ?
This is on Gerrit server logs. 

[2024-07-04T12:37:49.683Z] [HTTP POST /platform/developers/build/git-upload-pack ] ERROR com.google.gerrit.httpd.GitOverHttpServlet.GerritUploadPackErrorHandler : Internal error during upload-pack from Repository[/mnt/gerrit/git/test/platform/test.git] [CONTEXT project="" request="GIT_UPLOAD" ]
org.eclipse.jetty.io.EofException
        at org.eclipse.jetty.io.ChannelEndPoint.flush(ChannelEndPoint.java:279)
        at org.eclipse.jetty.io.WriteFlusher.flush(WriteFlusher.java:422)
        at org.eclipse.jetty.io.WriteFlusher.completeWrite(WriteFlusher.java:378)
        at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:119)
        at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
        at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:298)
        at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
        at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
        at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
        at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:773)
        at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:905)
        at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.io.IOException: Connection reset by peer
        at java.base/sun.nio.ch.FileDispatcherImpl.writev0(Native Method)
        at java.base/sun.nio.ch.SocketDispatcher.writev(SocketDispatcher.java:51)
        at java.base/sun.nio.ch.IOUtil.write(IOUtil.java:182)
        at java.base/sun.nio.ch.IOUtil.write(IOUtil.java:130)
        at java.base/sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:493)
        at java.base/java.nio.channels.SocketChannel.write(SocketChannel.java:507)

Matthias Sohn

unread,
Jul 4, 2024, 8:52:47 AM7/4/24
to Suhas Shejwal, Repo and Gerrit Discussion
This happens if a client closes the connection e.g. due to a timeout or it may be caused by network issues.
 
--
--
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/abc3d348-21e6-4c96-ae8f-ced0d85e3d8en%40googlegroups.com.

Suhas Shejwal

unread,
Jul 5, 2024, 12:26:25 AM7/5/24
to Repo and Gerrit Discussion
Thank you for your response Matthias. I understand client loose connection with Gerrit server. However after some time we are getting below errors and unable to perform repo sync. 

Gerrit server error :- 

 [HTTP-88] WARN  org.eclipse.jetty.io.ManagedSelector : Accept failed for channel null

[HTTP-88] WARN  org.eclipse.jetty.io.ManagedSelector : Accept failed for channel null

 [HTTP-88] WARN  org.eclipse.jetty.io.ManagedSelector : Accept failed for channel null


Client side error :-  

repository: sleeping 4.0 seconds before retrying
fatal: unable to access 'repository': Empty reply from server


Any clue will be highly appreciated. 

Reply all
Reply to author
Forward
0 new messages