On Tue, May 24, 2016 at 3:42 AM, <bharte...@gmail.com> wrote:

> You are right, "grpc.framework.crust._control.Rendezvous" returned by the
> stub.Subscribe call.
>
> Yes, .proto file contains suggested entry - similar to "rpc
> Subscribe(SubscribeRequest) returns (*stream* SubscribeResponse)".
>

Okay, good.

The below error/exception observed when executed suggested lines. Also
> tried "__iter__()" and "next()" functions, observing the similar exception.
>
> ////////////////////////////////////////////////////////////
> ////////////////////////////////////////////////////////////
> ///////////////////
> Response received: <grpc.framework.crust._control.Rendezvous object at
> 0xb6ec03ec>
> Traceback (most recent call last):
>   File "grpc_client.py", line 554, in <module>
>     gRPCSyncClient()
>   File "grpc_client.py", line 304, in gRPCSyncClient
>     for value_emitted_from_iterator in response:
>   File 
> "/home/Python27/lib/python2.7/site-packages/grpc/framework/crust/_control.py",
> line 412, in next
>     raise self._termination.abortion_error
> grpc.framework.interfaces.face.face.LocalError: LocalError(code=None,
> details="None")
> ////////////////////////////////////////////////////////////
> ////////////////////////////////////////////////////////////
> ///////////////////
>

There are a few different things that could be happening here but what
looks most likely to me is that you're not actually reaching across the
network and connecting to the remote host to which you intend to connect.

Request you to please share if there is any sample python code available
> for Sync function?
>

Have you yet seen the examples in the grpc respository
<https://github.com/grpc/grpc/tree/master/examples/python>?
-Nathaniel

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/CAEOYnATV-cea25Zw9eyGrATPHAZ-7Ny%3D_pHFBCcyzkftZ8WHPQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to