From 529f923595bcff4775ccbbfa86f075764c3ac51c Mon Sep 17 00:00:00 2001 From: benbierens Date: Fri, 27 Oct 2023 10:56:30 +0200 Subject: [PATCH] Sleep before fetching debug info. --- Tools/CodexNetDeployer/Deployer.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Tools/CodexNetDeployer/Deployer.cs b/Tools/CodexNetDeployer/Deployer.cs index 54b0f819..ae37d499 100644 --- a/Tools/CodexNetDeployer/Deployer.cs +++ b/Tools/CodexNetDeployer/Deployer.cs @@ -155,6 +155,11 @@ namespace CodexNetDeployer private CodexInstance[] CreateCodexInstances(List startResults) { + // When freshly started, the Codex nodes are announcing themselves by an incorrect IP address. + // Only after fully initialized do they update to the provided NAT address. + // Therefore, we wait: + Thread.Sleep(TimeSpan.FromSeconds(5)); + return startResults.Select(r => CreateCodexInstance(r.CodexNode)).ToArray(); }