org.eclipse.jetty.io.EofException: timeout - Sonatype Nexus Repository - Sonatype Community

org.eclipse.jetty.io.EofException: timeout

post by ajinkyaghumatkar on Aug 22, 2022

Ajinkya Ghumatkar

Hi,

We are getting error while downloading artifacts from Nexus. We have a bunch of servers and failure is coming randomly on any of the server. Below is the error in Nexus logs.

2022-08-22 05:18:21,073+0000 ERROR [qtp422250493-922] org.sonatype.nexus.web.internal.ErrorPageFilter - Internal error
org.eclipse.jetty.io.EofException: timeout
    at org.eclipse.jetty.http.AbstractGenerator.blockForOutput(AbstractGenerator.java:525)
    at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:170)
    at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:107)
    at org.sonatype.nexus.util.io.StreamSupport.copy(StreamSupport.java:59)
    at org.sonatype.nexus.web.WebUtils.sendContent(WebUtils.java:105)
    at org.sonatype.nexus.content.internal.ContentServlet.doGetFile(ContentServlet.java:522)
    at org.sonatype.nexus.content.internal.ContentServlet.doGet(ContentServlet.java:402)
    at org.sonatype.nexus.content.internal.ContentServlet.service(ContentServlet.java:352)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
    ...

post by mpiggott on Aug 22, 2022

Matthew Piggott

Make sure you don’t have an internal proxy server which has a connection timeout.

post by david.ta on Sep 14, 2023

David Tayar

Same here

2023-09-14 09:13:27,458+0000 WARN  [qtp1948215953-55227]  *UNKNOWN org.sonatype.nexus.repository.httpbridge.internal.ViewServlet - Failure servicing: GET /repository/deepypigr/packages/torch/1.12.1/torch-1.12.1-cp38-cp38-manylinux1_x86_64.whl
org.eclipse.jetty.io.EofException: null
    at org.eclipse.jetty.io.ChannelEndPoint.flush(ChannelEndPoint.java:279)
    at org.eclipse.jetty.io.WriteFlusher.flush(WriteFlusher.java:422)
    ...