I'm trying Nostr Tools out, but I'll occasionally get relay timeout errors from the code below
The problem doesn't always persist (which makes it challenging to debug) and happens with different relays
Any ideas?
#asknostr #programming

I'm trying Nostr Tools out, but I'll occasionally get relay timeout errors from the code below
The problem doesn't always persist (which makes it challenging to debug) and happens with different relays
Any ideas?
#asknostr #programming

You’re probably getting rate limited, are you running your own relay?
I see you are using damus, I think if you are fetching or publishing more than 1 note per second on damus it’s considered spam
That makes sense, you’re probably right
I’ll experiment with more relays or see where I can be flexible on requests
Thanks! 🙏
I’d also take a look at nostrify if you want something easier
It uses nostr tools behind the scenes, but it’s higher level