For those coming across this thread, the discussion for this has been 
happening at https://github.com/grpc/grpc-java/issues/2935

On Thursday, April 20, 2017 at 5:21:29 PM UTC-7, [email protected] wrote:
>
> Hi I'm seeing the above error on one system that is much slower. On other 
> system the exact same setup works fine.
> This is on a ubuntu system using 1.2 grpc .. the client see that error 
> going to server running in docker.
> Java 1.8 
>
> The scenario is exactly the same on both machines running through the same 
> exercise.  
> Can I increase that headers size ?   Any tell for sure from the below 
> trace if that seems reasonable that it should fail ?
>
>
>
> *00:04:13* 2017-04-21 00:04:13 DEBUG Peer:144 - sendProposalAsync name: 
> peer1, url: grpc://localhost:7056
>
> *00:04:13* 2017-04-21 00:04:13 DEBUG NettyClientHandler:147 - *00:04:13* 
> ----------------OUTBOUND--------------------*00:04:13* [id: 0xa601ff3c, 
> L:/127.0.0.1:57166 - R:localhost/127.0.0.1:7056] SETTINGS: ack=false, 
> settings={ENABLE_PUSH=0, MAX_CONCURRENT_STREAMS=0, 
> INITIAL_WINDOW_SIZE=1048576, MAX_HEADER_LIST_SIZE=8192}*00:04:13* 
> ------------------------------------*00:04:13* 2017-04-21 00:04:13 DEBUG 
> NettyClientHandler:147 - *00:04:13* 
> ----------------OUTBOUND--------------------*00:04:13* [id: 0xa601ff3c, 
> L:/127.0.0.1:57166 - R:localhost/127.0.0.1:7056] WINDOW_UPDATE: streamId=0, 
> windowSizeIncrement=983041*00:04:13* 
> ------------------------------------*00:04:13* 2017-04-21 00:04:13 DEBUG 
> NettyClientHandler:147 - *00:04:13* 
> ----------------INBOUND--------------------*00:04:13* [id: 0xa601ff3c, 
> L:/127.0.0.1:57166 - R:localhost/127.0.0.1:7056] SETTINGS: ack=false, 
> settings={}*00:04:13* ------------------------------------*00:04:13* 
> 2017-04-21 00:04:13 DEBUG NettyClientHandler:147 - *00:04:13* 
> ----------------OUTBOUND--------------------*00:04:13* [id: 0xa601ff3c, 
> L:/127.0.0.1:57166 - R:localhost/127.0.0.1:7056] SETTINGS: ack=true*00:04:13* 
> ------------------------------------*00:04:13* 2017-04-21 00:04:13 DEBUG 
> NettyClientHandler:147 - *00:04:13* 
> ----------------INBOUND--------------------*00:04:13* [id: 0xa601ff3c, 
> L:/127.0.0.1:57166 - R:localhost/127.0.0.1:7056] WINDOW_UPDATE: streamId=0, 
> windowSizeIncrement=983025*00:04:13* 
> ------------------------------------*00:04:13* 2017-04-21 00:04:13 DEBUG 
> NettyClientHandler:147 - *00:04:13* 
> ----------------INBOUND--------------------*00:04:13* [id: 0xa601ff3c, 
> L:/127.0.0.1:57166 - R:localhost/127.0.0.1:7056] SETTINGS: ack=true*00:04:13* 
> ------------------------------------*00:04:13* 2017-04-21 00:04:13 DEBUG 
> NettyClientHandler:147 - *00:04:13* 
> ----------------OUTBOUND--------------------*00:04:13* [id: 0xa601ff3c, 
> L:/127.0.0.1:57166 - R:localhost/127.0.0.1:7056] HEADERS: streamId=3, 
> headers=GrpcHttp2OutboundHeaders[:authority: localhost:7056, :path: 
> /protos.Endorser/ProcessProposal, :method: POST, :scheme: http, content-type: 
> application/grpc, te: trailers, user-agent: grpc-java-netty/1.2.0, 
> grpc-accept-encoding: gzip, grpc-census-bin: ], streamDependency=0, 
> weight=16, exclusive=false, padding=0, endStream=false*00:04:13* 
> ------------------------------------*00:04:13* 2017-04-21 00:04:13 DEBUG 
> NettyClientHandler:147 - *00:04:13* 
> ----------------OUTBOUND--------------------*00:04:13* [id: 0xa601ff3c, 
> L:/127.0.0.1:57166 - R:localhost/127.0.0.1:7056] DATA: streamId=3, padding=0, 
> endStream=true, length=14657, 
> bytes=000000393c0af0710ad1060a5e080310011a0c08fd98e5c70510c0faafb7022a4038343436323166363436633037373864353432666238373861626139626563...*00:04:13*
>  ------------------------------------*00:04:14* 2017-04-21 00:04:13 DEBUG 
> NettyClientHandler:147 - *00:04:14* 
> ----------------OUTBOUND--------------------*00:04:14* [id: 0xa601ff3c, 
> L:/127.0.0.1:57166 - R:localhost/127.0.0.1:7056] GO_AWAY: lastStreamId=0, 
> errorCode=1, length=45, 
> bytes=4865616465722073697a65206578636565646564206d617820616c6c6f7765642073697a652028313032343029*00:04:14*
>  ------------------------------------*00:04:14* 2017-04-21 00:04:13 DEBUG 
> Http2ConnectionHandler:836 - [id: 0xa601ff3c, L:/127.0.0.1:57166 - 
> R:localhost/127.0.0.1:7056] Sent GOAWAY: lastStreamId '0', errorCode '1', 
> debugData 'Header size exceeded max allowed size (10240)'. Forcing shutdown 
> of the connection.*00:04:14* 2017-04-21 00:04:14 ERROR Chain:2105 - Sending 
> proposal to peer1 failed because of gRPC failure=Status{code=INTERNAL, 
> description=null, cause=io.netty.handler.codec.http2.Http2Exception: Header 
> size exceeded max allowed size (10240)*00:04:14*     at 
> io.netty.handler.codec.http2.Http2Exception.connectionError(Http2Exception.java:85)*00:04:14*
>         at 
> io.netty.handler.codec.http2.Http2CodecUtil.headerListSizeExceeded(Http2CodecUtil.java:264)*00:04:14*
>         at 
> io.netty.handler.codec.http2.DefaultHttp2FrameReader$HeadersBlockBuilder.headerSizeExceeded(DefaultHttp2FrameReader.java:701)*00:04:14*
>       at 
> io.netty.handler.codec.http2.DefaultHttp2FrameReader$HeadersBlockBuilder.addFragment(DefaultHttp2FrameReader.java:716)*00:04:14*
>      at 
> io.netty.handler.codec.http2.DefaultHttp2FrameReader$2.processFragment(DefaultHttp2FrameReader.java:485)*00:04:14*
>    at 
> io.netty.handler.codec.http2.DefaultHttp2FrameReader.readHeadersFrame(DefaultHttp2FrameReader.java:495)*00:04:14*
>     at 
> io.netty.handler.codec.http2.DefaultHttp2FrameReader.processPayloadState(DefaultHttp2FrameReader.java:253)*00:04:14*
>          at 
> io.netty.handler.codec.http2.DefaultHttp2FrameReader.readFrame(DefaultHttp2FrameReader.java:160)*00:04:14*
>    at 
> io.netty.handler.codec.http2.Http2InboundFrameLogger.readFrame(Http2InboundFrameLogger.java:41)*00:04:14*
>     at 
> io.grpc.netty.FixedHttp2ConnectionDecoder.decodeFrame(FixedHttp2ConnectionDecoder.java:119)*00:04:14*
>         at 
> io.netty.handler.codec.http2.Http2ConnectionHandler$FrameDecoder.decode(Http2ConnectionHandler.java:341)*00:04:14*
>    at 
> io.netty.handler.codec.http2.Http2ConnectionHandler.decode(Http2ConnectionHandler.java:401)*00:04:14*
>         at 
> io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:411)*00:04:14*
>       at 
> io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:248)*00:04:14*
>      at 
> io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:363)*00:04:14*
>    at 
> io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:349)*00:04:14*
>    at 
> io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:341)*00:04:14*
>      at 
> io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1334)*00:04:14*
>   at 
> io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:363)*00:04:14*
>    at 
> io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:349)*00:04:14*
>    at 
> io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:926)*00:04:14*
>    at 
> io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:129)*00:04:14*
>     at 
> io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:642)*00:04:14*
>         at 
> io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:565)*00:04:14*
>       at 
> io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:479)*00:04:14*
>        at 
> io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:441)*00:04:14*       
> at 
> io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858)*00:04:14*
>        at 
> io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144)*00:04:14*
>   at java.lang.Thread.run(Thread.java:745)
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/e18abef6-a0f4-4373-acd5-fcb584c2fee2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to