Closed mattconres closed 2 years ago
So this is coming from checkMyFluxAvailability function that tests if other fluxnodes on the network can connect to our new fluxnode. We can bend the rules for in cases where not sufficient amount of nodes is present on the network
I was requested to post a report on this out valter .. as I said this would probably ONLY happen in testnet .. But thanks it's crypto winter on the testnet and only my node there. Maybe just a flag to test if testnet ..
I was requested to post a report on this out valter .. as I said this would probably ONLY happen in testnet .. But thanks it's crypto winter on the testnet and only my node there. Maybe just a flag to test if testnet ..
Yes flag for testnet to that function is sufficient but would solve it only for testnet. Same bug would occur if mainnet would have 0 nodes online thus we will implement more complex fix
Understood… Scream if you need a tester. I have 5 nodes behind the same IP that can't talk to each other. And I'm the only node alive on testnet at the moment.
Just wanted to follow up.. and confirm this does work !!! Testnet dropped to the point I was the only node on the network with the same IP . Successfully started up additional nodes behind the same IP.
Github issue
Opening per Request of Valter
This is on TestNet
Describe the bug Flux node will not connect sufficiently to start benchmarks cause it can't connect to the one node on the net.
To Reproduce This is difficult if not impossible to reproduce simply cause this is not the way it's supposed to work.
Scenario. Testnet
No nodes online on the testnet.
Brought up my local hosted node on 16147.
TestNode1 is the only one on the network.
Started up TestNode2. Updated reinstalled validated all UPNP networking port 16157 is open etc. Flux install looks 100%.
Benchmark fails however
2022-08-01 15:10:32 ---Failed: FluxOS is not working properly. Check your networking configuration or FluxOs error log.
Checking FLux log shows
Assumption is .. The TestNode2 is trying to validate against the existing node on the network. But it can't so this won't allow benchmarks to continue.
Since this is a self hosted environment. And my firewall will not allow Hairpin NAT with UPNP. The 2 nodes can not talk to another. Since the 2nd node does see the frist node on the chain/network it refuses to come up until it can talk to at least one node. Strangely the first node did come up without any other nodes on the network But I assume that is cause there wasn't one to try to validate against.
All start messages are coming into the fluxd but of course it won't confirm until benchmark passes. Benchmark won't pass until Flux acknowledges valid network connection. Flux can't validate network connection cause the 1 node on the testnet is not accesible.
Expected behavior The node to come up and confirm :-)
Environment(please complete the following information):
Additional context
This IS Testnet.. and this is a very unusual situation. And only submitting this to bring it to your attention