SRCDS Steam group

Left 4 Dead server loses connection with steam after period of time; needs restart
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:
Adding master server
Adding master server
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:
./srcds_run -autoupdate -console -game left4dead +hostport 27015 +ip +maxplayers 4 +map l4d_hospital01_apartment

My server.cfg:
//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

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.
When it loses connection I assume it no longer displays in your Steam Group List for Left 4 Dead? I have the same problem, I like how no one has responded to something so important.

Forum Jump:

Users browsing this thread: 1 Guest(s)