Server disconnecting

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

Moderator: PhilipJFry

Server disconnecting

Postby n00blet » 27 Nov 2011, 05:52

Hi,

After I changed routers, I keep getting FAF error messages that say: "FA Server down. The server is down for maintenance. The program will exit now." Only button is "OK" on dialog.

The messages appear at what seems to be random, whether I am joined a game or not. If I am within a game when the message appears, I am disconnected from all the people in the game and I have to restart FAF.

Edit: To clarify, I only get disconnected while in FAF lobby/supcom lobby. The actual in-game part of supcom works perfectly fine.

I let FAF through the firewall and I am 99% sure that my ports are forwarded correctly but none of this fixed the problem. It crashes while I am not joined a game so it is not power lobby like some have suggested.

So I ran Wireshark and I noticed it captured a bunch of stuff before I was forced to disconnect. I have no idea what it means so I was hoping someone would be able to interpret it and tell me what the problem is. I can post the whole log if it might help. If not that, then maybe if someone has access to the FAF lobby source, they could tell me under what conditions that error is supposed to show up. I can even look at the code if I had access to it...

http://s8.postimage.org/vdzg2h243/Capture.png

Image
n00blet
Crusader
 
Posts: 13
Joined: 27 Nov 2011, 05:38
Has liked: 0 time
Been liked: 0 time

Re: Server disconnecting

Postby n00blet » 20 Dec 2011, 01:42

Bump.

Still a problem...
n00blet
Crusader
 
Posts: 13
Joined: 27 Nov 2011, 05:38
Has liked: 0 time
Been liked: 0 time

Re: Server disconnecting

Postby Ze_PilOt » 20 Dec 2011, 09:41

The connection to the server is a standard TCP connection, nothing fanzy.

are you on wifi ?
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: Server disconnecting

Postby n00blet » 21 Dec 2011, 02:36

Yes I am, but I can confirm 100% that the wifi connection is not the problem. The connection is still working when FAF dies and I can simply rejoin FAF by pressing "Ok" and restarting by clicking the icon.
n00blet
Crusader
 
Posts: 13
Joined: 27 Nov 2011, 05:38
Has liked: 0 time
Been liked: 0 time

Re: Server disconnecting

Postby Ze_PilOt » 21 Dec 2011, 09:16

That doesn't mean that the wifi connection is NOT the problem, it can be out for a moment.
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: Server disconnecting

Postby n00blet » 23 Dec 2011, 02:16

Thanks for the help ZeP but I am sure it is not the wifi connection because my connection never drops in game, but while in the FAF lobby, I am disconnected every 4 - 5 minutes. While I am waiting in FAF lobby, I am still browsing the web and after the disconnect message I can still do this so I don't think the wifi connection is dropping.

Another important thing I forgot to mention is that sometimes I am in chat, I will get that dialog box (since it is modal I can't click anywhere else in FAF), but if I leave the dialog box open, I can still see people talking in chat in the background, so the connection still seems to be active.

I know it may not help or it may be too vague, but can you do a search in the source code (of FAF or whatever is running on the server) for the exact string: "FAF Server down. The server is down for maintenance. The program will exit now.". It might help to know what checks it fails to trigger that dialog box.

Thanks.

Shardul
n00blet
Crusader
 
Posts: 13
Joined: 27 Nov 2011, 05:38
Has liked: 0 time
Been liked: 0 time

Re: Server disconnecting

Postby ToejamS » 25 Dec 2011, 14:39

That is strange. I find the netcode for FAF lobby to be bullet proof compared to gpgnet. Does this happen to gpgnet? The fact that you can connect means that the ports are correctly forwarded. The fact that it drops means that packets are getting lost.
http://en.wikipedia.org/wiki/Packet_loss

The only time I have ever experienced faf server dropping is when I using torrents. I have a cheapo router that my ISP suggested is having memory leaks.

Have/can you try an ethernet cable for a while. If this stops the drops then the issue is indeed wireless interference. It could be anything from your next door neigbour using a microwave to an electric drill.
ToejamS
Avatar-of-War
 
Posts: 296
Joined: 26 Aug 2011, 18:03
Has liked: 0 time
Been liked: 1 time
FAF User Name: ToejamS

Re: Server disconnecting

Postby n00blet » 26 Dec 2011, 02:33

It doesn't happen in gpgnet although I don't play much there because of the different balance so it is worth a check. I will probably try and move to ethernet and see what happens and update here if that does not fix anything.

Thanks for the help.
n00blet
Crusader
 
Posts: 13
Joined: 27 Nov 2011, 05:38
Has liked: 0 time
Been liked: 0 time

Re: Server disconnecting

Postby n00blet » 26 Dec 2011, 06:03

Just tried it on my desktop with an ethernet connection. Same problem happens as when on a wireless connection.

If it was packet loss, wouldn't my connection in-game be affected too (Desyncs and such)? I don't have any problem at all in game so now I am wondering what the problem is...no chance I could get access to the FAF source right? :P
n00blet
Crusader
 
Posts: 13
Joined: 27 Nov 2011, 05:38
Has liked: 0 time
Been liked: 0 time

Re: Server disconnecting

Postby Ze_PilOt » 26 Dec 2011, 12:25

I'm using the QT TCP protocol, so there is really nothing fancy in it.

http://doc.qt.nokia.com/4.7-snapshot/qtnetwork.html
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

Next

Return to Tech Support

Who is online

Users browsing this forum: No registered users and 1 guest