[Solved] Issues Receiving and Sending Federated Data
[Solved] Issues Receiving and Sending Federated Data
Hello! I recently turned up a Lemmy server but it appears there’s an issue communicating with other servers. Curling activity json is working for local users, communities, and posts. Does anyone see anything off? Trying to see a user or community apart of another server results in a 404 and vise versa.
For example viewing this community from my server results in a 404
https://lemmy.kutara.io/c/[email protected]
Viewing my account from this server results in 404 as well
https://sh.itjust.works/u/[email protected]
EDIT: Thanks for all the help! My solution was here https://sh.itjust.works/comment/113460
For a community or user to show up, you need to first search for it. Try entering
@[email protected]
on https://sh.itjust.works/search, and[email protected]
on https://lemmy.kutara.io/search (while logged in on those respective instances). After doing that those links shouldn't 404 anymore.I was able to look up your user from my personal instance this way: https://actuallyruben.nl/u/[email protected]
2 0 ReplyWas half-way through typing exactly that and you beat me to it :)
2 0 ReplyHeh, it's kinda unfortunate this explanation is needed anyway, I do hope they'll streamline this process somehow in the future.
2 0 Reply
Wow this was exactly it! Here I’m driving myself crazy for the past 4-5 hours. Thank you so very much. I was very confused because I can see other servers checking my .well_known and my nginx returning 200 responses. Which made me confused.
1 0 Reply
For example viewing this community from my server results in a 404
https://lemmy.kutara.io/c/[email protected]
Viewing my account from this server results in 404 as well
1 0 ReplyIf you use Nginx proxy manager this is what fixed my federation issues:
location / { # The default ports: # lemmy_ui_port: 1235(not used here) # lemmy_port: 8536 # The cooler port: # lemmy_ui_port: 1236 set $proxpass "http://172.16.7.20:1236"; if ($http_accept ~ "^application/.*$") { set $proxpass "http://172.16.7.20:8536"; } if ($request_method = POST) { set $proxpass "http://172.16.7.20:8536"; } proxy_pass $proxpass; rewrite ^(.+)/+$ $1 permanent; # Send actual client IP upstream proxy_set_header X-Real-IP $remote_addr; proxy_set_header Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; }
1 0 Reply