iri
iri copied to clipboard
Problem peering to nodes that have auto-tethering on
Bug description
When node A
connects to a neighbor, it will remove it from the reconnect pool
.
If the neighbor was an old pre-1.8.0 node the removal from the reconnect pool
will still happen.
If the neighbor will upgrade his node to 1.8.0, but will count on auto-tethering to help A
connect to it, he will fail. Because A
won't send connection requests and neither will the neighbor since it relies on auto-tethering and does not know A
Note that if the neighbor upgrades before A, all will work just fine! No bug will appear.
IRI version
1.8.0
Steps To Reproduce
- You have 2 nodes
A
(1.8.0) andB
(1.7.1) Both are off. - Configure
A
to beB
as a neighbors by adding it toNEIGHBORS
in the config file(iota.ini
oriri.ini
). - Turn both nodes on and wait for a hand shake fail message to appear in the log of Node A.
- Turn off node
B
and upgrade it to 1.8.0. - Configure
B
to haveAUTO_TETHERING_ENABLED = true
and removeA
from its neighbors list. - Start node
B
.
Expected behaviour
Nodes should peer
Actual behaviour
Nodes don't peer
Temporary Remedy
The operator of node A
should restart. This will reinitiate a connection request to B.