Reset connection by peer

34 views
Skip to first unread message

彭世俊

unread,
Apr 6, 2017, 8:48:16 AM4/6/17
to grp...@googlegroups.com

Hi grpc-io group

As grpc user we always get below message, we are not sure where and which method throw it out. 
below just describe this error, please kindly review and address it.
thanks

btw: if need more info, please free feel to let me know.


What version of gRPC are you using?

1.0.0.ddcb516

What JVM are you using (java -version)?

1.8.0_40

What did you do?

we added log in web application, and deploy it to production sever.
always get error message as below. we cannot know which/where method throw out this message.
after a lots of error message throwing out, we can get "out for memory" error message and server is down, need to restart to recover it.

error message is
Transport failed
java.io.IOException: Connection reset by peer
at sun.nio.ch.FileDispatcherImpl.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
at sun.nio.ch.IOUtil.read(IOUtil.java:192)
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380)
at io.netty.buffer.PooledUnsafeDirectByteBuf.setBytes(PooledUnsafeDirectByteBuf.java:288)
at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1100)
at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:349)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:112)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:571)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:512)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:426)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:398)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:877)
at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144)
at java.lang.Thread.run(Thread.java:745)

Reply all
Reply to author
Forward
0 new messages