Connection Issues in GW

Connection Issues in GW

Postby Deering » 15 Apr 2014, 18:44

Since the fixes this week I have been having more problems connecting to people. I have 6112 forwarded to my pc. The odd thing is straight before/after failing to connect in gw we can connect fine in a custom game. Wondering if there is anything else I can do to try to help this.

Also while in setting up automatch the timeout is broken. It sometimes works and sometimes does not. Have just sat in the screen for 20 minutes without timeout. Logs below.
Attachments
game.log
(42.8 KiB) Downloaded 125 times
forever.log
(236.93 KiB) Downloaded 119 times
Deering
Evaluator
 
Posts: 673
Joined: 18 Sep 2013, 11:47
Has liked: 16 times
Been liked: 41 times
FAF User Name: Deering

Re: Connection Issues in GW

Postby Eximius » 15 Apr 2014, 19:07

Deering's router's port forwarding is broken and doesn't let through the packets. The game defaults to proxy for us both in custom and GW games. The problem in GW it seems, is that the packets never get through the proxy to the other end.

I also opened the zips for GW and FAF game modes and GW has different lobby code, which might be why this is happening.
(lua code for p2p connection handling should be identical?)

I'm attaching my side of the logs here.

My forever.log is actually a debugger console dump, because I was running faf in a debugger.
For reference, I am attaching game_control.log which is a custom game log (in which we were connected over the proxy correctly).
Attachments
game_control.log
Custom Game Log
(48.62 KiB) Downloaded 120 times
game.log
GW Game Log
(39.63 KiB) Downloaded 136 times
forever.log
FAF Debugger Console Dump
(114.96 KiB) Downloaded 123 times
Eximius
Crusader
 
Posts: 13
Joined: 16 Mar 2014, 00:41
Has liked: 1 time
Been liked: 13 times
FAF User Name: Eximius

Re: Connection Issues in GW

Postby Ze_PilOt » 19 Apr 2014, 16:04

The lobby is not used in GW, so it doesn't matter.
Nossa wrote:I've never played GPG or even heard of FA until FAF started blowing up.
User avatar
Ze_PilOt
Supreme Commander
 
Posts: 8985
Joined: 24 Aug 2011, 18:41
Location: fafland
Has liked: 18 times
Been liked: 376 times
FAF User Name: Ze_PilOt

Re: Connection Issues in GW

Postby Eximius » 19 Apr 2014, 17:20

Is lobby(Comm) not used to set up the p2p connections at start? Well there is one thing that is peculiar is that normal FAF uses a weird lobbyComm.lua as it does not log System messages. (Even though both lobby.nxt and faforever.faf have the logging enabled (Though I really do not know the structure of FAF, so I'm just going on hunches here)).

If lobby(Comm).lua is not even used in GW, why is it in the package?

The connection behaviour in GW in this instance seems to be:
Regular: Peer ~> Host ; Connect
Regular: Host ~(fail)~> Peer ; Connection response (Never reaches Peer)
Proxy: Peer ~> Host ; Connect
Proxy: Host ~(reject)~>Peer ; Unexpected connection
Regular: Host ~(Disconnect)~>Peer ; (Regular connection failure?)
Proxy: Peer ~> Host ; Connect
Proxy: Host ~(fail)~> Peer ; Connection response (Never reaches Peer)

EDIT: Noted the LIES AND SLANDER I wrote.
EDITEDIT: I was right the first time. I honestly doubt myself way too much.
Last edited by Eximius on 20 Apr 2014, 01:01, edited 2 times in total.
Eximius
Crusader
 
Posts: 13
Joined: 16 Mar 2014, 00:41
Has liked: 1 time
Been liked: 13 times
FAF User Name: Eximius

Re: Connection Issues in GW

Postby Ze_PilOt » 19 Apr 2014, 18:21

No idea what you are talking about. There is no special lobbycom for GW.
Nossa wrote:I've never played GPG or even heard of FA until FAF started blowing up.
User avatar
Ze_PilOt
Supreme Commander
 
Posts: 8985
Joined: 24 Aug 2011, 18:41
Location: fafland
Has liked: 18 times
Been liked: 376 times
FAF User Name: Ze_PilOt

Re: Connection Issues in GW

Postby Deering » 19 Apr 2014, 18:28

Ok, so is there anything I can do about connection issues or any reason why they would appear in gw and not in a custom game
Deering
Evaluator
 
Posts: 673
Joined: 18 Sep 2013, 11:47
Has liked: 16 times
Been liked: 41 times
FAF User Name: Deering

Re: Connection Issues in GW

Postby Ze_PilOt » 19 Apr 2014, 19:20

Are you sure you are able to connect to these players in custom game?

If so, I need logs when you failed on GW but succeed on custom, with the same exact players.
Nossa wrote:I've never played GPG or even heard of FA until FAF started blowing up.
User avatar
Ze_PilOt
Supreme Commander
 
Posts: 8985
Joined: 24 Aug 2011, 18:41
Location: fafland
Has liked: 18 times
Been liked: 376 times
FAF User Name: Ze_PilOt

Re: Connection Issues in GW

Postby Eximius » 19 Apr 2014, 21:12

We did exactly that with the control game. Also, my thoughts on the connection pattern were completely wrong. EDIT: Nope!

Our forever.log s contain both games. (Look at the last 2 game slavings only in Deering's log.)

I looked at both forever.log s and it seems that the connection slaving on the client worked both times, but the GW in-game is still stuck at 'Setting up automatch...' and not timing out.
Eximius
Crusader
 
Posts: 13
Joined: 16 Mar 2014, 00:41
Has liked: 1 time
Been liked: 13 times
FAF User Name: Eximius

Re: Connection Issues in GW

Postby Ze_PilOt » 20 Apr 2014, 10:41

Please retry and post logs of both attempt for all players.
Nossa wrote:I've never played GPG or even heard of FA until FAF started blowing up.
User avatar
Ze_PilOt
Supreme Commander
 
Posts: 8985
Joined: 24 Aug 2011, 18:41
Location: fafland
Has liked: 18 times
Been liked: 376 times
FAF User Name: Ze_PilOt

Re: Connection Issues in GW

Postby Deering » 20 Apr 2014, 10:47

Will do, currently on a different internet connection so will see what happens on it. Will try to imitate it sometime in the next week.
Deering
Evaluator
 
Posts: 673
Joined: 18 Sep 2013, 11:47
Has liked: 16 times
Been liked: 41 times
FAF User Name: Deering

Next

Return to Galactic War

Who is online

Users browsing this forum: No registered users and 1 guest