A relay service with a separate relay at any path #1301
Replies: 2 comments 16 replies
-
I wasted a whole week trying to resolve this "issue" in gossip to no avail. There is no solution. Gossip continues to be plagued and fucked up due to other relays doing this. You can do that and ruin nostr. And you would be right and we couldn't stop you. And nostr will die painfully. Users will have thousands of pages of relays to manage which are the same relay. Each path will AUTH me separately and drive me nuts. I really did try to solve this 3 different ways: (1) strip all paths and refuse to recognize them (breaks relays that only work at a particular path), (2) strip all paths only for managing relay reputation, (3) leave all the paths in place. I can't recall why (2) didn't work and I'm drinking right now so I'll have to think about it later. Cheers! |
Beta Was this translation helpful? Give feedback.
-
My proximate problem was trying to configure gossip to not AUTH to filter.nostr.wine. I had to do that over and over and over and I'm still not done because I have hundreds (thousands?) of different relay records in my database, one for each distinct URL. So I thought maybe I create RelayOrigin which represents the host and the port. But that isn't necessarily hosting a relay at path "/" it might be some other path due to "/" being a website. But maybe I could force it to have just one path, even if it wasn't the root path. But now with what you are suggesting I think even that fails to collapse these things and manage them together. Nostr defines a relay by a URL, so separate paths are separate relays, and proliferate, and any other consideration of what a relay url means violates the nostr protocol. So in the end I live in the nightmare of thosuands of filter.nostr.wine relays that are unmanageable for me. And they keep prompting me for AUTH and my client can never remember my answer because they are all different. And I'm tired. |
Beta Was this translation helpful? Give feedback.
-
For example, on jitsi you could do
meet.jit.si/<any-string>
I want a relay where I can do
myrelay.org/<any-string>
to create a temporary relay session at that path.All data is kept in-memory and not expected to be stored for more than a few minutes or hours.
The use-case would be for bunker sessions (see #1300), but could be also useful for exchanging DMs, and all sorts of other stuff.
Beta Was this translation helpful? Give feedback.
All reactions