I have a Left 4 Dead dedicated server running on my linux server behind a router. I have no problems setting it up, getting it to run, and associating it with a steam group.
One thing I have noticed, however, is that after some period of time (maybe a day or two) if no one has connected to the server then I see an error in the console about connection to steam servers lost.
Console output:
It seems that it can never re-connect to the steam servers in this situation? Is there something I haven't set up properly?
I've searched around and it seems like other people see this issue, but I haven't been able to find a solution yet.
I have forwarded port 27015 on my router and have no problems with outside people connecting and playing on the server.
My command line:
My server.cfg:
I should also add that if I restart the server then the connection to the steam servers is successful and everything works again.
One thing I have noticed, however, is that after some period of time (maybe a day or two) if no one has connected to the server then I see an error in the console about connection to steam servers lost.
Console output:
Code:
Adding master server 69.28.140.247:27011
Adding master server 72.165.61.136:27014
Connection to Steam servers successful.
VAC secure mode is activated.
Connection to Steam servers lost.
VAC secure mode is activated.
Connection to Steam servers lost.
It seems that it can never re-connect to the steam servers in this situation? Is there something I haven't set up properly?
I've searched around and it seems like other people see this issue, but I haven't been able to find a solution yet.
I have forwarded port 27015 on my router and have no problems with outside people connecting and playing on the server.
My command line:
Code:
./srcds_run -autoupdate -console -game left4dead +hostport 27015 +ip 192.168.1.50 +maxplayers 4 +map l4d_hospital01_apartment
My server.cfg:
Code:
//L4D Server configuration
//Server name
hostname "XXXXXXXX"
//Remote console password
rcon_password "XXXXXXXX"
//Group and lobby settings
sv_steamgroup XXXXXXXX //Steam group associated with server
sv_search_key "XXXXXXXX" //Search key for lobby
sv_gametypes "coop,survival" //Gametypes supported
sv_allow_lobby_connect_only 0 //Connect through lobby only
//Logging
log on //Toggle logging
sv_log_onefile 0 //Log server information to only one file
sv_logbans 1 //Log server bans in the server logs
sv_logecho 0 //Echo log information to the console
sv_logfile 1 //Log server information in the log file
sv_logflush 0 //Flush the log file to disk on each write (slow)
sv_logsdir logs //Folder in the game directory where server logs will be stored
//Game Settings
sv_cheats 0 //Toggle cheats
sv_pausable 0 //Allow pausing of the server
I should also add that if I restart the server then the connection to the steam servers is successful and everything works again.