I don't get why nostr.com/neventnpubetc codes are failing so much. I am running exactly the same https://github.com/fiatjaf/njump code locally and it always works, but on the server it fails all the time. Help needed.

Reply to this note

Please Login to reply.

Discussion

Failing websockets not reconnecting on long-running job? Or does each request triggers a new connection?

That was a good guess, but it reuses connections if they're up, but reconnects if not. This part I got right, what I didn't get right... well, I won't say, it is too embarrassing.

Maybe it's time to update version of some dependencies!

Did you even read what I said?

Does it throw a 404 when it is unable to connect to relay?

Curl -v output?

What is the exact error you are seeing versus expected behavior?

More details about "fails"?

The page keeps loading, or is it the old redirect-loop problem?

The bug was so stupid, I am ashamed.