TimeoutException with SourceServer

158 views
Skip to first unread message

Steve A

unread,
Mar 3, 2014, 12:35:58 AM3/3/14
to steam-c...@googlegroups.com
I started receiving these PHP errors in my steam condenser (1.3.7) today. Here is the error and I took out the domain and replaced with x's.

Fatal error: Uncaught exception 'TimeoutException' with message 'The operation timed out.' in /var/www/vhosts/xxxxxxxx/httpdocs/steam/lib/steam/sockets/SteamSocket.php:117 Stack trace: #0 /var/www/vhosts/xxxxxxxx/httpdocs/steam/lib/steam/sockets/SourceSocket.php(55): SteamSocket->receivePacket(1400) #1 /var/www/vhosts/xxxxxxxx/httpdocs/steam/lib/steam/servers/GameServer.php(267): SourceSocket->getReply() #2 /var/www/vhosts/xxxxxxxx/httpdocs/steam/lib/steam/servers/GameServer.php(404): GameServer->getReply() #3 /var/www/vhosts/xxxxxxxx/httpdocs/steam/lib/steam/servers/GameServer.php(256): GameServer->updatePing() #4 /var/www/vhosts/xxxxxxxx/httpdocs/steam/index.php(10): GameServer->initialize() #5 {main} thrown in /var/www/vhosts/xxxxxxxx/httpdocs/steam/lib/steam/sockets/SteamSocket.php on line 117

Any idea? Thanks in advance!

Sebastian Staudt

unread,
Mar 3, 2014, 3:05:13 AM3/3/14
to steam-condenser
A `TimeoutException` usually hints at the server you're trying to query is down (or changed it's IP address and/or port). But your query may also be blocked by a firewall, e.g. at your host's network.



--
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/74162e6f-8168-47a6-b0df-fea26323559e%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Steve A

unread,
Mar 3, 2014, 11:55:47 AM3/3/14
to steam-c...@googlegroups.com
Thanks for the speedy response! It's been happening with a decent amount of Valve's game servers. Maybe they made an update that's currently not working with condenser? If it is the firewall on my host (dedicated box so I have complete control), why would that change out of nowhere? Condenser has been working fine. 

Sebastian Staudt

unread,
Mar 4, 2014, 10:53:04 AM3/4/14
to steam-condenser
What games and or servers are affected?
I know that there were some changes in CS:GO's query handling, although this should not affect how Steam Condenser works.


Steve A

unread,
Mar 5, 2014, 4:31:21 PM3/5/14
to steam-c...@googlegroups.com
Currently, any VALVe server. It works fine on my game server (66.55.158.152:27045) but when I join a VALVe server it breaks. I just joined a DM server and ran a test on this IP (208.78.166.145:29095) and it breaks. Is there some code we can change to have it work with VALVe?

Thanks!

Sebastian Staudt

unread,
Mar 5, 2014, 5:03:02 PM3/5/14
to steam-condenser
I was able to reproduce the timeout, but I'm also unable to add this server (208.78.166.145:29095) to Steam itself.


Steve A

unread,
Mar 5, 2014, 5:44:54 PM3/5/14
to steam-c...@googlegroups.com
That server may have been offline when you attempted. So if you're able to reproduce the timeout, what can I do to fix it? Thanks!

Sebastian Staudt

unread,
Mar 5, 2014, 5:58:24 PM3/5/14
to steam-condenser
The server's even shown as "not responding" in Steam, so it's probably down. I can't see a bug or other issue in Steam Condenser.
There's nothing you can fix, but depending on you application you might want to catch the `TimeoutException`.


Steve A

unread,
Mar 5, 2014, 8:05:41 PM3/5/14
to steam-c...@googlegroups.com
The best way I tested it was to join a deathmatch server in CSGO and while I was in it I grabbed the IP and port and plugged it into steam condenser and it timed out. This way I knew the server was online and responding because I was playing in it. Were you able to do the same and still get a timeout?

Steve A

unread,
Mar 10, 2014, 9:56:43 PM3/10/14
to steam-c...@googlegroups.com
Any headway? Thanks!

Sebastian Staudt

unread,
Mar 11, 2014, 9:34:45 AM3/11/14
to steam-condenser
No sorry. I didn't have time to check this with a server in-game.
Nevertheless this does not seem like a problem with Steam Condenser in particular as Steam's own server browser is not able to query those servers, too. And I guess other tools like HLSW will have the same problem.


Steve A

unread,
Mar 11, 2014, 10:09:05 AM3/11/14
to steam-c...@googlegroups.com
Does this look like it's related?

In the update from 27th February 2014, Valve made some changes to some cvars that can be tailored to show different server and player information to clients:

- Added convar host_info_show, operators can set it to the following values: 0 to block server info queries; 1 (default) to respond with all details excluding identities; 2 to respond with all available details. 
- Added convar host_players_show, operators can set it to the following values: 0 to block server players queries; 1 (default) to respond only with max players and uptime; 2 to respond with all players details.

This changed the way servers respond by default when the app (as well as other clients like HLSW for example) requests the server info and player details.

So if VALVe servers do not have the following are we screwed?

host_info_show 2
host_players_show 2

Sebastian Staudt

unread,
Mar 11, 2014, 4:46:36 PM3/11/14
to steam-c...@googlegroups.com
Sounds like only 0 will disable queries completely, so the default should still work (at least it would not time out).

So I guess Valve's own servers have this set to 0.

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

--
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.
Reply all
Reply to author
Forward
0 new messages