this post was submitted on 10 Jun 2023
9 points (100.0% liked)

Lemmy Support

4652 readers
1 users here now

Support / questions about Lemmy.

Matrix Space: #lemmy-space

founded 5 years ago
MODERATORS
 

Well, I have an instance running. At startup it outputs federation enabled, host is redacted, but I don't see anything when looking at all. I can't search for other instance communities. I thought I would be able to use my local instance to browse other instance/communities and post there from my instance. Is that not how this works? Did I miss a step setting it up?

Some more details: Any search I do results in a timeout error. This is from the lemmy logs.

In all my years of software development and testing, I've never seen an HTTP status code 101... 101: switching protocols


UPDATE: it's fixed!

Thanks to @pe1uca@lemmy.pe1uca.dev who pointed me in the right direction, and thank you everyone who contributed to this post in the comments with suggestions and support!

Here are the steps:

add a new network interface

docker network create lemmyexternal

connect the lemmy container (lemmy_lemmy_1, unless you renamed it)

docker network connect NETWORK_ID CONTAINER_ID

(you can get the network and container IDs with docker network ls and docker container ls)

modify the docker-compose.yml to add the new network, and link it to the lemmy service

networks:
  # communication to web and clients
  lemmyexternalproxy:
  lemmyexternal:
  # communication between lemmy services
  lemmyinternal:
    driver: bridge
    internal: true
services:
  lemmy:
    image: dessalines/lemmy:0.17.4-rc.1
    hostname: lemmy
    networks:
      - lemmyinternal
      - lemmyexternal

save, and restart

docker-compose restart

you are viewing a single comment's thread
view the rest of the comments
[–] slashzero@lemmy.ml 2 points 1 year ago* (last edited 1 year ago) (20 children)

https://hakbox.social

Please let me know if it isn't working. My block & allow lists are empty.

[–] knova@links.dartboard.social 2 points 1 year ago (17 children)

Just submitted a test post to you.

When you search for remote communities, make sure you are searching for the entire URL (https://hakbox.social/c/test) or the shortcode (!test@hakbox.social)

So for my social community, it would be !social@links.dartboard.social or https://links.dartboard.social/c/social

[–] tezoatlipoca@lemmy.ca 2 points 1 year ago (10 children)

I think mebbe that's what OP is missing. A new (empty) instance doesn't know anything about what other communities exist. @slashzero@lemmy.ml you gotta search for the communities before your instance will start snarfing posts.

[–] slashzero@lemmy.ml 1 points 1 year ago* (last edited 1 year ago) (2 children)

Thanks! I've been searching for known communities I have posts in, but not getting any hits. Using the full shorthand, like: [!wow@lemmy.ml](/c/wow@lemmy.ml) there are no results.

[–] tezoatlipoca@lemmy.ca 2 points 1 year ago (1 children)

I also find that sometimes the search takes... a while?

So by wow you're talking about the world of warcraft community @ lemmy.ml?

Took a bit of futzing in the search screen but I see it:

[–] slashzero@lemmy.ml 1 points 1 year ago* (last edited 1 year ago) (1 children)

Yes, I have a few comments in the world of warcraft community on lemmy.ml. When I search for that using the shortcode: !wow@lemmy.ml , I get an immediate response with no results.

Server side, there is a timeout error in the log, but that is timing out in less than a second.

I wonder if instances need to be allowed to interact with lemmy.ml?

[–] tezoatlipoca@lemmy.ca 2 points 1 year ago (1 children)

Naw, because sometimes it works and sometimes it don't. I think lemmy.ml is just getting slammed right now.

Try it with a community from a different instance.

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

That's a great idea. I will try some other communities.

[–] tezoatlipoca@lemmy.ca 2 points 1 year ago (1 children)

Its federating to lemmy.ca now. : https://lemmy.ca/c/wow@lemmy.ml

I just had to bash the search form a few times. Intra-instance community discovery/seraching seems to be a bit "sticky" for lack of a better way to describe.

Also, as the "prime" instance lemmy.ml is getting hammered with new Reddit exodus users at the moment, so I suspect lemmy.ml may not be the most responsive atm.

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

Its federating to lemmy.ca now. : https://lemmy.ca/c/wow@lemmy.ml

I tried search for https://lemmy.ca/c/wow@lemmy.ml for giggles, and that also had the exact timeout error.

load more comments (7 replies)
load more comments (13 replies)
load more comments (15 replies)