[grpc-io] [gRPC Java] : Long time async Server streaming RPCs

2017-05-16 Thread deepakagarwal2027
Hi All, This is Deepak here, i have been reading about gRPC from last couple of weeks, I want to use gRPC in one of my solution. But as a beginner in gRPC i have several doubts about it. My scenarios are (both needs to be supported together at same time in same application) 1) My applicatio

[grpc-io] How can gRPC client know about network loss/failure?

2017-06-11 Thread deepakagarwal2027
I have a gRPC server to whom i have connected my gRPC client (Java). - the client is observing server streaming RPC, which is supposed to go on for couple of hours. - When the server stopped, the client gets the information as gRPC invoked onError() method. - but when the network was broken betw

Re: [grpc-io] How can gRPC client know about network loss/failure?

2017-06-21 Thread deepakagarwal2027
Hi Eric, thanks for the response but i have to problems 1) I am using grpc-java 1.0.1 which does not support this Interface (The product team has decided on grpc version) 2) The keepalive time is not fixed. Also i have a doubt about the whether grpc java 1.0.1 can support http2. I found c based

Re: [grpc-io] How can gRPC client know about network loss/failure?

2017-06-21 Thread deepakagarwal2027
Ok. let me explain the complete scenario 1) I have a gRPC server which provides a server streaming RPC, my application is a client which needs to invoke this RPC and keep listening to the data written by the server (until the RPC is closed). The problem here is that in the server side if the

[grpc-io] grpc-Java !! GrpcSslContexts throwing error that OpenSSL is not installed on the system

2017-07-04 Thread deepakagarwal2027
Hi All, I am trying to run a grpc server on my windows system, I have installed openssl and also added the installation path in the environment variable. when i try to build the SslContextBuilder, i provide the SSLProvider as OPENSSL. But it is throwing an exception stating that openSSL is n

[grpc-io] OpenSSL with gRPC not working, blocked!!!!

2017-07-09 Thread deepakagarwal2027
Hi All, I am trying to start a gRPC server, the server is supposed to be secure using openSSL So i am create a SslContextBuilder from GrpcSSLBuilder.configure and passing SSLProvider as OpenSSL But the code is always throwing exception sometimes that the tc-native is failed to load , or initial

[grpc-io] Outgoing port on gRPC Java client

2017-09-19 Thread deepakagarwal2027
Hi, I am having a gRPC Java client which connects to a remote gRPC server on a specified port. My client is deployed on a machine which is behind a firewall, and i need to provide the port list to customer which needs to be open for gRPC communication between server and client. So i have fo

[grpc-io] How to enable grpc java logs?

2018-04-12 Thread deepakagarwal2027
Hi all, I have a grpc java server, I have provide a fixed threadpool executor with 5 threads while starting my grpc server. The client is sending 5000 GPB packets per second. But my application is not able to receive those packets within one second. So my doubts are 1) How can i check where the

[grpc-io] Re: How to enable grpc java logs?

2018-04-12 Thread deepakagarwal2027
Adding some more information. The RPC is a BiDirectional streaming RPC On Thursday, April 12, 2018 at 6:40:32 PM UTC+5:30, deepakag...@gmail.com wrote: > > Hi all, > I have a grpc java server, I have provide a fixed threadpool executor with > 5 threads while starting my grpc server. > The client

[grpc-io] Re: How to enable grpc java logs?

2018-04-12 Thread deepakagarwal2027
Hi Carl, I am setting it on server, i am using nettyserverbuilder to build the server Server = NettyServerBuilder.forAddress().sslContext().executor(MyExecutor ).addService().build() On Friday, April 13, 2018 at 2:22:48 AM UTC+5:30, Carl Mastrangelo wrote: > > Are you setting the executor on t