jsonrpsee: TrySendError { kind: Full } on Subscription not handled properly

Is the SubscriptionSink is full, the background_task will send the unsubscribe request but the error isn’t propagated to the front-end. This means that the subscription will continue to block indefinitely, despite being closed. We should forward the error to ensure that the caller can handle the error appropriately (i.e. re-subscribe).

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 16 (12 by maintainers)

Most upvoted comments

@niklasad1 It looks like we got lucky, we were able to reproduce the problem, this time with subxt logging enabled. I uploaded the log here