AMP icon indicating copy to clipboard operation
AMP copied to clipboard

Instance Status Stuck on "Waiting" When disabling Host Networking

Open drzeus213 opened this issue 9 months ago • 3 comments

Operating System

Ubuntu Linux 24.04.2

AMP Version and Build Date

2.6.1.2 - 20250325.1

AMP Release Stream

Mainline

I confirm that

  • [x] I have searched for an existing bug report for this issue.
  • [x] I am using the latest available version of AMP.
  • [x] my operating system is up-to-date.

Intended Action

I am trying to disable Host Networking as recommended in this guide: https://discord.com/channels/266012086423912458/1354046467052146730/1354046467052146730

Expected Behaviour

Host Networking should be disabled, and instances should still report their status

Actual Behaviour

Instances are stuck on this status:

Application Waiting Manage this instance to start or configure the application.

The instance is otherwise functional, can be managed, the game server starts and can be connected to.

Relevant Log entries:

[10:08:29] [Core Info/1] : Metrics publishing is enabled at udp://localhost:12820. [10:08:31] [Core Info/1] : Webserver started on http://0.0.0.0:8081

[10:55:25] [Core Error/25] : SocketException [10:55:25] [Core Error/25] : [0] (SocketException) : Connection refused [10:55:25] [Core Error/25] : at Net.Sockets.UdpClient.Send(Byte[] dgram, Int32 bytes) at ModuleShared.MetricsInfoPublisher.UpdateMetrics() [10:55:35] [Core Error/3] : SocketException [10:55:35] [Core Error/3] : [0] (SocketException) : Connection refused [10:55:35] [Core Error/3] : at Net.Sockets.UdpClient.Send(Byte[] dgram, Int32 bytes) at ModuleShared.MetricsInfoPublisher.UpdateMetrics()

Also previously discussed in Discord Priority Support > Application Waiting when disabling Host Networking

Reproduction

Turn off host networking under Instance Deployment > Networking, create a new instance.

drzeus213 avatar Mar 28 '25 10:03 drzeus213

The instances MetricsServerHost needs to be updated for that instance, localhost isn't usable when you disable host mode networking to reach the ADS instance.

PhonicUK avatar Jul 16 '25 14:07 PhonicUK

Yeah, during the IP changes recently I've been debating how to handle this. I think there's an automated solution, but I want to avoid hacky.

IceOfWraith avatar Jul 16 '25 14:07 IceOfWraith

Is this issue still persistant? I disable host network mode today and also created a new instant. I needed to change the auth server in order to communicate with the host to access the instance. But as mentioned above. The instance operates normally but no metrics are displayed in the instance manager. It only shows "Waiting for Application" the whole time.

I added Core.Login.MetricsServerHost = 172.17.0.1 to deploy default to new instances but the issue is still persistant even after a redeploy of the instance.

MSchmitt98 avatar Sep 03 '25 21:09 MSchmitt98