2016-05-27 25 views
0

我有一個java jetty +澤西島應用程序,有一些休息的終點,返回流輸出。請求可能會運行幾分鐘。當我在本地運行它時,長時間運行的請求正常工作。當我部署應用到谷歌Compute Engine的VM,請求總是30秒後失敗:請求碼頭澤西島應用程序在1分鐘後終止

$ time curl -s 'https://[redacted]' -H [redacted] -iv > /dev/null 
* Trying [redacted]... 
* Connected to [redacted] port 443 (#0) 
* TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA 
* Server certificate: [redacted] 
* Server certificate: thawte SSL CA - G2 
> GET /[redacted] HTTP/1.1 
> Host: [redacted] 
> User-Agent: curl/7.43.0 
> Accept: */* 
> [redacted] 
> 
< HTTP/1.1 200 OK 
< Content-Type: application/octet-stream 
< Access-Control-Allow-Origin: * 
< Access-Control-Allow-Methods: GET, POST, DELETE, PUT, OPTIONS 
< Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept,MaxDataServiceVersion,AuthorizationFlow,Authorization 
< Access-Control-Allow-Credentials: true 
< Transfer-Encoding: chunked 
< Server: Jetty(9.1.z-SNAPSHOT) 
< Via: 1.1 google 
< Date: Fri, 27 May 2016 13:31:05 GMT 
< 
{ [932 bytes data] 
* SSLRead() return error -9806 
* Closing connection 0 

real 0m30.133s 
user 0m0.194s 
sys 0m0.188s 

從服務器日誌:

May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi org.eclipse.jetty.io.EofException 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.eclipse.jetty.io.ChannelEndPoint.flush(ChannelEndPoint.java:189) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.eclipse.jetty.io.WriteFlusher.write(WriteFlusher.java:335) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.eclipse.jetty.io.AbstractEndPoint.write(AbstractEndPoint.java:125) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.eclipse.jetty.server.HttpConnection$ContentCallback.process(HttpConnection.java:680) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.eclipse.jetty.util.IteratingCallback.processIterations(IteratingCallback.java:166) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.eclipse.jetty.util.IteratingCallback.iterate(IteratingCallback.java:126) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.eclipse.jetty.server.HttpConnection.send(HttpConnection.java:303) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.eclipse.jetty.server.HttpChannel.sendResponse(HttpChannel.java:720) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.eclipse.jetty.server.HttpChannel.write(HttpChannel.java:751) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:130) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:124) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:328) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.glassfish.jersey.servlet.internal.ResponseWriter$NonCloseableOutputStreamWrapper.write(ResponseWriter.java:325) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.glassfish.jersey.message.internal.CommittingOutputStream.write(CommittingOutputStream.java:229) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$UnCloseableOutputStream.write(WriterInterceptorExecutor.java:299) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:221) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at sun.nio.cs.StreamEncoder.implWrite(StreamEncoder.java:282) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at sun.nio.cs.StreamEncoder.write(StreamEncoder.java:125) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at java.io.OutputStreamWriter.write(OutputStreamWriter.java:207) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at java.io.BufferedWriter.flushBuffer(BufferedWriter.java:129) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at java.io.BufferedWriter.write(BufferedWriter.java:230) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at java.io.Writer.write(Writer.java:157) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at com.tie.flow.bqapi.bigquery.BigQueryTableReaderService$1.write(BigQueryTableReaderService.java:62) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.glassfish.jersey.message.internal.StreamingOutputProvider.writeTo(StreamingOutputProvider.java:78) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.glassfish.jersey.message.internal.StreamingOutputProvider.writeTo(StreamingOutputProvider.java:60) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.invokeWriteTo(WriterInterceptorExecutor.java:265) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.aroundWriteTo(WriterInterceptorExecutor.java:250) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:162) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.glassfish.jersey.server.internal.JsonWithPaddingInterceptor.aroundWriteTo(JsonWithPaddingInterceptor.java:106) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:162) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.glassfish.jersey.server.internal.MappableExceptionWrapperInterceptor.aroundWriteTo(MappableExceptionWrapperInterceptor.java:86) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:162) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.glassfish.jersey.filter.LoggingFilter.aroundWriteTo(LoggingFilter.java:311) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:162) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.glassfish.jersey.message.internal.MessageBodyFactory.writeTo(MessageBodyFactory.java:1130) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.glassfish.jersey.server.ServerRuntime$Responder.writeResponse(ServerRuntime.java:711) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.glassfish.jersey.server.ServerRuntime$Responder.processResponse(ServerRuntime.java:444) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.glassfish.jersey.server.ServerRuntime$Responder.process(ServerRuntime.java:434) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:329) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.glassfish.jersey.internal.Errors.process(Errors.java:315) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.glassfish.jersey.internal.Errors.process(Errors.java:297) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.glassfish.jersey.internal.Errors.process(Errors.java:267) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:473) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:427) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:388) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:341) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:228) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:711) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:552) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:568) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1114) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:479) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1046) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.eclipse.jetty.server.Server.handle(Server.java:462) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:281) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:232) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.eclipse.jetty.io.AbstractConnection$1.run(AbstractConnection.java:505) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:607) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:536) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at java.lang.Thread.run(Thread.java:745) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi Caused by: java.io.IOException: Broken pipe 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at sun.nio.ch.FileDispatcherImpl.writev0(Native Method) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at sun.nio.ch.SocketDispatcher.writev(SocketDispatcher.java:51) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at sun.nio.ch.IOUtil.write(IOUtil.java:148) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:504) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.eclipse.jetty.io.ChannelEndPoint.flush(ChannelEndPoint.java:169) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011... 67 more 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi May 27, 2016 1:38:00 PM org.glassfish.jersey.server.ServerRuntime$Responder writeResponse 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi SEVERE: An I/O error has occurred while writing a response message entity to the container output stream. 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi javax.ws.rs.WebApplicationException: HTTP 500 Internal Server Error 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at com.tie.flow.bqapi.bigquery.BigQueryTableReaderService$1.write(BigQueryTableReaderService.java:68) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.glassfish.jersey.message.internal.StreamingOutputProvider.writeTo(StreamingOutputProvider.java:78) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.glassfish.jersey.message.internal.StreamingOutputProvider.writeTo(StreamingOutputProvider.java:60) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.invokeWriteTo(WriterInterceptorExecutor.java:265) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.aroundWriteTo(WriterInterceptorExecutor.java:250) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:162) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.glassfish.jersey.server.internal.JsonWithPaddingInterceptor.aroundWriteTo(JsonWithPaddingInterceptor.java:106) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:162) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.glassfish.jersey.server.internal.MappableExceptionWrapperInterceptor.aroundWriteTo(MappableExceptionWrapperInterceptor.java:86) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:162) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.glassfish.jersey.filter.LoggingFilter.aroundWriteTo(LoggingFilter.java:311) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:162) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.glassfish.jersey.message.internal.MessageBodyFactory.writeTo(MessageBodyFactory.java:1130) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.glassfish.jersey.server.ServerRuntime$Responder.writeResponse(ServerRuntime.java:711) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.glassfish.jersey.server.ServerRuntime$Responder.processResponse(ServerRuntime.java:444) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.glassfish.jersey.server.ServerRuntime$Responder.process(ServerRuntime.java:434) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:329) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.glassfish.jersey.internal.Errors.process(Errors.java:315) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.glassfish.jersey.internal.Errors.process(Errors.java:297) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.glassfish.jersey.internal.Errors.process(Errors.java:267) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:473) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:427) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:388) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:341) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:228) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:711) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:552) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:568) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1114) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:479) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1046) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.eclipse.jetty.server.Server.handle(Server.java:462) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:281) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:232) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.eclipse.jetty.io.AbstractConnection$1.run(AbstractConnection.java:505) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:607) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:536) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at java.lang.Thread.run(Thread.java:745) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi Caused by: org.eclipse.jetty.io.EofException 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.eclipse.jetty.io.ChannelEndPoint.flush(ChannelEndPoint.java:189) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.eclipse.jetty.io.WriteFlusher.write(WriteFlusher.java:335) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.eclipse.jetty.io.AbstractEndPoint.write(AbstractEndPoint.java:125) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.eclipse.jetty.server.HttpConnection$ContentCallback.process(HttpConnection.java:680) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.eclipse.jetty.util.IteratingCallback.processIterations(IteratingCallback.java:166) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.eclipse.jetty.util.IteratingCallback.iterate(IteratingCallback.java:126) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.eclipse.jetty.server.HttpConnection.send(HttpConnection.java:303) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.eclipse.jetty.server.HttpChannel.sendResponse(HttpChannel.java:720) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.eclipse.jetty.server.HttpChannel.write(HttpChannel.java:751) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:130) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:124) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:328) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.glassfish.jersey.servlet.internal.ResponseWriter$NonCloseableOutputStreamWrapper.write(ResponseWriter.java:325) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.glassfish.jersey.message.internal.CommittingOutputStream.write(CommittingOutputStream.java:229) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$UnCloseableOutputStream.write(WriterInterceptorExecutor.java:299) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:221) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at sun.nio.cs.StreamEncoder.implWrite(StreamEncoder.java:282) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at sun.nio.cs.StreamEncoder.write(StreamEncoder.java:125) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at java.io.OutputStreamWriter.write(OutputStreamWriter.java:207) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at java.io.BufferedWriter.flushBuffer(BufferedWriter.java:129) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at java.io.BufferedWriter.write(BufferedWriter.java:230) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at java.io.Writer.write(Writer.java:157) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at com.tie.flow.bqapi.bigquery.BigQueryTableReaderService$1.write(BigQueryTableReaderService.java:62) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011... 45 more 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi Caused by: java.io.IOException: Broken pipe 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at sun.nio.ch.FileDispatcherImpl.writev0(Native Method) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at sun.nio.ch.SocketDispatcher.writev(SocketDispatcher.java:51) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at sun.nio.ch.IOUtil.write(IOUtil.java:148) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:504) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011at org.eclipse.jetty.io.ChannelEndPoint.flush(ChannelEndPoint.java:169) 
May 27 13:38:00 bqapi-grp-fa7g supervisord: bqapi #011... 67 more 

可能是什麼原因?

+1

不要像這樣截斷棧跟蹤 –

回答

0

看起來你有:

  1. 低水平java.io.IOException: Broken pipe
  2. 該碼頭檢測和報告爲org.eclipse.jetty.io.EofException
  3. 這澤西檢測,並試圖爲錯誤500的響應報告,但couldn因爲迴應已經死了。

初看起來,這似乎是澤西試圖在已經提交的響應(這是一個servlet規範違反)上編寫錯誤響應的錯誤。

但是可能還有其他事情正在發生,正如您所說的,它似乎發生在1分鐘的時間。這指向您的套接字或防火牆上的配置或Jetty之外的某些內容,會在一段時間後終止連接。

在這裏我們看到的部分...

Server: Jetty(9.1.z-SNAPSHOT) 
Via: 1.1 google 

點一些有趣的問題。

首先,你爲什麼要運行一箇舊的Jetty不穩定的SNAPSHOT版本?

而且Via: 1.1 google可能表示GCE/GKE/GAE環境,如果是這種情況,那麼已部署服務器的環境中存在的網絡限制是什麼?