From 1ec065113952148205ce1eadaafd0c40366e8368 Mon Sep 17 00:00:00 2001 From: Arnaud Date: Mon, 15 Jun 2026 11:36:56 +0400 Subject: [PATCH] Retry port mapping on NotReachable --- storage/nat.nim | 7 ------- 1 file changed, 7 deletions(-) diff --git a/storage/nat.nim b/storage/nat.nim index ac7495ba..d7c1be54 100644 --- a/storage/nat.nim +++ b/storage/nat.nim @@ -211,13 +211,6 @@ method handleNatStatus*( # We remove the announced records. # Eventually, it will we updated by the relay when it started discovery.announceDirectAddrs(@[], udpPort = discoveryPort) - elif autoRelayService.isRunning: - # The mapping was already tried and did not make the node reachable. - # If the relay is running, there is nothing to do. - # We do not want to retry the port mapping if it failed already, - # it would stop the relay service while there is little chance to have - # a Reachable status after it was detected Not Reachable the first time. - discard else: debug "Node is not reachable trying port mapping now"