[Bug 46940] GTA 5 clients cannot connect to each other behind home router

WineHQ Bugzilla wine-bugs at winehq.org
Tue Sep 24 17:38:33 CDT 2019


https://bugs.winehq.org/show_bug.cgi?id=46940

--- Comment #3 from Brendan Shanks <bshanks at codeweavers.com> ---
Does Manjaro/Arch define the local hostname to be '127.0.1.1' in /etc/hosts?
If so, can you try commenting out the line and then testing GTA V?

Debian/Ubuntu do this (see
https://www.debian.org/doc/manuals/debian-reference/ch05.en.html#_the_hostname_resolution),
and I think it may be causing this issue.

GTA V calls getaddrinfo() with the local hostname (returned by gethostname()),
and on my Ubuntu system this returns only '127.0.1.1'. GTA V shows this as the
"local IP" in the Social Club overlay->Settings->Network, and I suspect it's
trying to use it for network listening.
With the '127.0.1.1' line commented out in /etc/hosts, GTA V at least shows the
correct local IP.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list