Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
rolznz opened this issue Aug 31, 2024 · 5 comments
Open

Comments

@rolznz
Copy link

rolznz commented Aug 31, 2024

Is there a way to pass a timeout for fetchEvents?

@fubz
Copy link

fubz commented Sep 11, 2024

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

@rolznz
Copy link
Author

rolznz commented Sep 12, 2024

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

@alessiofx
Copy link

I have the same problem

@alessiofx
Copy link

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

my fetchEvents never returns?

@MSghais
Copy link

MSghais commented Dec 15, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants