Re: [grpc-io] Re: Getting "all SubConns are in TransientFailure" sending to local grpc service.

2017-12-22 Thread Josh Humphries
Hi, Ravi, Yes, I understand. That is because grpc.Dial doesn't actually return an error just because there are issues establishing socket connections -- it asynchronously starts a client that will transparently retry dialing as needed (possibly continuously dialing, with some backoff, depending on

Re: [grpc-io] Re: Getting "all SubConns are in TransientFailure" sending to local grpc service.

2017-12-22 Thread Ravi Jonnadula
Hi Josh, Thanks for sharing your thoughts. In my case, grpc.Dial is successful, there is no error for this call. The error occurs when the rpc call is invoked. On Fri, Dec 22, 2017 at 3:42 PM, Josh Humphries wrote: > If you use a custom dialer, specify the "insecure"

Re: [grpc-io] Re: Getting "all SubConns are in TransientFailure" sending to local grpc service.

2017-12-22 Thread Josh Humphries
If you use a custom dialer, specify the "insecure" dial option in the GRPC client, but then handle TLS in your custom dialer, you can get at the actual error messages that are causing the transport failure. Here's an example I used in a command-line tool, where I wanted to be able to show users a

Re: [grpc-io] Re: Getting "all SubConns are in TransientFailure" sending to local grpc service.

2017-12-22 Thread Ravi
Hi Yufeng, My server side code exactly like yours. My certificates and keys are fine, because when I plug them into example route_guide code (grpc-go/examples/route_guide) they work. My server-client logic is also fine without certificates. The moment I enable certificates, I get this error:

[grpc-io] Java Blocking Stub inside StreamObserver

2017-12-22 Thread oddballbutler
In my java client, I'm trying to call a blocking stub inside of a StreamObserver passed to an async stub. Is this allowed? The blocking stub just blocks forever and I never see the message on the c++ server side. -- You received this message because you are subscribed to the Google Groups

[grpc-io] In java grpc how do I throttle client requests with flow control and still utilize load balancing?

2017-12-22 Thread davidraleigh
I've been successfully used the Manual Flow Control example to make streaming async requests from one client to one server. I have also have been successful using the kubernetes load

[grpc-io] GRPC_Compilation: libares.a Error while compiling GRPC 1.7.3

2017-12-22 Thread neelisrinivas18
Hi all, This is Neeli Srinivas. I am new to GRPC. I am trying to compile grpc for arm architecture. for compilation of GRPC I am getting below error. [CXX] Compiling src/cpp/server/server_credentials.cc [CXX] Compiling src/cpp/server/server_posix.cc [CXX] Compiling