Thanks makes sense.  I was setting this to 1 sec at one time :) ... not 
production but just *playing* around and I think it was working without a 
hitch.  However I think they upgraded the server grpc and now im getting 
this.  If this is all that's going on no worries then.  Like I said oddly 
with all those nasty looking messages it seems to still be functioning. 

On Monday, June 5, 2017 at 5:51:02 PM UTC-4, [email protected] wrote:
>
>
> Hi
>
> I set on a grpc stream  with NettyChannel options:
> keepAliveTime"(60L, TimeUnit.SECONDS});
> keepAliveTimeout{8L, TimeUnit.SECONDS});
>
> At times in the code I've added sleep for 15 min.  I see on Wireshark the 
> keep alives.
>
> But after a time I see :
>
> -----------------------------------------------------------------------------------------------------------------------------------------
> Jun 05, 2017 5:29:53 PM io.grpc.netty.NettyClientHandler$1 onGoAwayReceived
> WARNING: Received GOAWAY with ENHANCE_YOUR_CALM. Debug data: {1}
> Jun 05, 2017 5:29:53 PM io.grpc.internal.AtomicBackoff$State backoff
> WARNING: Increased keepalive time nanos to 240,000,000,000
> 2017-06-05 21:29:53,073 ERROR OrdererClient:116 - Received error on 
> channel foo, orderer orderer.example.com, url grpc://localhost:7050, 
> RESOURCE_EXHAUSTED: Bandwidth exhausted
> HTTP/2 error code: ENHANCE_YOUR_CALM
> Received Goaway
> too_many_pings
> io.grpc.StatusRuntimeException: RESOURCE_EXHAUSTED: Bandwidth exhausted
> HTTP/2 error code: ENHANCE_YOUR_CALM
> Received Goaway
> too_many_pings
>         at io.grpc.Status.asRuntimeException(Status.java:540)
>         at 
> io.grpc.stub.ClientCalls$StreamObserverToCallListenerAdapter.onClose(ClientCalls.java:392)
>         at 
> io.grpc.internal.ClientCallImpl.closeObserver(ClientCallImpl.java:426)
>         at 
> io.grpc.internal.ClientCallImpl.access$100(ClientCallImpl.java:76)
>         at 
> io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl.close(ClientCallImpl.java:512)
>         at 
> io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl.access$700(ClientCallImpl.java:429)
>         at 
> io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1StreamClosed.runInContext(ClientCallImpl.java:544)
>         at io.grpc.internal.ContextRunnable.run(ContextRunnable.java:52)
>         at 
> io.grpc.internal.SerializingExecutor.run(SerializingExecutor.java:117)
>         at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>         at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>         at java.lang.Thread.run(Thread.java:745)
>
> -----------------------------------------------------------------------------------------------------------------------------------------
>
> But everything seem to continue to work  grpc 1.3.0
> Something I can do to stop that ? Any ideas whats going on here ? 
> Thanks!
>
>
>
>

-- 
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/fe84a3ff-e86c-499d-b312-30f9c5007d14%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to