A VPS Controller and Dedicated Server Target, both:
OS Name/Version: Debian GNU/Linux 12 (bookworm)
Product Name/Version: version 2.6.2 - 20250601.2
Problem Description:
I have 1 VPS with a controller AMP and dedicated server with target AMP. The ping shows around 22ms and 0 packet loss but it seems there’s a problem with the connections, logs in the VPS shows warnings like these:
[03:01:03] [System Warning/15]: Slow method invocation: Login took 2412ms to complete.
[03:01:03] [System Warning/15]: Slow response: Core.Login took 2413ms to complete.
This type of warning are normal and when i try to create a instance or edit something i need to wait long times. I already deactivated the ipv6 in both the VPS and dedicated.
The weird thing is the instances work well and the gameservers run well, the problem is when it tries to download something, for ex. it happens when it updates alone the CS2 instance when it finds out a SteamCMD updates.
Another ex. is the Node.js instance, when it tries to download Node.js alone it gets a timeout (also happens when i connect remotely to the instance from the https link) but when i manage the instance using the green button from the controller instance the download is normal. I already deactivated the ipv6 in both the VPS and dedicated.
I’m thinking of doing a clean install in both servers but before doing this i want to know what are these problems.
This is the logs when the CS2 instance updates alone:
Steps to reproduce:
- Schedulers finds a SteamCMD update
- Stops the gameserver and starts updating
- It gets an error in the last step (when downloading CounterStrikeSharp)
[02:13:12] [Core Error/16] : SocketException
[02:13:12] [Core Error/16] : [0] (SocketException) : Connection refused
[02:13:12] [Core Error/16] : at Net.Sockets.UdpClient.Send(Byte[] dgram, Int32 bytes)
at ModuleShared.MetricsInfoPublisher.UpdateMetrics()
Update state (0x1) running, progress: 0.00 (0 / 0)
Update state (0x1) running, progress: 0.00 (0 / 0)
Update state (0x1) running, progress: 0.00 (0 / 0)
quit
Unloading Steam API...OK
[02:13:20] [System Warning/16] : SteamCMD last reported exit state was 268
[02:13:20] [Core Error/16] : SocketException
[02:13:20] [Core Error/16] : [0] (SocketException) : Connection refused
[02:13:20] [Core Error/16] : at Net.Sockets.UdpClient.Send(Byte[] dgram, Int32 bytes)
at ModuleShared.MetricsInfoPublisher.UpdateMetrics()
[02:13:22] [Core Error/11] : SocketException
[02:13:22] [Core Error/11] : [0] (SocketException) : Connection refused
[02:13:22] [Core Error/11] : at Net.Sockets.UdpClient.Send(Byte[] dgram, Int32 bytes)
at ModuleShared.MetricsInfoPublisher.UpdateMetrics()
[02:13:32] [Core Error/12] : SocketException
[02:13:32] [Core Error/12] : [0] (SocketException) : Connection refused
[02:13:32] [Core Error/12] : at Net.Sockets.UdpClient.Send(Byte[] dgram, Int32 bytes)
at ModuleShared.MetricsInfoPublisher.UpdateMetrics()
[02:13:42] [Core Error/12] : SocketException
[02:13:42] [Core Error/12] : [0] (SocketException) : Connection refused
[02:13:42] [Core Error/12] : at Net.Sockets.UdpClient.Send(Byte[] dgram, Int32 bytes)
at ModuleShared.MetricsInfoPublisher.UpdateMetrics()
[02:13:52] [Core Error/11] : SocketException
[02:13:52] [Core Error/11] : [0] (SocketException) : Connection refused
[02:13:52] [Core Error/11] : at Net.Sockets.UdpClient.Send(Byte[] dgram, Int32 bytes)
at ModuleShared.MetricsInfoPublisher.UpdateMetrics()
[02:14:02] [Core Error/12] : SocketException
[02:14:02] [Core Error/12] : [0] (SocketException) : Connection refused
[02:14:02] [Core Error/12] : at Net.Sockets.UdpClient.Send(Byte[] dgram, Int32 bytes)
at ModuleShared.MetricsInfoPublisher.UpdateMetrics()
[02:14:12] [Core Error/11] : SocketException
[02:14:12] [Core Error/11] : [0] (SocketException) : Connection refused
[02:14:12] [Core Error/11] : at Net.Sockets.UdpClient.Send(Byte[] dgram, Int32 bytes)
at ModuleShared.MetricsInfoPublisher.UpdateMetrics()
[02:14:22] [Core Error/12] : SocketException
[02:14:22] [Core Error/12] : [0] (SocketException) : Connection refused
[02:14:22] [Core Error/12] : at Net.Sockets.UdpClient.Send(Byte[] dgram, Int32 bytes)
at ModuleShared.MetricsInfoPublisher.UpdateMetrics()
[02:14:32] [Core Error/11] : SocketException
[02:14:32] [Core Error/11] : [0] (SocketException) : Connection refused
[02:14:32] [Core Error/11] : at Net.Sockets.UdpClient.Send(Byte[] dgram, Int32 bytes)
at ModuleShared.MetricsInfoPublisher.UpdateMetrics()
[02:14:42] [Core Error/11] : SocketException
[02:14:42] [Core Error/11] : [0] (SocketException) : Connection refused
[02:14:42] [Core Error/11] : at Net.Sockets.UdpClient.Send(Byte[] dgram, Int32 bytes)
at ModuleShared.MetricsInfoPublisher.UpdateMetrics()
[02:14:52] [Core Error/12] : SocketException
[02:14:52] [Core Error/12] : [0] (SocketException) : Connection refused
[02:14:52] [Core Error/12] : at Net.Sockets.UdpClient.Send(Byte[] dgram, Int32 bytes)
at ModuleShared.MetricsInfoPublisher.UpdateMetrics()
[02:15:00] [System Error/12] : Unable to perform task Event.WebRequestPlugin.DiscordMessage
[02:15:00] [Core Error/12] : TaskCanceledException
[02:15:00] [Core Error/12] : [0] (TaskCanceledException) : The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing.
[02:15:00] [Core Error/12] : at Net.Http.HttpClient.HandleFailure(Exception e, Boolean telemetryStarted, HttpResponseMessage response, CancellationTokenSource cts, CancellationToken cancellationToken, CancellationTokenSource pendingRequestsCts)
at Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
at WebRequestPlugin.PluginMain.PushMessage(Object payload, String url)
at WebRequestPlugin.PluginMain.DiscordMessage(String WebhookURL, String Contents, String DisplayUsername)
at GSMyAdmin.Scheduler.Key_Fired(Object sender, EventArgs e)
[02:15:00] [Core Error/12] : TimeoutException
[02:15:00] [Core Error/12] : [1] (TimeoutException) : A task was canceled.
[02:15:00] [Core Error/12] : TaskCanceledException
[02:15:00] [Core Error/12] : [2] (TaskCanceledException) : A task was canceled.
[02:15:00] [Core Error/12] : at Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
at Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
[02:15:00] [System Error/12] : Unable to perform task Event.WebRequestPlugin.DiscordMessage
[02:15:00] [Core Error/12] : TaskCanceledException
[02:15:00] [Core Error/12] : [0] (TaskCanceledException) : The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing.
[02:15:00] [Core Error/12] : at Net.Http.HttpClient.HandleFailure(Exception e, Boolean telemetryStarted, HttpResponseMessage response, CancellationTokenSource cts, CancellationToken cancellationToken, CancellationTokenSource pendingRequestsCts)
at Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
at WebRequestPlugin.PluginMain.PushMessage(Object payload, String url)
at WebRequestPlugin.PluginMain.DiscordMessage(String WebhookURL, String Contents, String DisplayUsername)
at GSMyAdmin.Scheduler.Key_Fired(Object sender, EventArgs e)
[02:15:00] [Core Error/12] : TimeoutException
[02:15:00] [Core Error/12] : [1] (TimeoutException) : A task was canceled.
[02:15:00] [Core Error/12] : TaskCanceledException
[02:15:00] [Core Error/12] : [2] (TaskCanceledException) : A task was canceled.
[02:15:00] [Core Error/12] : at Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
at Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
[02:15:02] [Core Error/12] : SocketException
[02:15:02] [Core Error/12] : [0] (SocketException) : Connection refused
[02:15:02] [Core Error/12] : at Net.Sockets.UdpClient.Send(Byte[] dgram, Int32 bytes)
at ModuleShared.MetricsInfoPublisher.UpdateMetrics()
[02:15:12] [Core Error/11] : SocketException
[02:15:12] [Core Error/11] : [0] (SocketException) : Connection refused
[02:15:12] [Core Error/11] : at Net.Sockets.UdpClient.Send(Byte[] dgram, Int32 bytes)
at ModuleShared.MetricsInfoPublisher.UpdateMetrics()
[02:15:22] [Core Error/12] : SocketException
[02:15:22] [Core Error/12] : [0] (SocketException) : Connection refused
[02:15:22] [Core Error/12] : at Net.Sockets.UdpClient.Send(Byte[] dgram, Int32 bytes)
at ModuleShared.MetricsInfoPublisher.UpdateMetrics()
[02:15:32] [Core Error/12] : SocketException
[02:15:32] [Core Error/12] : [0] (SocketException) : Connection refused
[02:15:32] [Core Error/12] : at Net.Sockets.UdpClient.Send(Byte[] dgram, Int32 bytes)
at ModuleShared.MetricsInfoPublisher.UpdateMetrics()
[02:15:42] [Core Error/11] : SocketException
[02:15:42] [Core Error/11] : [0] (SocketException) : Connection refused
[02:15:42] [Core Error/11] : at Net.Sockets.UdpClient.Send(Byte[] dgram, Int32 bytes)
at ModuleShared.MetricsInfoPublisher.UpdateMetrics()
Latest Metamod 2.0 build downloaded
[02:17:58] [System Info/16] : Extracting /AMP/metamod.tar.gz to /AMP/counter-strike2/730/game/csgo...
[02:19:39] [System Error/16] : Error performing update stage CounterStrikeSharp Download
[02:19:39] [Generic Error/16] : TaskCanceledException
[02:19:39] [Generic Error/16] : [0] (TaskCanceledException) : The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing.
[02:19:39] [Generic Error/16] : at Net.Http.HttpClient.HandleFailure(Exception e, Boolean telemetryStarted, HttpResponseMessage response, CancellationTokenSource cts, CancellationToken cancellationToken, CancellationTokenSource pendingRequestsCts)
at Net.Http.HttpClient.GetStringAsyncCore(HttpRequestMessage request, CancellationToken cancellationToken)
at GenericModule.GenericApp.DownloadFromJQ(UpdateSourceInfo Source)
at GenericModule.GenericApp.PerformUpdateStage(UpdateSourceInfo Stage)
at GenericModule.GenericApp.<>c__DisplayClass110_0.<<Update>b__3>d.MoveNext()
[02:19:39] [Generic Error/16] : TimeoutException
[02:19:39] [Generic Error/16] : [1] (TimeoutException) : A task was canceled.
[02:19:39] [Generic Error/16] : TaskCanceledException
[02:19:39] [Generic Error/16] : [2] (TaskCanceledException) : A task was canceled.
[02:19:39] [Generic Error/16] : at Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
at Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at Net.Http.HttpClient.GetStringAsyncCore(HttpRequestMessage request, CancellationToken cancellationToken)
Loaded /AMP/counter-strike2/730/game/bin/linuxsteamrt64/libengine2.so, got 0x557bb31d5830
Setting breakpad minidump AppID = 2347773
Console initialized.
Also i get random ADS instances shutdowns this is the error logs when the VPS instance restarts alone:
Exception in API call Core/GetUpdates
UnauthorizedAccessException
[0] (UnauthorizedAccessException) : You do not have permission to use this method (GSMyAdmin.WebServer.GetUpdates) at this time. This method requires the Session.Exists permission.
at GSMyAdmin.WebServer.WebAttributes.InvokeMethod(String MethodName, JObject Data, HttpContext context, IWebSession Session, WebMethodsBase MethodsClass, IPAddress RealIP)
at GSMyAdmin.WebServer.ApiService.InvokeAPI(HttpContext context, IWebSession session, JObject data, String requestModule, String requestMethod)
Exception in API call Core/GetUpdates
UnauthorizedAccessException
Actions taken to resolve so far:
I tried deactivating IPV6. I’m thinking of doing a clean OS install but i want to know first what are this connection problems.