Server shutdown problem


(ButchCassidy) #1

Spawn the server on mp/aquarium but it seems at the end of the map the server seems to shutdown and i get this message in the console…

DisconnectSafe: Appending cmd system disconnect…
=== D I S C O N N E C T ===
--------- Game Map Shutdown ----------

Any ideas?


(nopantscat) #2

Do you have a map rotation set?

I think mine is doing the same thing; it goes through the map rotation once and instead of looping through it, it just turns itself off after 1 run through.


(Warbucks) #3

[QUOTE=nopantscat;298229]Do you have a map rotation set?

I think mine is doing the same thing; it goes through the map rotation once and instead of looping through it, it just turns itself off after 1 run through.[/QUOTE]

I’m seeing the same behavior.


(ButchCassidy) #4

g_mapRotationFixed “mp/aquarium,mp/ccity,mp/reactor,mp/refuel,mp/resort,mp/sectow,mp/shipyard,mp/terminal”

spawnServer mp/aquarium.entities

Thats what is set in my cfg…but the server seems to be refusing to move past mp/aquarium


(cralexns) #5

All of my servers eventually shut themselves down and just sit there idling in the console.

I get the following message:

The connection to game session has been lost.
DisconnectSafe: Appending cmd system disconnect…
=== D I S C O N N E C T ===
--------- Game Map Shutdown ----------


(cralexns) #6

One of my servers just shutdown again with the same message after running all night, is there anything I can do to make it close the console when it shuts down or automatically load a map again?


(Busterking) #7

can you post your server.cfg file, make sure to remove the passwords.


(cralexns) #8
si_name "Servername"
net_serverAllowHijacking 1
si_maxPlayers 16
si_minPlayers 1
si_teamForceBalance 1
si_warmupSpawn 1
logFile 1
logFileName f5console.log
exec server_objective_standard_vs.cfg
spawnServer mp/aquarium

(falcN) #9

[QUOTE=cralexns;299457]All of my servers eventually shut themselves down and just sit there idling in the console.

I get the following message:[/QUOTE]

I bet that this is caused by the server losing its steam-connection.

If you look into the connection-log, found in B/logs/connection_log_(ServerPort).txt[/B], you probably will find entries similar to this:

[2011-05-12 11:38:58][0,0] : Log session started
[2011-05-12 11:38:58][0,0] : SetSteamID( [A:1:0:0] )
[2011-05-12 11:38:58][1,1] : Connect() starting connection (eNetQOSLevelLow, 68.142.91.35:27017, TCP)
[2011-05-12 11:38:59][1,1] : ConnectionCompleted() (68.142.91.35:27017, TCP)
[2011-05-12 11:38:59][1,1] : RecvMsgClientLogOnResponse() : [A:1:2847887382:2633] 'OK' 
[2011-05-12 11:58:06][3,1] : RecvMsgClientLoggedOff('Service Unavailable')
[2011-05-12 11:58:06][3,1] : AsyncDisconnect()
[2011-05-12 11:58:06][0,0] : ConnectionDisconnected('Disconnected By Remote Host') : 'Service Unavailable' (68.142.91.35:27017, TCP)
[2011-05-12 11:58:06][0,0] : TCP disconnect
[2011-05-12 11:58:06][0,0] : StartAutoReconnect() will start in 8 seconds
[2011-05-12 11:58:06][0,0] : LogOff()
[2011-05-12 11:58:06][0,0] : Log session ended

If you look closer, you can see that the server is started 11:38 and successfully establishes a connection to a steam-server (68.142.91.35:27017 in my case). However it loses the connection to steam on 11:58. Looking at the line where it states, that it will auto-reconnect there should be a method for auto-reconnection implemented. BUT this method never has the chance to reconnect, the game session gets shutdown immediately afterwards (look at the timestamps - this all happens at the same second 11:58:06).

If i should be right, this would really be a nasty bug. Because everytime your server loses the connection to the Steam-Master-Server, it will shutdown the server, showing the “The connection to game session has been lost.” error in the console (and it doesn’t matter if the server is empty or not).


(cralexns) #10

I’ve noticed the same in my connection logs but I wonder though, if this is a general problem (like a steam authentication reconnect not working correctly) then why aren’t there more reports coming in about it?


(ButchCassidy) #11

I think people are assuming they are crashes when in fact many of them are Steam connection drop outs.
As we can see above and in various other posts, many people are experiencing similar problems with this error…

Nice find FalcN


(humbug) #12

does anyone think it’s related to the non-binding of IP addresses on the listen/list and auth ports?


(ButchCassidy) #13

I don’t think it is…Reading the connection log it appears the server simply fails to log on after it has been running for a few hours and even the length of time seems random…

For a game that is supposed to blur the lines between SP/MP it seems the MP part is being blacked out rather than blurred…

I can not believe that SD have released a game which is in essence largely MP and failed to release a robust and stable dedicated server.

What on earth did they think people would say when it all failed to meet expectations…“oh well never mind”…lol

These server stability issues are now a priority in terms of fixing and when i say priority that means they need fixing now…
Because Europe gets Brink Tomorrow and that will just double the pain and complaints…

So come SD please get this sorted…:wink:

The connection to game session has been lost.
DisconnectSafe: Appending cmd system disconnect…
=== D I S C O N N E C T ===
--------- Game Map Shutdown ----------


(deelight) #14

i think it is still an IP Bind problem. I have two Servers, one with two IP’s one with just one ip. I ve got no problems to start a servers on the server with only one ip but no server starts on the other one. it does not matter if i use the +set ip or not, the server fails to start on this maschine. (one IP is only internal/private network, one ip is public)

i got this error evrytime:


00:35 to load maps/mp/aquarium.entities
The connection to game session has been lost.
DisconnectSafe: Appending cmd system disconnect…
The connection to game session has been lost.
DisconnectSafe: Appending cmd system disconnect…
The connection to game session has been lost.
DisconnectSafe: Appending cmd system disconnect…
The connection to game session has been lost.
DisconnectSafe: Appending cmd system disconnect…
=== D I S C O N N E C T ===
--------- Game Map Shutdown ----------

*Edit:

It seams to me that the server is trying to connect somewhere but it fails:

[2011-05-12 14:38:32][0,0] : Log session started
[2011-05-12 14:38:32][0,0] : SetSteamID( [A:1:0:0] )
[2011-05-12 14:38:32][1,2] : Connect() starting connection (eNetQOSLevelLow, 81.171.115.8:27017, UDP)
[2011-05-12 14:38:37][1,2] : ConnectFailed(‘Connection Failed’) (81.171.115.8:27017, UDP)
[2011-05-12 14:38:37][0,0] : StartAutoReconnect() will start in 6 seconds
[2011-05-12 14:38:42][0,0] : LogOff()
[2011-05-12 14:38:42][0,0] : Log session ended

I’ve got several entries in the log file which are looking like that…


(cralexns) #15

My server does not have any additional IP adresses assigned at the moment, I can start several servers without any problems but they will shut down at random, there is no specific time interval that I have seen thus far. Noticed a server going down as soon as 20 minutes after starting it but I’ve also had all of my servers run over the night without any problems.


(ButchCassidy) #16

[QUOTE=deelight;300805]i think it is still an IP Bind problem. I have two Servers, one with two IP’s one with just one ip. I ve got no problems to start a servers on the server with only one ip but no server starts on the other one. it does not matter if i use the +set ip or not, the server fails to start on this maschine. (one IP is only internal/private network, one ip is public)

i got this error everytime…[/QUOTE]

I have run my servers both with the IP bind and without the IP bind and i still get these random shutdowns or logoffs.

So far I have failed to get the IP bind to work?
I’m not even sure if the +set net_ip command has been fixed yet?

Either way I don’t believe the errors are with how admins are setting up their servers.
It seems to be a bug in the server build, which is pretty poor I think at this stage…


(humbug) #17

[QUOTE=deelight;300805]

It seams to me that the server is trying to connect somewhere but it fails:

[2011-05-12 14:38:32][0,0] : Log session started
[2011-05-12 14:38:32][0,0] : SetSteamID( [A:1:0:0] )
[2011-05-12 14:38:32][1,2] : Connect() starting connection (eNetQOSLevelLow, 81.171.115.8:27017, UDP)
[2011-05-12 14:38:37][1,2] : ConnectFailed(‘Connection Failed’) (81.171.115.8:27017, UDP)
[2011-05-12 14:38:37][0,0] : StartAutoReconnect() will start in 6 seconds
[2011-05-12 14:38:42][0,0] : LogOff()
[2011-05-12 14:38:42][0,0] : Log session ended

I’ve got several entries in the log file which are looking like that…[/QUOTE]

81.171.115.8:27017 is a valve server (maybe a master server for authentication), perhaps this is a problem with Valve servers? (wouldn’t be the first time :tongue: )


(deelight) #18

there are similar entrys in the log with other ip’s … if it’s a steam problem nearly 20 steam servers are down or unreachable


(falcN) #19

[QUOTE=ButchCassidy;300690]I think people are assuming they are crashes when in fact many of them are Steam connection drop outs.
As we can see above and in various other posts, many people are experiencing similar problems with this error…[/QUOTE]

Yep, basically you can differentiate between 2 things:

  • a “real crash” of the process (which results in the console disappearing, when it happens)
  • the “game session” just shutting down and the console still alive

A “real crash” normally also saves a memory dump of the brink.exe-process into the server folder.

Normally dedicated servers should connect and auth to steam via a tcp connection imho. In your case the server seems to be trying to connect via udp, which is a bit weird. You could use “netstat -an” to proof which ports and protocols are actually used and which ips the server is actually using (atm the serverPort normally binds to the ip defined by +set net_ip and the serverPortMaster binds to all interfaces/0.0.0.0, which probably is another bug).


(ButchCassidy) #20

Very strangely my servers have stopped shutting down.
I have gone for a custom cfg but that did not seem to work until i set serverSpawn mp/shipyard.

Which suggests that the problem maybe map/steam server based?

The servers have now been online for over 12 hours…
I’ll keep checking it and if no further problems occur i’ll post the cfg and command line…