Hi nostr:npub1drvpzev3syqt0kjrls50050uzf25gehpz9vgdw08hvex7e...

reya
npub1zfss807aer0j26mwp2la0ume0jqde3823rmu97ra6sgyyg956e0s6xw445
hex
e6d7c2e8804e40b4e29aa4f5054eaf52c6d00f229b7c4c2b22fb8487458e7a10nevent
nevent1qqswd47zazqyus95u2d2fag9f6h493kspu3fklzv9v30hpy8gk885yqprpmhxue69uhhyetvv9ujuem4d36kwatvw5hx6mm9qgspycgrhlwu3he9ddhq407h7duheqxucn4g3a7zlp7agyzzyz6dvhcfzhqxaKind-1 (TextNote)
Hi nostr:npub1drvpzev3syqt0kjrls50050uzf25gehpz9vgdw08hvex7e0vgfeq0eseet 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/
原始 JSON
{
"kind": 1,
"id": "e6d7c2e8804e40b4e29aa4f5054eaf52c6d00f229b7c4c2b22fb8487458e7a10",
"pubkey": "126103bfddc8df256b6e0abfd7f3797c80dcc4ea88f7c2f87dd4104220b4d65f",
"created_at": 1782551561,
"tags": [
[
"p",
"68d81165918100b7da43fc28f7d1fc12554466e1115886b9e7bb326f65ec4272"
]
],
"content": "Hi nostr:npub1drvpzev3syqt0kjrls50050uzf25gehpz9vgdw08hvex7e0vgfeq0eseet \nI'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:\n\nUser send REQ -\u003e Relay send AUTH and CLOSED -\u003e SDK is sending AUTH and also remove the subscription because of CLOSED -\u003e Relay return OK -\u003e SDK cannot resubscribe because the subscription was removed.\n\nRelay software: https://github.com/barrydeen/haven/",
"sig": "da7e31d740773d24193eeab7ca20dc564dc0b8fa501c7e3ac43cd941fd5b9ff35344a52c241ee0ce08e63d3ff0cceb41ebf400a5018fa3a09e98c4f0d417eb84"
}