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
I'm using an OpenConfig server which (reasonably) returns a gRPC INVALID_ARGUMENT / error code 3 error when I request /system/|_@~\\ from it (regardless of whether I'm doing a get or a subscribe, and regardless of the --stream-mode). Using gnmic to make the request, if I use get then I see the INAVLID_ARGUMENT error returned. However, if I use subscribe then I don't see any error. Internally (from within the server) I can see it logs the invalid request every 10s (probably because of the default retry period as per --retry duration ... retry timer for RPCs (default 10s)) and the INVALID_ARGUMENT error that it's returning. I think gnmic should return instead of retrying if it sees that a subscription attempt returned INVALID_ARGUMENT (because the arguments aren't going to become valid on retries).
Thank you,
Colin
The text was updated successfully, but these errors were encountered:
cmcdona2
changed the title
gnmic retries stream subscriptions after Invalid Argument error
gnmic retries stream subscriptions after INVALID_ARGUMENT error
Aug 29, 2024
Hi gnmic devs,
I'm using an OpenConfig server which (reasonably) returns a gRPC INVALID_ARGUMENT / error code 3 error when I request
/system/|_@~\\
from it (regardless of whether I'm doing aget
or asubscribe
, and regardless of the--stream-mode
). Usinggnmic
to make the request, if I useget
then I see the INAVLID_ARGUMENT error returned. However, if I usesubscribe
then I don't see any error. Internally (from within the server) I can see it logs the invalid request every 10s (probably because of the default retry period as per--retry duration ... retry timer for RPCs (default 10s)
) and the INVALID_ARGUMENT error that it's returning. I thinkgnmic
should return instead of retrying if it sees that a subscription attempt returned INVALID_ARGUMENT (because the arguments aren't going to become valid on retries).Thank you,
Colin
The text was updated successfully, but these errors were encountered: