(SocketException) : Network subsystem is down

  • 163 Views
  • Last Post 25 February 2021
  • Topic Is Solved
döner posted this 29 January 2021

OS: Debian Buster

AMP version: v2.1, built 27/01/2021

Issue: I cannot manage any of my instances, which worked perfectly before the update. Here is the ADS log:

>     [14:53:42] [Core Warning]         : Current time zone is set to CET - Servers should ideally be UTC to avoid time-zone related issues
>     [14:53:42] [Core Info]            : OS: Linux / x86_64
>     [14:53:42] [Core Info]            : CPU: AMD Athlon 200GE (2C/4T)
>     [14:53:42] [Core Info]            : AMP Instance ID: 80e24989-1d72-4ce2-908e-2e2fd2d42c9f
>     [14:53:43] [ModuleLoader Info]    : Loaded ADSModule version 1.0.0.0 by CubeCoders Limited
>     [14:53:43] [ModuleLoader Info]    : Loaded FileManagerPlugin version 1.0.0.0 by CubeCoders Limited
>     [14:53:43] [ModuleLoader Info]    : Loaded EmailSenderPlugin version 1.0.0.0 by CubeCoders Limited
>     [14:53:43] [ModuleLoader Info]    : Loaded WebRequestPlugin version 1.0.0.0 by CubeCoders Limited
>     [14:53:43] [ModuleLoader Info]    : Loaded LocalFileBackupPlugin version 1.0.0.0 by CubeCoders Limited
>     [14:53:43] [ModuleLoader Info]    : Loaded CommonCorePlugin version 1.0.0.0 by CubeCoders Limited
>     [14:53:43] [ModuleLoader Info]    : ADSModule requests dependency InstanceManagerPlugin...
>     [14:53:43] [ModuleLoader Info]    : Loaded InstanceManagerPlugin version 1.0.0.0 by CubeCoders Limited
>     [14:53:43] [ModuleLoader Info]    : ADSModule requests dependency SystemUserManagerPlugin...
>     [14:53:43] [ModuleLoader Info]    : Loaded SystemUserManagerPlugin version 1.0.0.0 by CubeCoders Limited
>     [14:53:43] [ModuleLoader Info]    : Loaded steamcmdplugin version 1.0.0.0 by CubeCoders Limited
>     [14:53:43] [Core Info]            : Metrics server started OK on port 12820
>     [14:53:44] [FileManager Notice]   : Using keypair with fingerprint jjwMVaehCT8200bMnWsb2wWgGCHUAmRIto7q5Rf1bMY=
>     [14:53:44] [FileManager Info]     : SFTP Server started on 0.0.0.0:2223
>     [14:53:44] [WebServer Info]       : Websockets are enabled.
>     [14:53:44] [Logger Warning]       : RouterTimer@10Hz with 2 jobs started
>     [14:53:44] [WebServer Info]       : Webserver started on http://0.0.0.0:8080
>     [14:53:44] [Core Info]            : Checking for AMP updates...
>     [14:53:44] [Core Info]            : AMP is up-to-date.
>     [14:55:18] [ADS:admin Activity]    : Managed remote instance Test http://localhost:8083/
>     [14:55:18] [Auth:admin Activity]   : Authentication token for admin requested by ManageInstance on behalf of admin
>     [14:55:18] [ADS:Anonymous Error]  : Failure to make API call to Test (http://localhost:8083/) - retried 10 times : Network subsystem
> is down
>     [14:55:18] [Core:Anonymous Error] : HttpRequestException
>     [14:55:18] [Core:Anonymous Error] : [0] (HttpRequestException) : Network subsystem is down
>     [14:55:18] [Core:Anonymous Error] :   at ADSModule.WebMethods.MakeInstanceRequest (m.Http.IHttpRequest request,
> String REQ_RAWJSON, String requesturi)
>       at ADSModule.WebMethods.Servers (m.Http.IHttpRequest request, String id, String REQ_RAWJSON)
>     [14:55:18] [Core:Anonymous Error] : SocketException
>     [14:55:18] [Core:Anonymous Error] : [1] (SocketException) : Network subsystem is down

I just did an upgrade to the newest version and now none of them is accessable via web. It just loads forever.

Order By: Standard | Newest | Votes
Larkum posted this 14 February 2021

Was a solution for this issue found?

I'm running a Fresh AMP v2.1.0.6 Ubuntu 20.04.2 LTS with same issue:

    11:11:04
HttpRequestException
[0] (HttpRequestException) : Connection refused
at ADSModule.WebMethods.MakeInstanceRequest (m.Http.IHttpRequest request, String REQ_RAWJSON, String requesturi) at ADSModule.WebMethods.Servers (m.Http.IHttpRequest request, String id, String REQ_RAWJSON)
SocketException
[1] (SocketException) : Connection refused

Mike posted this 14 February 2021

Connection refused means that whatever its trying to connect to specifically rejected the request, which means its not running.

  • Liked by
  • döner
döner posted this 14 February 2021

As Mike pointed out this is a different issue. My problem isn't solved yet.

döner posted this 25 February 2021

My error was fixed somehow. I don't really know what caused the problem specifically but after I did these three things it worked again:

  • My system clock was completely out of Sync and wrong, I fixed it
  • I didn't specify system paths in my php fpm config (don't think it has something to do with this), fixed it
  • I updated to the latest version

Close