RCON timeout

141 views
Skip to first unread message

Rho Puffinman

unread,
Oct 13, 2013, 12:35:21 AM10/13/13
to steam-c...@googlegroups.com
I'm getting some server timeouts after trying to pass more than a couple of commands to a server:

Fatal error: Uncaught exception 'TimeoutException' with message 'The operation timed out.' in /usr/www/rho/secure/steam-condenser/vendor/koraktor/steam-condenser/lib/steam/sockets/SteamSocket.php:108 Stack trace: #0 /usr/www/rho/secure/steam-condenser/vendor/koraktor/steam-condenser/lib/steam/sockets/RCONSocket.php(95): SteamSocket->receivePacket(4) #1 /usr/www/rho/secure/steam-condenser/vendor/koraktor/steam-condenser/lib/steam/servers/SourceServer.php(145): RCONSocket->getReply() #2 /usr/www/rho/secure/lobby-query.php(202): SourceServer->rconExec('changelevel pl_...') #3 /usr/www/rho/secure/lobby-query.php(227): server_rcon('match.auroralig...', 27015, 'puffin', 'changelevel pl_...') #4 /usr/www/rho/secure/lobby-query.php(215): lobby_rcon(Array, 'changelevel pl_...') #5 /usr/www/rho/public/lobby/lobby.php(82): lobby_setup(Array) #6 {main} thrown in /usr/www/rho/secure/steam-condenser/vendor/koraktor/steam-condenser/lib/steam/sockets/SteamSocket.php on line 108

Is there a timeout or retry tolerance I can tinker with to try to get rid of these errors?

Thanks!

Rho Puffinman

unread,
Oct 13, 2013, 12:40:46 AM10/13/13
to steam-c...@googlegroups.com
It seems it's a map change that triggers these problems, I have written a catch for RCONTimeoutException for the time being, but it would be really nice to have some more tolerance on the timeout.

On a related note, is there a maximum ammount of commands I can send to a gameserver? I'm trying to send  a list of cvars, so far just starting small.

Sebastian Staudt

unread,
Oct 15, 2013, 2:54:35 AM10/15/13
to steam-condenser
Changing maps or restarting the server via RCON is always problematic, but a lot of work has been done to improve Steam Condenser's behavior.

What version are you using?


2013/10/13 Rho Puffinman <rhop...@gmail.com>

--
You received this message because you are subscribed to the Google Groups "Steam Condenser" group.
To unsubscribe from this group and stop receiving emails from it, send an email to steam-condens...@googlegroups.com.
To post to this group, send email to steam-c...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/steam-condenser/b01f0963-4d3e-4baa-9ce4-c66c87fefdc5%40googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages