[grpc-io] Re: gRPC Java - async client waiting forever after the server closes the connection

2020-04-27 Thread 'Chengyuan Zhang' via grpc.io
Can you post some code snippet for how you implement it? Also, at what event is "server connection has been established" you are referring to? On Monday, April 27, 2020 at 1:34:01 PM UTC-7 Sri wrote: > I think I am doing something very obvious wrong. I have a bidi streaming > grpc async client.

[grpc-io] gRPC Java - async client waiting forever after the server closes the connection

2020-04-27 Thread 'Sri' via grpc.io
I think I am doing something very obvious wrong. I have a bidi streaming grpc async client. It isn't closing the connection and waiting forever even after the server closed connection. Also any messages sent on the stream before the server connection has been established are not received on the

[grpc-io] Re: is there a way to limit the number concurrent gRPC Clients on server and drop additional clients when the limit is reached?

2020-04-27 Thread srikar.nadipally via grpc.io
Thanks, I will try those out On Friday, April 24, 2020 at 3:44:14 PM UTC-4, Chengyuan Zhang wrote: > > Unfortunately, this hasn't been implemented, while it had been asked for > several times. See https://github.com/grpc/grpc-java/issues/1886 for > status and progresses about the discussion. You

Re: [grpc-io] Large Files not able to upload even as chunks

2020-04-27 Thread vigneshdhanraj
Thanks Thomas, Thought like upload request needs to be bytes and for reply used int, that is the issue thanks a lot. Issue solved :) Thanks Team, it is my mistake. On Tuesday, April 28, 2020 at 12:37:06 AM UTC+5:30, Thomas Mercier wrote: > > The maximum value of an int32 is 2,147,483,647. Why a

Re: [grpc-io] Large Files not able to upload even as chunks

2020-04-27 Thread Thomas Mercier
The maximum value of an int32 is 2,147,483,647. Why are you using a signed type for length in the first place though? On Mon, Apr 27, 2020 at 12:01 PM VigneshDhanraj G < vigneshdhanra...@gmail.com> wrote: > Thanks Michael, > > syntax = "proto3"; > > service FileServer { > rpc upload(stream Chun

Re: [grpc-io] Large Files not able to upload even as chunks

2020-04-27 Thread VigneshDhanraj G
Thanks Michael, syntax = "proto3"; service FileServer { rpc upload(stream Chunk) returns (Reply) {} rpc download(Request) returns (stream Chunk) {} } message Chunk { bytes buffer = 1; } message Request { string name = 1; } message Reply { int32 length = 1; and my client.py def get

Re: [grpc-io] Re: gRPC C++ Installation Issue

2020-04-27 Thread Patrice Chalin
+Jan Tattermusch , Eric and I discussed the following during our Docs WG meeting: to avoid users facing this problem again, how about if we changed the min version of cmake from the current 3.5.1 to, say, 3.13 cmake_minimum_required(VERSION 3.13) in either the C++ hello world cmake config: -

Re: [grpc-io] Large Files not able to upload even as chunks

2020-04-27 Thread Michael Webster
Do you have any snippets you can share from your code? I use python-grpc in another project for transferring files and I've never had an issue with files > 2gb, with 1mb chunks (local network operations). On Monday, April 27, 2020 at 7:08:50 PM UTC+1, VigneshDhanraj G wrote: > > Thanks Mya, >

Re: [grpc-io] Large Files not able to upload even as chunks

2020-04-27 Thread VigneshDhanraj G
Thanks Mya, There is no any error on the server and i am getting error if i upload more than 2GB file, i am constanly uploading chunk on the storge. On Monday, April 27, 2020 at 8:42:50 PM UTC+5:30, Mya Pitzeruse wrote: > > Is there an associated error on the server? The error message suggests

Re: [grpc-io] Large Files not able to upload even as chunks

2020-04-27 Thread 'Mya Pitzeruse' via grpc.io
Is there an associated error on the server? The error message suggests a server error with an index out of bounds exception: 2^31. Only way I could see something like that happening is if the file was being buffered on the server side in memory. On Mon, Apr 27, 2020 at 6:56 AM VigneshDhanraj G wr

[grpc-io] Large Files not able to upload even as chunks

2020-04-27 Thread VigneshDhanraj G
Hi Team, I am not able to upload large files more than 2GB even after chunk. I have found the file is uploaded still exeception raised? Please help me to understand the issue here and way to fix this problem. Traceback (most recent call last): File "demo_client.py", line 12, in client.up

[grpc-io] CompletionQueue life time in a async server

2020-04-27 Thread afshin . pir
Hi all I was wondering if I should extend lifetime of a CompletionQueue according to lifetime of a rpc call in a async server or it has been checked internally. As an example, let's check the the simple async helloworld server here