Hello all,

I am trying to understand what I need to do to ensure that my Lemmy instance can be federated, found, and usable with other instances and users. https://geekroom.tech/ is my instance.

Currently, the issues I’m running into are:

  • If I search for my own user@myInstance.tld from any other instance, nothing comes up.

  • When I try to add my instance to FediDB.org, it shows that my “Instance is invalid, unreachable or unavailable.”

  • When I subscribe to other communities from my instance, I am seeing posts, but no comments appear at all. I have verified that those same threads appear on the instance that they are generated on. (My understanding is that I should be able to see these comments and be able to respond to them)

  • All of the other communities that I have attempted to subscribe to are showing “Subscribe Pending”, but the 2 communities that I’ve created on my instance are obviously showing as Joined.

  • If I comment on a post from within my own instance, that post does not show up on the original post. (again, may be my misunderstanding of how to use Lemmy lol)

I know I’m asking a lot, but it seems to me that obviously something is misconfigured, or I’m using Lemmy wrong.

What am I doing wrong? I can post configs if needed.-

Edit1: Looks like, based on some changes I made here: https://lemmy.world/comment/15359241, that federation is now partially working as it is sending out activities… however, after waiting some more time eventually it shows that there are more activities that are behind (possibly after trying to edit a comment that I made and was trying to get it to post something to the feed)

Edit2: I have attempted to unsubscribe and resubscribe and it appears that is not working even after 24 hrs. The logs are showing when I am attempting to subscribe, and then the logs show that I am 1 activities behind for that action on all the subscribed servers. In addition, I changed the following:

set $proxpass "http://127.0.0.1:10633/";

to

set $proxpass "http://127.0.0.1:1234/";

However, I’m still not seeing any action on being up to date. I’m not seeing any new posts from other communities and I’m not seeing my comments on those remote subscribed communities showing up on the original posts.

Edit3: After doing some more digging, I believe I have found another part of the issue. So there’s the NGINX reverse proxy that I have installed at the host level, which redirects to port 127.0.0.1:10633 for the geekroomtech-proxy-1 container to serve content from.

If I set the initial $proxpass value to port 1234 it gives me a 502 bad gateway when doing the curl tests. If I set it as: set $proxpass “http://127.0.0.1:10633/”; then it returns values properly.

However, the issue becomes when I have these next two conditional sections that breaks the curl tests and goes back to 502 bad gateway:

        if ($http_accept = "application/activity+json") {
        set $proxpass "http://127.0.0.1:8536/";
        }
       if ($http_accept = "application/ld+json; profile=\"https://www.w3.org/ns/activitystreams/"") {
       set $proxpass "http://127.0.0.1:8536/";
       }

When inside the internal proxy that lemmy provides, I can issue: curl -H “Accept: application/activity+json” http://lemmy:8536/c/rDataHoarder and returns information properly.

So… I exposed the ports 8536 on the Lemmy container, and magically, I’m no longer getting the 502 bad gateway errors.

ports:
      - "127.0.0.1:8536:8536"

While I’m not seeing any failures for activity trying to come in, I’m still seeing communities aren’t updating, subscribes are still pending, and I’m still not getting any activity showing up in the feel.

  • rglullisA
    link
    fedilink
    English
    arrow-up
    1
    ·
    20 hours ago

    Seems to be working fine now. My instance can find yours without any problems.

    • Marmalade3@lemmy.worldOP
      link
      fedilink
      arrow-up
      1
      ·
      20 hours ago

      hmm… ok. I’m guessing it’s maybe the instances that i’ve tried searching on that aren’t picking it up yet or something. Because here on lemmy.world and also sh.itjust.works neither are picking up my instance.