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?

  • BrikoX
    link
    fedilink
    English
    31 year ago

    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
      link
      fedilink
      English
      31 year ago

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

    • @Die4Ever@programming.devOP
      link
      fedilink
      English
      2
      edit-2
      1 year ago

      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
        link
        fedilink
        English
        21 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.

  • CommunityLinkFixerBotB
    link
    English
    21 year ago

    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