小编Anu*_*ain的帖子

将响应消息实体写入容器输出流时发生了I/O错误

我正在使用dropwizard构建音乐流媒体应用程序,但safari和chrome的行为完全不同.在野生动物园,它玩完整的时间,但铬在它之间打破.我在服务器端遇到以下错误.

ERROR [2016-07-06 04:01:44,258] org.glassfish.jersey.server.ServerRuntime$Responder: An I/O error has occurred while writing a response message entity to the container output stream.
! java.io.IOException: Broken pipe
! at sun.nio.ch.FileDispatcherImpl.write0(Native Method) ~[na:1.8.0_60]
! at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47) ~[na:1.8.0_60]
! at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93) ~[na:1.8.0_60]
! at sun.nio.ch.IOUtil.write(IOUtil.java:65) ~[na:1.8.0_60]
! at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:471) ~[na:1.8.0_60]
! at org.eclipse.jetty.io.ChannelEndPoint.flush(ChannelEndPoint.java:170) ~[jetty-io-9.2.13.v20150730.jar:9.2.13.v20150730]
! ... 10 common frames omitted
! Causing: org.eclipse.jetty.io.EofException: null
! at org.eclipse.jetty.io.ChannelEndPoint.flush(ChannelEndPoint.java:192) ~[jetty-io-9.2.13.v20150730.jar:9.2.13.v20150730]
! at org.eclipse.jetty.io.WriteFlusher.flush(WriteFlusher.java:408) ~[jetty-io-9.2.13.v20150730.jar:9.2.13.v20150730]
! at org.eclipse.jetty.io.WriteFlusher.completeWrite(WriteFlusher.java:364) ~[jetty-io-9.2.13.v20150730.jar:9.2.13.v20150730]
! at org.eclipse.jetty.io.SelectChannelEndPoint.onSelected(SelectChannelEndPoint.java:111) ~[jetty-io-9.2.13.v20150730.jar:9.2.13.v20150730]
! at org.eclipse.jetty.io.SelectorManager$ManagedSelector.processKey(SelectorManager.java:640) ~[jetty-io-9.2.13.v20150730.jar:9.2.13.v20150730] …
Run Code Online (Sandbox Code Playgroud)

java google-chrome audio-streaming dropwizard

8
推荐指数
0
解决办法
4695
查看次数

标签 统计

audio-streaming ×1

dropwizard ×1

google-chrome ×1

java ×1