You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a client connection breaks due to network issues or the server temporarily going offline, does the connection re-establish itself when the server comes back online?
There are a bunch of issues and discussions surrounding it (and similarly retry). Some suggest that with lazy_connect it does automatically reconnect - but maybe only once? Or only after some timeout?
If it doesn't automatically reconnect, how do I repair a broken connection in a proxy situation? That is, my server has a gRPC client as part of its state which I clone for each request. Do I need to recreate this client - implying that I now need mutable shared state to update the state's client if I determine its broken?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
If a client connection breaks due to network issues or the server temporarily going offline, does the connection re-establish itself when the server comes back online?
There are a bunch of issues and discussions surrounding it (and similarly retry). Some suggest that with
lazy_connectit does automatically reconnect - but maybe only once? Or only after some timeout?If it doesn't automatically reconnect, how do I repair a broken connection in a proxy situation? That is, my server has a gRPC client as part of its state which I clone for each request. Do I need to recreate this client - implying that I now need mutable shared state to update the state's client if I determine its broken?
Prior information:
#1254
#2208
#1463
#1635
Beta Was this translation helpful? Give feedback.
All reactions