I am querying the Source Master server as follows:
$masterServer = new MasterServer(MasterServer::SOURCE_MASTER_SERVER);
$masterServer->getServers(MasterServer::REGION_ALL);
Normally this works just fine, however at certain times of day, for whatever reason, the initial IP at the master server address doesn't respond, so triggering the following error:
Notice: Request to master server 208.64.200.65 timed out, retrying... in D:\xampp\htdocs\nano2\lib\koraktor\steam-condenser\lib\steam\servers\MasterServer.php on line 205
The script retries three times and then outputs the following:
Notice: Request to master server failed, retrying 208.64.200.39... in D:\xampp\htdocs\nano2\lib\koraktor\steam-condenser\lib\steam\servers\MasterServer.php on line 212
But instead of trying the new IP address, the script in getServers() exits the while loop at the "break;" on line 214 and just returns an empty array. Is this intended? Have I missed something that might have caused this to go wrong?
Cheers,
Andrew
--
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/msg/steam-condenser/-/RuCP3FmwQ3sJ.
For more options, visit https://groups.google.com/groups/opt_out.
Hi Andrew,The initial failing request is probably caused by some planned downtime of that server at a specific time of the day.Nevertheless, the server at the second IP should work during this time.The behavior you're experiencing isn't clear to me right now.It might hint at a bug in my library or some other problem that I wasn't aware of.Additionally, there might be a problem with Valve's servers that could cause this.I'll try to reproduce this (without the need wait for the downtime).Best regards,Sebastian
Am Mittwoch, 6. Februar 2013 schrieb Andrew Jones :
Hi,
I am querying the Source Master server as follows:
$masterServer = new MasterServer(MasterServer::SOURCE_MASTER_SERVER);
$masterServer->getServers(MasterServer::REGION_ALL);
Normally this works just fine, however at certain times of day, for whatever reason, the initial IP at the master server address doesn't respond, so triggering the following error:
Notice: Request to master server 208.64.200.65 timed out, retrying... in D:\xampp\htdocs\nano2\lib\koraktor\steam-condenser\lib\steam\servers\MasterServer.php on line 205
The script retries three times and then outputs the following:
Notice: Request to master server failed, retrying 208.64.200.39... in D:\xampp\htdocs\nano2\lib\koraktor\steam-condenser\lib\steam\servers\MasterServer.php on line 212
But instead of trying the new IP address, the script in getServers() exits the while loop at the "break;" on line 214 and just returns an empty array. Is this intended? Have I missed something that might have caused this to go wrong?
Cheers,
Andrew
--
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-condenser+unsubscribe@googlegroups.com.
To post to this group, send email to steam-condenser@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/steam-condenser/-/rixsCEh6DS8J.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.