tinc icon indicating copy to clipboard operation
tinc copied to clipboard

Closing old connection

Open ptorrent opened this issue 1 year ago • 3 comments

Hello,

I've 2 nodes in tinc version 1.1pre18

Both nodes listening on 65000

  1. start both deamon, everything works after ~5 seconds
  2. restart at the same time both deamon, here the output (~ same on both nodes) :
Ready


Trying to connect to b8_27_eb_23_73_87 (26.0.0.77 port 65000)
Connected to b8_27_eb_23_73_87 (26.0.0.77 port 65000)
Connection from 26.0.0.77 port 51624
Connection with b8_27_eb_23_73_87 (26.0.0.77 port 65000) activated
Established a second connection with b8_27_eb_23_73_87 (26.0.0.77 port 65000), closing old connection

Established a second connection with b8_27_eb_23_73_87 (26.0.0.77 port 65000), closing old connection Why it closes the only connection ? It's the only one working. Then there is a loop for about ~40 sec :


Closing connection with b8_27_eb_23_73_87 (26.0.0.77 port 65000)
Connection with b8_27_eb_23_73_87 (26.0.0.77 port 51624) activated
Connection closed by b8_27_eb_23_73_87 (26.0.0.77 port 51624)
Closing connection with b8_27_eb_23_73_87 (26.0.0.77 port 51624)
Could not set up a meta connection to b8_27_eb_23_73_87

Trying to re-establish outgoing connection in 5 seconds
Trying to connect to b8_27_eb_23_73_87 (26.0.0.77 port 65000)
Connected to b8_27_eb_23_73_87 (26.0.0.77 port 65000)
Connection from 26.0.0.77 port 51626
Connection with b8_27_eb_23_73_87 (26.0.0.77 port 65000) activated
Established a second connection with b8_27_eb_23_73_87 (26.0.0.77 port 65000), closing old connection
Closing connection with b8_27_eb_23_73_87 (26.0.0.77 port 65000)
Connection with b8_27_eb_23_73_87 (26.0.0.77 port 51626) activated
Connection closed by b8_27_eb_23_73_87 (26.0.0.77 port 51626)
Closing connection with b8_27_eb_23_73_87 (26.0.0.77 port 51626)
Could not set up a meta connection to b8_27_eb_23_73_87

Trying to re-establish outgoing connection in 5 seconds
Trying to connect to b8_27_eb_23_73_87 (26.0.0.77 port 65000)
Connected to b8_27_eb_23_73_87 (26.0.0.77 port 65000)
Connection from 26.0.0.77 port 51630
Connection with b8_27_eb_23_73_87 (26.0.0.77 port 65000) activated
Established a second connection with b8_27_eb_23_73_87 (26.0.0.77 port 65000), closing old connection
Closing connection with b8_27_eb_23_73_87 (26.0.0.77 port 65000)
Connection with b8_27_eb_23_73_87 (26.0.0.77 port 51630) activated
Connection closed by b8_27_eb_23_73_87 (26.0.0.77 port 51630)
Closing connection with b8_27_eb_23_73_87 (26.0.0.77 port 51630)
Could not set up a meta connection to b8_27_eb_23_73_87

Trying to re-establish outgoing connection in 5 seconds
Trying to connect to b8_27_eb_23_73_87 (26.0.0.77 port 65000)
Connected to b8_27_eb_23_73_87 (26.0.0.77 port 65000)
Connection from 26.0.0.77 port 51632
Connection with b8_27_eb_23_73_87 (26.0.0.77 port 65000) activated
Established a second connection with b8_27_eb_23_73_87 (26.0.0.77 port 65000), closing old connection
Closing connection with b8_27_eb_23_73_87 (26.0.0.77 port 65000)
Connection with b8_27_eb_23_73_87 (26.0.0.77 port 51632) activated
Connection closed by b8_27_eb_23_73_87 (26.0.0.77 port 51632)
Closing connection with b8_27_eb_23_73_87 (26.0.0.77 port 51632)
Could not set up a meta connection to b8_27_eb_23_73_87

Trying to re-establish outgoing connection in 5 seconds
Trying to connect to b8_27_eb_23_73_87 (26.0.0.77 port 65000)
Connected to b8_27_eb_23_73_87 (26.0.0.77 port 65000)
Connection from 26.0.0.77 port 51634
Connection with b8_27_eb_23_73_87 (26.0.0.77 port 65000) activated
Established a second connection with b8_27_eb_23_73_87 (26.0.0.77 port 65000), closing old connection
Closing connection with b8_27_eb_23_73_87 (26.0.0.77 port 65000)
Connection with b8_27_eb_23_73_87 (26.0.0.77 port 51634) activated
Connection closed by b8_27_eb_23_73_87 (26.0.0.77 port 51634)
Closing connection with b8_27_eb_23_73_87 (26.0.0.77 port 51634)
Could not set up a meta connection to b8_27_eb_23_73_87

Trying to re-establish outgoing connection in 5 seconds
Trying to connect to b8_27_eb_23_73_87 (26.0.0.77 port 65000)
Connected to b8_27_eb_23_73_87 (26.0.0.77 port 65000)
Connection from 26.0.0.77 port 51636
Connection with b8_27_eb_23_73_87 (26.0.0.77 port 65000) activated
Established a second connection with b8_27_eb_23_73_87 (26.0.0.77 port 65000), closing old connection
Closing connection with b8_27_eb_23_73_87 (26.0.0.77 port 65000)
Connection with b8_27_eb_23_73_87 (26.0.0.77 port 51636) activated
Connection closed by b8_27_eb_23_73_87 (26.0.0.77 port 51636)
Closing connection with b8_27_eb_23_73_87 (26.0.0.77 port 51636)
Could not set up a meta connection to b8_27_eb_23_73_87

Trying to re-establish outgoing connection in 5 seconds
Trying to connect to b8_27_eb_23_73_87 (26.0.0.77 port 65000)
Connected to b8_27_eb_23_73_87 (26.0.0.77 port 65000)
Connection from 26.0.0.77 port 51638
Connection with b8_27_eb_23_73_87 (26.0.0.77 port 65000) activated
Established a second connection with b8_27_eb_23_73_87 (26.0.0.77 port 65000), closing old connection
Closing connection with b8_27_eb_23_73_87 (26.0.0.77 port 65000)
Connection with b8_27_eb_23_73_87 (26.0.0.77 port 51638) activated
Connection closed by b8_27_eb_23_73_87 (26.0.0.77 port 51638)
Closing connection with b8_27_eb_23_73_87 (26.0.0.77 port 51638)
Could not set up a meta connection to b8_27_eb_23_73_87

Trying to re-establish outgoing connection in 5 seconds
Trying to connect to b8_27_eb_23_73_87 (26.0.0.77 port 65000)
Connected to b8_27_eb_23_73_87 (26.0.0.77 port 65000)
Connection from 26.0.0.77 port 51642
Connection with b8_27_eb_23_73_87 (26.0.0.77 port 65000) activated
Established a second connection with b8_27_eb_23_73_87 (26.0.0.77 port 65000), closing old connection
Closing connection with b8_27_eb_23_73_87 (26.0.0.77 port 65000)
Connection with b8_27_eb_23_73_87 (26.0.0.77 port 51642) activated
Connection closed by b8_27_eb_23_73_87 (26.0.0.77 port 51642)
Closing connection with b8_27_eb_23_73_87 (26.0.0.77 port 51642)
Could not set up a meta connection to b8_27_eb_23_73_87

Trying to re-establish outgoing connection in 5 seconds
Trying to connect to b8_27_eb_23_73_87 (26.0.0.77 port 65000)
Connected to b8_27_eb_23_73_87 (26.0.0.77 port 65000)
Connection from 26.0.0.77 port 51644
Connection with b8_27_eb_23_73_87 (26.0.0.77 port 65000) activated
Established a second connection with b8_27_eb_23_73_87 (26.0.0.77 port 65000), closing old connection
Closing connection with b8_27_eb_23_73_87 (26.0.0.77 port 65000)

Connection with b8_27_eb_23_73_87 (26.0.0.77 port 51644) activated
Connection closed by b8_27_eb_23_73_87 (26.0.0.77 port 51644)
Closing connection with b8_27_eb_23_73_87 (26.0.0.77 port 51644)
Could not set up a meta connection to b8_27_eb_23_73_87

Trying to re-establish outgoing connection in 5 seconds
Trying to connect to b8_27_eb_23_73_87 (26.0.0.77 port 65000)
Connected to b8_27_eb_23_73_87 (26.0.0.77 port 65000)
Connection from 26.0.0.77 port 51646
Connection with b8_27_eb_23_73_87 (26.0.0.77 port 65000) activated
Established a second connection with b8_27_eb_23_73_87 (26.0.0.77 port 65000), closing old connection
Closing connection with b8_27_eb_23_73_87 (26.0.0.77 port 65000)
Connection with b8_27_eb_23_73_87 (26.0.0.77 port 51646) activated
Connection closed by b8_27_eb_23_73_87 (26.0.0.77 port 51646)
Closing connection with b8_27_eb_23_73_87 (26.0.0.77 port 51646)
Could not set up a meta connection to b8_27_eb_23_73_87

Trying to re-establish outgoing connection in 5 seconds
Trying to connect to b8_27_eb_23_73_87 (26.0.0.77 port 65000)
Connected to b8_27_eb_23_73_87 (26.0.0.77 port 65000)
Connection from 26.0.0.77 port 51648
Connection with b8_27_eb_23_73_87 (26.0.0.77 port 65000) activated
Established a second connection with b8_27_eb_23_73_87 (26.0.0.77 port 65000), closing old connection
Closing connection with b8_27_eb_23_73_87 (26.0.0.77 port 65000)
Connection with b8_27_eb_23_73_87 (26.0.0.77 port 51648) activated
Connection closed by b8_27_eb_23_73_87 (26.0.0.77 port 51648)
Closing connection with b8_27_eb_23_73_87 (26.0.0.77 port 51648)
Could not set up a meta connection to b8_27_eb_23_73_87

Trying to re-establish outgoing connection in 5 seconds
Trying to connect to b8_27_eb_23_73_87 (26.0.0.77 port 65000)
Connected to b8_27_eb_23_73_87 (26.0.0.77 port 65000)
Connection from 26.0.0.77 port 51650
Connection with b8_27_eb_23_73_87 (26.0.0.77 port 65000) activated
Established a second connection with b8_27_eb_23_73_87 (26.0.0.77 port 65000), closing old connection
Closing connection with b8_27_eb_23_73_87 (26.0.0.77 port 65000)
Connection with b8_27_eb_23_73_87 (26.0.0.77 port 51650) activated
Connection closed by b8_27_eb_23_73_87 (26.0.0.77 port 51650)
Closing connection with b8_27_eb_23_73_87 (26.0.0.77 port 51650)
Could not set up a meta connection to b8_27_eb_23_73_87

Trying to re-establish outgoing connection in 5 seconds
Trying to connect to b8_27_eb_23_73_87 (26.0.0.77 port 65000)
Connected to b8_27_eb_23_73_87 (26.0.0.77 port 65000)
Connection from 26.0.0.77 port 51654
Connection with b8_27_eb_23_73_87 (26.0.0.77 port 65000) activated
Established a second connection with b8_27_eb_23_73_87 (26.0.0.77 port 65000), closing old connection
Closing connection with b8_27_eb_23_73_87 (26.0.0.77 port 65000)
Connection with b8_27_eb_23_73_87 (26.0.0.77 port 51654) activated
Connection closed by b8_27_eb_23_73_87 (26.0.0.77 port 51654)
Closing connection with b8_27_eb_23_73_87 (26.0.0.77 port 51654)
Could not set up a meta connection to b8_27_eb_23_73_87

Trying to re-establish outgoing connection in 5 seconds
Trying to connect to b8_27_eb_23_73_87 (26.0.0.77 port 65000)
Connected to b8_27_eb_23_73_87 (26.0.0.77 port 65000)
Connection from 26.0.0.77 port 51656
Connection with b8_27_eb_23_73_87 (26.0.0.77 port 65000) activated
Established a second connection with b8_27_eb_23_73_87 (26.0.0.77 port 65000), closing old connection
Closing connection with b8_27_eb_23_73_87 (26.0.0.77 port 65000)
Connection with b8_27_eb_23_73_87 (26.0.0.77 port 51656) activated
Connection closed by b8_27_eb_23_73_87 (26.0.0.77 port 51656)
Closing connection with b8_27_eb_23_73_87 (26.0.0.77 port 51656)
Could not set up a meta connection to b8_27_eb_23_73_87

Trying to re-establish outgoing connection in 5 seconds
Trying to connect to b8_27_eb_23_73_87 (26.0.0.77 port 65000)
Connected to b8_27_eb_23_73_87 (26.0.0.77 port 65000)
Connection from 26.0.0.77 port 51658
Connection with b8_27_eb_23_73_87 (26.0.0.77 port 65000) activated
Established a second connection with b8_27_eb_23_73_87 (26.0.0.77 port 65000), closing old connection
Closing connection with b8_27_eb_23_73_87 (26.0.0.77 port 65000)
Connection with b8_27_eb_23_73_87 (26.0.0.77 port 51658) activated
Connection closed by b8_27_eb_23_73_87 (26.0.0.77 port 51658)
Closing connection with b8_27_eb_23_73_87 (26.0.0.77 port 51658)
Could not set up a meta connection to b8_27_eb_23_73_87

Trying to re-establish outgoing connection in 5 seconds
Trying to connect to b8_27_eb_23_73_87 (26.0.0.77 port 65000)
Connected to b8_27_eb_23_73_87 (26.0.0.77 port 65000)
Connection from 26.0.0.77 port 51660
Connection with b8_27_eb_23_73_87 (26.0.0.77 port 65000) activated
Established a second connection with b8_27_eb_23_73_87 (26.0.0.77 port 65000), closing old connection
Closing connection with b8_27_eb_23_73_87 (26.0.0.77 port 65000)
Connection with b8_27_eb_23_73_87 (26.0.0.77 port 51660) activated
Connection closed by b8_27_eb_23_73_87 (26.0.0.77 port 51660)
Closing connection with b8_27_eb_23_73_87 (26.0.0.77 port 51660)
Could not set up a meta connection to b8_27_eb_23_73_87

Trying to re-establish outgoing connection in 5 seconds
Trying to connect to b8_27_eb_23_73_87 (26.0.0.77 port 65000)
Connected to b8_27_eb_23_73_87 (26.0.0.77 port 65000)
Connection from 26.0.0.77 port 51664
Connection with b8_27_eb_23_73_87 (26.0.0.77 port 65000) activated
Established a second connection with b8_27_eb_23_73_87 (26.0.0.77 port 65000), closing old connection
Closing connection with b8_27_eb_23_73_87 (26.0.0.77 port 65000)
Connection with b8_27_eb_23_73_87 (26.0.0.77 port 51664) activated
Connection closed by b8_27_eb_23_73_87 (26.0.0.77 port 51664)
Closing connection with b8_27_eb_23_73_87 (26.0.0.77 port 51664)
Could not set up a meta connection to b8_27_eb_23_73_87

Trying to re-establish outgoing connection in 5 seconds
Trying to connect to b8_27_eb_23_73_87 (26.0.0.77 port 65000)
Connection from 26.0.0.77 port 51666
Connected to b8_27_eb_23_73_87 (26.0.0.77 port 65000)
Connection with b8_27_eb_23_73_87 (26.0.0.77 port 51666) activated
Established a second connection with b8_27_eb_23_73_87 (26.0.0.77 port 51666), closing old connection
Closing connection with b8_27_eb_23_73_87 (26.0.0.77 port 51666)
Connection with b8_27_eb_23_73_87 (26.0.0.77 port 65000) activated

NOW WORKING !

After a while ~ 1 minute. It's working weel.

Any idea why this strange behavior ?

ptorrent avatar Feb 04 '23 16:02 ptorrent