Replying to Avatar arfonzo

Hey nostr:nprofile1qy28wumn8ghj7un9d3shjtnyv9kh2uewd9hszrthwden5te0dehhxtnvdakqzxrhwden5te0wfjkccte9ehx7um0w3ex7uewv9c8qqgswaehxw309ahx7um5wgh8w6twv5qzp3nq8v83enlvvfwecz9h20j0wa827lgu7fmfygcjtd0afknjsqv7zldp6m, question on relay management & other issues in nosotros:

Does it make use of all my published relay lists (inbound/outbound/search/DM/etc), or just some?

1. Sometimes I notice that if I go into the Relays setting, it gets quite a long list of relays, which aren't what I've published. I reckon it might do this when it's unable to retrieve my list temporarily, or something.

2. Once or twice, it's wiped my list with this long "default" list. But it could maybe have been because I wasn't sure what happened and tried to touch the lists so it published it.

3. I've also noticed that at times the usernames can't render, and it just shows "npub..." addresses instead. I'm not sure if this is down to not using my search relays, or something else.

4. If I use my browser's built-in Translate features, it causes a big Deck crash, and it says my stored data/db needs to be wiped clean. Generally if I wipe it, then clear local storage in my browser, it fixes it.

Happy to open issues on github, but wasn't sure which of these are known issues/need tickets, so just wanted your feedback first. 🙏

> Does it make use of all my published relay lists (inbound/outbound/search/DM/etc), or just some?

When you post, I am broadcasting to yours outboxes relays, if you are tagging someone, I will also broadcast their inbox relays. search relay is used when you search something, you can select other search relay in the search settings, now days is mostly nostr.band. the client will look for your inbox relays for your notifications and replies/reactions of your notes, the client doesn't have DMs therefor doesn't use DM relays for anything.

1. The relay lists in the /relays page under "Active Relays" are relays that were found as you navigate the app, in your home feed, the client will look for outbox relays from the people you follow and fetch notes from these relays, if you follow like a thousand people, it will find and connect lots of relays, the client cap the max number of relays per person (you can change in the settings) to make the number of connections more manageable, you might have concerns of too many websocket connections and a privacy implication, and you will be right, but this is the nostr solution relay centralization. The list of your outbox and inbox relays should be under "outbox relays" and "inbox relays" respectively, not under "active relays".

2. Follows or relays lists being nuke is common in nostr and supper annoying, specially for non technical users, please find and report which client nuked your list, I haven't heard of it in my client as I always fetch your list before publishing a new one, if you are logged with a browser extension make sure to check the event in the popup before signin the event, a follow event should have a bunch of p tags.

3. This happens when the client couldn't find the user metadata or still trying to find, it's trying to find the user outbox relays and fetch user metadata, sometimes this information simply can't be found as the user didn't setup their relays properly, changing outbox relays without migration result in things like this, this has nothing to do with search relays or your relay settings, mostly the user issue or a client issue, nothing really you can do.

4. Thanks for reporting that, haven't heard of this issue, , gonna try to reproduce it, yeah, cleaning the db likely won't fix the issue.

Keep reporting.

Reply to this note

Please Login to reply.

Discussion

Thanks so much for taking the time to give me a detailed reply, I appreciate it!

1. So what I'm confused about, is sometimes when I go into the /relays page, I see what I'm expecting--my configured outbound and inbound relays. Other times there's a list of 25 relays on each side--then if I touch anything there, it writes all 25 to my profile.

2. I think I finally understand now what's happening, based on your description! So one thing I keep noticing is: I currently have 157 Following, but sometimes the list loads in nosotros as 140. Then if I follow someone, I'll lose the latest 17 people I followed. I'm not sure why this keeps happening. Is it possibly reading an old list of Followings from some other relay?

3. Thanks for that, it's odd because when I view the same user on another client, they will show a "proper" username. Or at another time, nosotros will render the username. Just sometimes (mostly in Deck), I get an npub instead of a friendly name.

4. No probs! There's a few other times it has happened, not just for browser-based translate, but I can't reliably reproduce. If I get it happening again I will let you know! You're right, generally cleaning the DB won't resolve it, I also have to clear local storage in my browser.

🫡