Home grpc: Cannot restore connection for approximately 15 seconds after server restart
Reply: 0

grpc: Cannot restore connection for approximately 15 seconds after server restart

user847
1#
user847 Published in July 22, 2018, 5:54 pm

The client cannot restore a connection to the server immediately after server restart. Instead, it restores connection only after 15 seconds idling. I also cannot call server with a newly created channel/client from the same process. But it successfully connected if I launch a new client instance in the separate process.

I am not sure but suppose the issue appeared after moving from 1.0.0 to 1.6.1 grpc version. Maybe any new setting was introduced to change this behavior?

My call state:

0. Grpc.Core.Internal.CompletionQueueSafeHandle.Pluck (Source Unavailable)
1. Grpc.Core.Internal.AsyncCall`2.UnaryCall (Source Unavailable)
2. Grpc.Core.DefaultCallInvoker.BlockingUnaryCall (Source Unavailable)
3. Grpc.Core.Internal.InterceptingCallInvoker.BlockingUnaryCall (Source Unavailable)
You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.296275 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO