(bug report) same network connection issues (lobby)

This is for troubleshooting of problems with the FAF client and Forged Alliance game.

Moderator: PhilipJFry

(bug report) same network connection issues (lobby)

Postby srs008 » 01 Sep 2018, 13:15

okay, i have no idea where to post this, but at least i figure it's also helpful for a few people.

setup - we play as a group, me and my brother play from our network of course, usually i'm dmz'ed for some hosting capabilities (we host based on the game, e.g i'll host a game like stellaris that benefits from multithreading, since i run a ryzen 1800x,
the i5 that clocks in at 4.5ghz is used for older games, like supcom)

although we have had issues (namely port related juggling), we usually play together without issues once setup.

-------------------
we had to tackle an oddity off the bat, my brothers computer and mine could not even see eachother in lobby. as in we could join the same game, but only one at a time. obviously something was funky.
we fixed this by putting his laptop on a lan cable instead. (i use a lan cable too, no wifi)
we could now get further, we could get "establishing connection" in the lobby, but we'd never actually connect.
after consulting the log file, i discovered my machine was sending him off to "redshell.io"...
after a few minutes, i tracked to this to my modified hosts file, first entry for "127.0.0.1" (as in, no redshell function)
...
for whatever reason, my machine was translating it's LOCAL network ip address into 127.0.0.1, and sending the resolved name
(redshell.io) at the client.
since the client does not have the same hosts file, they actually TRY to access redshell.io...
this is a problem in general, since programs use this trick for other reasons, e.g spybot search and destroy adds 1000's of entries to stop your pc accessing nasty websites. (immunization feature).
...
both machines of course, are windows 10 x64, and kept fairly up to date.
they both regularly play many games between them, as well as to a outside server.
in short, it's safe to say it's something closer to the faf client.
srs008
 
Posts: 1
Joined: 01 Sep 2018, 12:41
Has liked: 0 time
Been liked: 0 time
FAF User Name: srs008

Re: (bug report) same network connection issues (lobby)

Postby PhilipJFry » 02 Sep 2018, 07:02

please post logs from both machines (game and client log)

what you need to do to play with multiple people on faf who are on the same local network:
make sure each uses a different port (the port can be changed in the client settings)
make sure you forward said port (your router has to support hairpinning for this)
if that doesn't work then you can use a vpn with one machine as a workaround
cats>dogs
post logs
User avatar
PhilipJFry
Supreme Commander
 
Posts: 2635
Joined: 23 Mar 2016, 21:16
Location: Austria
Has liked: 232 times
Been liked: 348 times
FAF User Name: PhilipJFry

Re: (bug report) same network connection issues (lobby)

Postby Geosearchef » 02 Sep 2018, 10:32

FAF's current connection solution is a bit fragile, afaik it won't be able to connect two computers on the same network as long as they aren't able to communicate via their public addresses, hence why you will need to port forward and change the port setting in each client.

This could change with something called the ICE adapter which will allow us to connect you and your brother via LAN while connecting you to others via udp hole punching (getting through a firewall without portforwarding) or in worst case relaying via server. This project is currently in developement (since 1.5 years) and nearing its deployment (we're hoping for 24th of september). You can check out the FAF discord where I'm regularly running ICE Tests with volunteers to fix any remaining issues.

Do you want to play wirh other people on FAF or is it just you, your brother and some friends? In the latter case I could send you a developement version of the adapter which should enable you to play but will not work in any game with people not running the adapter.
Developer, Server Admin, ICE, currently working on Team Matchmaking, FAF Client
User avatar
Geosearchef
Contributor
 
Posts: 392
Joined: 18 Oct 2013, 14:08
Location: Germany
Has liked: 6 times
Been liked: 127 times
FAF User Name: Geosearchef


Return to Tech Support

Who is online

Users browsing this forum: No registered users and 1 guest