Thanks All !

I finally got some more details and they were NOT running with the keep 
alive on.  And yes, was through some proxy.  The keep alive did seem to fix 
their issues.  Thanks for the other answers. 



On Friday, August 4, 2017 at 10:44:54 AM UTC-4, cr2...@gmail.com wrote:
>
> Hi,
> I have code that's using the futureStub and using NettyChannelBuilder with 
> no other properties set other than usePlaintext(true);  I have users that 
> are claiming everything is working fine except if there's no activity on 
> that connection for about 20 minutes. Then they see:
>
> gRPC failure=Status{code=UNAVAILABLE, description=null, 
> cause=java.io.IOException: Connection reset by peer
>
> I've asked them to try the keepAliveTime and keepAliveTimeout and I'm not 
> sure yet if they've done that yet.
>
> The server side is GO 1.40
>
> Client  Older version we are moving to later in next release:
> com.google.protobuf » protobuf-java  3.1.0
> io.grpc » grpc-netty    1.3.0
> io.grpc » grpc-protobuf    1.3.0
> io.grpc » grpc-stub    1.3.0
>
> So barrage of questions:
>
> Any thoughts on what is happening here ?  I know not a lot of details for 
> you to go on :(
>
> The Java client is moving to the very latest version.  Are there concerns 
> with compatibility we need to keep in mind with GO server side ?  
>
> Are there timeouts were the underlying connections are closed due to 
> inactivity?  I would assume they'd reconnect under covers if so, would the 
> keepAlive help here ?  Other options to try?
>
> I noticed on ManagedChannel getState and notifyWhenStateChanged  These 
> have @ExperimentalApi and *Warning*: this API is not yet implemented by 
> the gRPC 
> So I assume they really can't be used in latest version to auto retry 
> setting up connections when they get disconnected? 
> <https://grpc.io/grpc-java/javadoc/io/grpc/ExperimentalApi.html>
>
>
>
>
>
>
>
>

-- 
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 grpc-io+unsubscr...@googlegroups.com.
To post to this group, send email to grpc-io@googlegroups.com.
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/f63df8d1-9135-412c-ab47-fe99cc434fc1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to