Remote search do not work #966

Open
opened 2025-02-21 04:57:27 +13:00 by dtonon · 6 comments
dtonon commented 2025-02-21 04:57:27 +13:00 (Migrated from github.com)

I have nos.lol and chronicle.dtonon.com as search relays, if I search "fiatjaf" nothing happens.

I have nos.lol and chronicle.dtonon.com as search relays, if I search "fiatjaf" nothing happens.
dtonon commented 2025-02-21 05:10:04 +13:00 (Migrated from github.com)

Same problem in ea6bb84.

Same problem in ea6bb84.
mikedilger commented 2025-02-21 13:43:35 +13:00 (Migrated from github.com)

Ok, it works with just one relay set. I'm getting errors in the logs when multiple relays are set. I'll look into this.

In the meantime, I updated the relay UI so you can filter by the new bits like search, dm, spamsafe, and discover (and removed advertise which was retired).

Ok, it works with just one relay set. I'm getting errors in the logs when multiple relays are set. I'll look into this. In the meantime, I updated the relay UI so you can filter by the new bits like search, dm, spamsafe, and discover (and removed advertise which was retired).
mikedilger commented 2025-02-26 09:32:27 +13:00 (Migrated from github.com)

nos.lol does not support search: wss://nos.lol/: NOTICE: ERROR: bad req: unrecognised filter item also 50 is not listed in the NIP-11.

chronicle.dtonon.com doesn't claim to support search (50 is not listed in NIP-11), but also I'm not getting any results from this relay (maybe it only likes you).

What we need to fix:

  1. Do not allow the SEARCH switch to be turned on for relays that do not support NIP-50 in their NIP-11
  2. Detect when all the search subscriptions complete to update the "searching..." state.
nos.lol does not support search: `wss://nos.lol/: NOTICE: ERROR: bad req: unrecognised filter item` also 50 is not listed in the NIP-11. chronicle.dtonon.com doesn't claim to support search (50 is not listed in NIP-11), but also I'm not getting any results from this relay (maybe it only likes you). What we need to fix: 1) Do not allow the SEARCH switch to be turned on for relays that do not support NIP-50 in their NIP-11 2) Detect when all the search subscriptions complete to update the "searching..." state.
dtonon commented 2025-02-26 09:35:48 +13:00 (Migrated from github.com)

Oh actually I didn't pay attention to check the relays' compatibility!

Oh actually I didn't pay attention to check the relays' compatibility!
mikedilger commented 2025-02-26 09:44:47 +13:00 (Migrated from github.com)

Most relays don't support search: strfry, nostream, chorus, khatru (maybe with khatru you can add search on top)

Most relays don't support search: strfry, nostream, chorus, khatru (maybe with khatru you can add search on top)
mikedilger commented 2025-02-26 12:35:07 +13:00 (Migrated from github.com)

I have disabled the search switch for relays that do not declare support for NIP-50

I have disabled the search switch for relays that do not declare support for NIP-50
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nostr/gossip#966
No description provided.