GAMMACASE/ServerRedirect

Error `Can't get response from "XX.XXX.XX:XXXXX", socket timed out`

crashzk opened this issue · 5 comments

I'm getting the following errors on my servers:

L 09/16/2023 - 18:39:03: [server_redirect.smx] [Server Redirect] Can't get response from "XX.XXX.XX:XXXXX", socket timed out.

L 09/16/2023 - 18:39:03: [server_redirect.smx] [Server Redirect] Can't get response from "XX.XXX.XX:XXXXX", socket timed out.

L 09/16/2023 - 18:39:03: [server_redirect.smx] [Server Redirect] Can't get response from "XX.XXX.XX:XXXXX", socket timed out.

L 09/16/2023 - 18:39:03: [server_redirect.smx] [Server Redirect] Can't get response from "XX.XXX.XX:XXXXX", socket timed out.

L 09/16/2023 - 18:39:03: [server_redirect.smx] [Server Redirect] Can't get response from "XX.XXX.XX:XXXXX", socket timed out.

It means that the server haven't got any A2S reply from the target ip, it's not a plugin problem, make sure the target server as pingable from the destination you are sending the A2S requests. Also you can use server_redirect_log_if_server_is_unavailable 0 to disable these log messages, but that won't fix anything, only hide them.

I understand, could this cause some type of operating error? In the tests I did here I can still connect to the servers through the plugin, it only shows these messages in the console but without harmful errors.

These are more of a informative logging messages, and you should understand them as "Server didn't reply to the query in the set time", the cause of why that happened is dependent on the setup environment you have, so it's almost impossible to tell why that happened by just that log alone.
One more reason why that could happen if the server replies slow to these queries, for example default timeout value is 10 seconds, when if server doesn't reply in time the log message would be printed. It's defined as server_redirect_socket_timeout cvar, but edit with caution, as it may only degrade overall performance.

host_info_show 0 I believe causes the server to NOT respond to A2S queries.

@crashzk can you make sure the server that is not responding has that value set to 1 ?

host_info_show 0 I believe causes the server to NOT respond to A2S queries.

@crashzk can you make sure the server that is not responding has that value set to 1 ?

image