Re: [grpc-io] Stream refused by server

2023-12-19 Thread 'Yuri Golobokov' via grpc.io
What is the server you are connecting to? Is there some proxy between client and server? Some proxies/servers may reject new streams when they are overloaded. Then looking at your load balancing setup and improving that may help. On Tuesday, December 19, 2023 at 12:46:10 PM UTC-8 Larry Safran

Re: [grpc-io] Stream refused by server

2023-12-19 Thread 'Larry Safran' via grpc.io
ExperimentalApi means that we reserve the right to break backward compatibility in the future. However, we do ensure that they function correctly. Generally, this means that they may behave slightly differently or that ABI compatibility is broken. If you are okay with recompiling to upgrade to

Re: [grpc-io] Stream refused by server

2023-12-19 Thread Rajan Shah
We already have 3 times GRPC Client retries, I will try out the NettyServerBuilder. But the NettyServerBuilder has the ExperimentalApi annotation, should we be using this in production systems.

Re: [grpc-io] Stream refused by server

2023-12-18 Thread 'Larry Safran' via grpc.io
Rajan, Do you have retries enabled? That would be your first line of defense. On the server side, giving the server more resources may help. You could directly use NettyServerBuilder for more fine grained control through ChannelOptions (using *.withOptions()* method). Specifically options