I have been trying to get an instance set up with lemmy ansible for a while and I got to the last step but if I try to access the instance via the proxy container -which I think is the right one- I get a 502 error. I was looking in the logs and I got this error message

2024/01/20 23:02:15 [error] 29#29: *1 lemmy-ui could not be resolved (3: Host not found), client: 192.168.178.62, server: localhost, request: "GET / HTTP/1.1", host: "192.168.178.57:13330"

it has 2 IPs, one isn’t the machine’s local ip (192.168.178.62) and I know it isn’t my public ip. Is this actually the problem and if it is how do I fix this? I’ve been looking at old github issues about the same error but none of them are the same problem as mine.

you may need to check your server’s DNS configuration or make sure that the hostname “lemmy-ui” is correctly defined and reachable in your network. It looks like it’s expecting the lemmy-ui to be on the .57 machine. If you are expecting it on the .62 then something is misconfigured in the script.

It just looks like it can’t find that host.

Sorry I can’t be more help. I don’t run a Lemmy instance and I’m not familiar with the ansible config you are using.

@arudesalad@sh.itjust.works
creator
link
fedilink
English
18M

It’s on the .57 machine and in the same docker environment as the proxy

Create a post

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.

Rules:

  1. Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it’s not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

  • 1 user online
  • 279 users / day
  • 589 users / week
  • 1.34K users / month
  • 4.55K users / 6 months
  • 1 subscriber
  • 3.49K Posts
  • 69.8K Comments
  • Modlog