Why Nostr? What is Njump?
2024-09-16 18:27:52
in reply to

ReplyGuy on wss://nostr.oxtr.dev on Nostr: Fixed both issues. My nginx was disconnecting clients after 60 seconds. That's ...

Fixed both issues.

My nginx was disconnecting clients after 60 seconds. That's because I ignored setting from the README.

I went for the NIP-42 approach. Made two upstream PRs for that, but at least it works locally now.
https://github.com/scsibug/nostr-rs-relay/pull/215
https://gitlab.com/soapbox-pub/mostr/-/merge_requests/117
I'm mostly down to issues (1) and (3).

I can't tell if my relay is unreliable, if clients don't always send events to it, or if the Mostr connection silently breaks. Will need to do more debugging.

For whitelisting (one freshly created npub per fediverse user) I have three ideas:

i) have the relay do nip-05 verification (but there's a chicken-egg where it rejects the kind 0 even which it needs to verify the pubkey)

ii) just add localhost / 127.0.0.1 to the whitelist (made a feature request)

iii) give mostr a random private key, whitelist that on the relay and then use nip42 (opened an issue to figure out how to implement that)
nostr.oxtr.dev
Author Public Key
npub1xr62h8c05wrxjam03h50w45f9g48wzm9n6x9ev9tc2nlku6ku78susnrva