ndk icon indicating copy to clipboard operation
ndk copied to clipboard

Bug: fetchEvents never returns if one of the explicit relays is unreachable

Open rolznz opened this issue 1 year ago • 6 comments

Is there a way to pass a timeout for fetchEvents?

rolznz avatar Aug 31 '24 07:08 rolznz

Is this why my fetchEvents never returns....?

fubz avatar Sep 11 '24 18:09 fubz

I think so. I switched to using subscribe instead (which is a lot better anyway)

rolznz avatar Sep 12 '24 05:09 rolznz

I have the same problem

alessiofx avatar Nov 22 '24 18:11 alessiofx

when I use: const filter = { kinds: [10015], "#t": ["artists"], since: 1730419200, limit: 2, };

my fetchEvents never returns?

alessiofx avatar Nov 25 '24 17:11 alessiofx

Hey, this issue is very anoying and difficult to fix.

How we can process a series of fetchEvents to different relays, and not throw an error if an Relay is unreachable

MSghais avatar Dec 15 '24 06:12 MSghais

Similar conversation in https://github.com/nostr-dev-kit/ndk/issues/306

digitalbase avatar Mar 17 '25 10:03 digitalbase