dkn-compute-node icon indicating copy to clipboard operation
dkn-compute-node copied to clipboard

bug: autoNAT unknown -> public -> private

Open erhant opened this issue 1 year ago • 0 comments

AutoNAT usually decides on the status at the start after a few seconds, most of the time its Unknown to Private

In a random run this happened:

  1. As usual, decided that its private
[2024-08-29T13:42:45.074Z WARN  dkn_compute::p2p::client] AutoNAT status changed from Unknown to Private
  1. After sometime, decided that its public:
[2024-08-29T13:50:17.374Z WARN  dkn_compute::p2p::client] AutoNAT status changed from Private to Public("/ip4/192.168.1.37/tcp/4001/p2p/16Uiu2HAm7EtCPAh8TiXbooEdcbi9nxUEYhzpgw2UvfeoaDB8vZhp")
  1. Then, it went back to private:
[2024-08-29T13:51:56.985Z WARN  dkn_compute::p2p::client] AutoNAT status changed from Public("/ip4/192.168.1.37/tcp/4001/p2p/16Uiu2HAm7EtCPAh8TiXbooEdcbi9nxUEYhzpgw2UvfeoaDB8vZhp") to Private

Worth noting & explaining why this happens.

erhant avatar Aug 29 '24 14:08 erhant