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.

  • cybersandwich@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    11 months ago

    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.