this post was submitted on 07 Jul 2023
7 points (81.8% liked)

Lemmy

12541 readers
38 users here now

Everything about Lemmy; bugs, gripes, praises, and advocacy.

For discussion about the lemmy.ml instance, go to !meta@lemmy.ml.

founded 4 years ago
MODERATORS
 

EDIT: seems like BrikoX figured it out, cross-instance searches only work when logged in, I filed a feature request to make this more clear to the user https://github.com/LemmyNet/lemmy-ui/issues/1862

I spun up my own little instance, and I'm able to search for the community from some other instances but not all of them and I don't know why

works: https://programming.dev/search?q=https%3A%2F%2Flemmy.mods4ever.com%2Fc%2Fmeta&type=Communities&listingType=All&page=1&sort=TopAll

fails: https://lemmy.ml/search?q=https%3A%2F%2Flemmy.mods4ever.com%2Fc%2Fmeta&type=Communities&listingType=All&page=1&sort=TopAll

the curl command works fine

curl -H "Accept: application/activity+json" https://lemmy.mods4ever.com/c/meta

maybe Lemmy should dump some debugging info about these searches into the javascript console so we can debug these more easily?

top 7 comments
sorted by: hot top controversial new old
[–] BrikoX@vlemmy.net 3 points 1 year ago (2 children)

Fails on both for me. I think you need to be logged in for it to pull it. And as you are from programming.dev it works for you there. And since I'm from neither it fails on both.

[–] BrikoX@vlemmy.net 3 points 1 year ago

It works if I search for it on my instance where I'm logged in.

[–] Die4Ever@programming.dev 2 points 1 year ago* (last edited 1 year ago) (1 children)

oh wow you need to be logged in for it to work? that sorta makes sense to not flood the server but very unintuitive, maybe it could instead make a link to that instance natively instead of remotely?

yea it doesn't work if I do it incognito

[–] BrikoX@vlemmy.net 2 points 1 year ago

There are a lot of add-ons and userscripts that reformat the links automatically, not sure if or when it's planned to be part of Lemmy.

Hi there! Looks like you linked to a Lemmy community using an URL instead of its name, which doesn't work well for people on different instances. Try fixing it like this: !meta@lemmy.mods4ever.com

[–] RoundSparrow@lemmy.ml 1 points 1 year ago

mods4ever

We are Mods! Quadrophenia forever! https://www.youtube.com/watch?v=Pzw-T6WMGkg