fail fast in case of unexpected anwer from grpc #242

Open
opened 2025-12-28 18:07:32 +00:00 by sami · 2 comments
Owner

Originally created by @532910 on GitHub (Dec 5, 2024).

Originally assigned to: @cthulhu-rider on GitHub.

See https://github.com/nspcc-dev/neo-go/issues/3721 for details.

Just like the response for curl http://st1.storage.fs.neo.org:443 is pretty instantaneous, neofs should fail fast in case of unexpected response.

Originally created by @532910 on GitHub (Dec 5, 2024). Originally assigned to: @cthulhu-rider on GitHub. See https://github.com/nspcc-dev/neo-go/issues/3721 for details. Just like the response for `curl http://st1.storage.fs.neo.org:443` is pretty instantaneous, neofs should fail fast in case of unexpected response.
Author
Owner

@cthulhu-rider commented on GitHub (Dec 5, 2024):

caused by nspcc-dev/neofs-sdk-go@591dd25e7c/client/client.go (L181) gRPC dial option which:

  • enables blocking until READY conn state (desired)
  • makes dial to fail immediately on any non-temporary error
    but the mentioned error is not temporary according to current gRPC implementation

to solve, we'd need to configure dialer more specifically

@cthulhu-rider commented on GitHub (Dec 5, 2024): caused by https://github.com/nspcc-dev/neofs-sdk-go/blob/591dd25e7c5d9ef6d4239ebe1a3914bd9198ef13/client/client.go#L181 gRPC dial option which: - enables blocking until **READY** conn state (desired) - makes dial to fail immediately on any non-temporary error but the mentioned error is not temporary according to current gRPC implementation to solve, we'd need to configure dialer more specifically
Author
Owner

@AnnaShaleva commented on GitHub (Dec 12, 2024):

Ping to this issue.

@AnnaShaleva commented on GitHub (Dec 12, 2024): Ping to this issue.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nspcc-dev/neofs-sdk-go#242
No description provided.