dtonon on Nostr: I think the problem is related to the fact that wot-relay accepts connections before ...
I think the problem is related to the fact that wot-relay accepts connections before the WoT is ready.
In Chronicle I updated the code to avoid that, but it's not a one-line refactoring. This is the starting point of the patch:
https://github.com/dtonon/chronicle/blob/main/main.go#L134-L155Please check it, if it make sense for you, I can port the patch to wot-relay.
Published at
2024-09-25 20:26:24Event JSON
{
"id": "00001fbb268cfeac4c1b3cb6620d7f06caf5ffbbd20c8a22cfc3801d9e0af5a4",
"pubkey": "7bdef7be22dd8e59f4600e044aa53a1cf975a9dc7d27df5833bc77db784a5805",
"created_at": 1727295984,
"kind": 1,
"tags": [
[
"p",
"e2ccf7cf20403f3f2a4a55b328f0de3be38558a7d5f33632fdaaefc726c1c8eb"
],
[
"e",
"00003cf253ea8ff305d8f5458083fbd1669c438a195671abfd5468dc9d58e846",
"wss://wot.dtonon.com/",
"root"
],
[
"e",
"00003a7fb65c67295bd0770ba023b88f48ce5045e824ee95b71b940739104211",
"wss://wot.dtonon.com/",
"reply"
],
[
"nonce",
"3689348814741911669",
"18"
]
],
"content": "I think the problem is related to the fact that wot-relay accepts connections before the WoT is ready.\nIn Chronicle I updated the code to avoid that, but it's not a one-line refactoring. This is the starting point of the patch:\nhttps://github.com/dtonon/chronicle/blob/main/main.go#L134-L155\n\nPlease check it, if it make sense for you, I can port the patch to wot-relay.",
"sig": "d049f3e8139919095def7bdb5f52e4e19f0d6e110ba1cf07f3690a572e8f0eb1d979c1405308e6b5409f4eaa9049a0b88ce21a0e3ebe4a527cfc84aecb4bca62"
}