Are there any guides for setting up a bostr relay for dummies? nostr:npub1x3azxuysp5vmfer4vgs4jn5tmfcx4ew8sh0qnev7gczljxsr7jwqa3g4el

#asknostr

Reply to this note

Please Login to reply.

Discussion

It was pretty easy. Did you follow their instructions?

Yeah. It seems to be running but I tried connecting to it from my local network without any reverse proxy or anything and it doesnt seem to work. Im sure Ive configured something wrong

Did you add relays to the config file ?

Yes I put damus.io in there. I also put my npub in the whitelist section

If you are connecting to local network, Ensure that you are connecting with ws:// and NOT wss://.

Why is that ?

wss:// is for secured connection. Non secured connection should use ws:// instead. If you have a working TLS, You could use wss://. But for your setup that only serves locally, there's no need for TLS.

Oh ty. I never seen ws/wss until Nostr came along.

Nostr relays are using websocket to communicate with relays. So you will see ws:// or wss:// at the end of nostr relays URL.

Websockets are not nostr specific thing. It's an internet thing.

Yeah I did that. When I start bostr it says listening on ws://0.0.0.0:8080 and connected to wss://relay.damus.io. Do I put ws://0.0.0.0:8080 in my nostr client relay section? Should it work after that? (It didnt) The only thing I changed in the config is the damus relay. Is there anything else Im missing that is required?

You can connect locally on your network by adding ws://server-ip:8080

Otherwise you need nginx reverse proxy with ssl so you can access it anywhere

wss://domain

ws://server-ip:8080 doesnt work. Nothing loads :(