https://authzed.com logo
Title
j

Joey

12/06/2022, 3:33 PM
this could be due to a number of factors, but as a watch client, you should always reconnect and resume from where you previously left off if you get a canceled error
p

Perseus

12/06/2022, 4:02 PM
Is there a way to figure out the reason? It was consistently happening every ~1.5mins
j

Joey

12/06/2022, 4:02 PM
if it is constant, it might be the gRPC connection timeout
I believe that is client configurable, but I'd have to find the docs
p

Perseus

12/06/2022, 4:03 PM
is that configurable? i tried to look through the params in the watch call but the only thing I could find that looked remotely related was a
deadline
param. I'll look through the docs as well
j

Joey

12/06/2022, 4:03 PM
it would be a gRPC option
so we'd need to check the gRPC docs
p

Perseus

12/06/2022, 4:03 PM
ah cool. i'll go through those
thank you!