[grpc-io] StatusCode.INTERNAL, Did not read entire message

2017-11-07 Thread kurrent93
Hello I am trying to call a grpc service from python. I have generated python code using protoc 3.4.1. And I have tried with grpc 1.6.6 and grpc 1.6.1 I have also generated java code, and can successfully call the same service method from java. When I try to run the python code I get the

Re: [grpc-io] DNS requery not happening with round_robin load balancing in docker swarm

2017-11-07 Thread 'David Garcia Quintas' via grpc.io
Hey Daniel, I see what's going on. 10.0.0.{4,5} go down, re-resolution is triggered, but before the DNS has been updated, so round robin gets 10.0.0.{4,5} again. These addresses will never again have a backend behind, so RR gets caught up in a retry-loop, unaware of the DNS update pointing to

[grpc-io] Re: grpc C++ client fail to reconnect (leaking file descriptors)

2017-11-07 Thread 'David Garcia Quintas' via grpc.io
Which version of grpc are you using? On Friday, 3 November 2017 20:31:35 UTC-7, kaustubh.k...@gmail.com wrote: > > Even I'm facing a similar issue. Can someone please guide ? > > On Thursday, June 8, 2017 at 2:11:22 PM UTC-5, haiya...@dejero.com wrote: >> >> Hello, >> >> I am working a grpc

[grpc-io] Re: [grpc-c++] gRPC polling for incoming packets from multiple sockets

2017-11-07 Thread 'Yang Gao' via grpc.io
Yes. A ServerCompletionQueue is a CompletionQueue and you can use it for client events as well. On Wednesday, November 1, 2017 at 2:01:25 AM UTC-7, Ista Ranjan Samanta wrote: > > Hi, > > Thanks a lot for providing the accomplish able approach towards it. Yes, I > am also using C++ gRPC. > > I

[grpc-io] [c++] What are the use of the threads that grpc starts in async mode?

2017-11-07 Thread Maysam Mehraban
Hello, I am looking into gRPC in async mode to see if it is suitable for the application that I am working on. I have difficulties to understand how does it really work with regards to greeter_async_server, and I have the following questions: It seems for the provided example

[grpc-io] [c++] What are use of the threads that grpc starts in async mode?

2017-11-07 Thread Maysam Mehraban
Hello, I am looking into gRPC in async mode to see if it is suitable for the application that I am working on. I have difficulties to understand how does it really work with regards to greeter_async_server, and I have the following questions: It seems for the provided example

Re: [grpc-io] turn off priority flag on java server?

2017-11-07 Thread 'Eric Gribkoff' via grpc.io
Currently there is no way to do this in gRPC Java. The PRIORITY is coming from Netty, and Netty would need to be changed to disable sending it. For now, getting this issue fixed on the grpc/grpc side seems like the correct way forward, and it looks like the C-team is now reviewing the fix in your

Re: [grpc-io] [grpc-java] Server crashes after 1 minute at 1000 messages per second.

2017-11-07 Thread thas . himal
Eric, Exactly what I was looking for! I found out that there was a high CPU consuming function on my server which was causing the crash under heavy load due to frequent context switching. After removing that and using the server config in AsyncServer.java the throughput substantially

[grpc-io] Re: Connection setup: Scan for all available servers

2017-11-07 Thread 'Carl Mastrangelo' via grpc.io
If all the devices are on the same machine, you can do some sort of rendezvous by making a well known location that all servers register themselves with. It would act as a registration for all local services. If the devices are on the same network, you'll have to do something more

[grpc-io] turn off priority flag on java server?

2017-11-07 Thread whjackson
Is there a way to ask the Java gRPC server to not set the PRIORITY flag on HTTP2 frames? I want this because I'm waiting for this bug fix to arrive for Python clients: https://github.com/grpc/grpc/pull/13201 If I could prevent the priority flag from being set on the Java server side I could

[grpc-io] use of different http_proxy env. var

2017-11-07 Thread zdenek
Hello, is there a way how to set proxy address with use of different environment variable than "http_proxy"? We have a asp.net core 2.0 application which uses two clients, one for HTTP and other for gRPC. We use Linkerd to proxy requests and we set a proxy address for HTTP with use of

[grpc-io] Re: Register to group

2017-11-07 Thread falco20019
When visiting https://groups.google.com/forum/?pli=1#!forum/grpc-io there should be a blue "Join Group" button. Just click on there to register. -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving