Join Nostr
2026-06-27 09:12:41 UTC

reya on Nostr: Hi Yuki Kishimoto I've noticed a strange issue when nostr-sdk close subscription ...

Hi
I've noticed a strange issue when nostr-sdk close subscription early without wait for AUTH completed, this is why sometime Coop cannot load full messages because it cannot read from relay. The flow look like this:

User send REQ -> Relay send AUTH and CLOSED -> SDK is sending AUTH and also remove the subscription because of CLOSED -> Relay return OK -> SDK cannot resubscribe because the subscription was removed.

Relay software: https://github.com/barrydeen/haven/