Skip to content

Seed nodes connect to themselves #10154

@nahuhh

Description

@nahuhh
log
2025-10-08 23:39:40.349 [P2P6]  DEBUG   net.p2p src/p2p/net_node.inl:1415       Connecting to 86.107.168.50:28180(peer_type=1, last_seen: never)...                                              
2025-10-08 23:39:40.350 [P2P6]  DEBUG   net     contrib/epee/include/net/abstract_tcp_server2.inl:1816  Trying to connect to 86.107.168.50:28180, bind_ip = 0.0.0.0                            
2025-10-08 23:39:40.351 [P2P6]  INFO    net.p2p src/p2p/net_node.inl:2691       [86.107.168.50:28180 7a403da0-1a2e-46e0-870b-f229bf5a2f17 OUT] NEW CONNECTION                                    
2025-10-08 23:39:40.351 [P2P6]  DEBUG   net     contrib/epee/include/net/abstract_tcp_server2.inl:1059   connection type 2 86.107.168.50:51118 <--> 86.107.168.50:28180 (via 86.107.168.50:28180)
2025-10-08 23:39:40.352 [P2P6]  INFO    net.p2p.traffic contrib/epee/include/net/levin_protocol_handler_async.h:56      [86.107.168.50:28180 OUT] 280 bytes sent for category command-1001 initiated by us
2025-10-08 23:39:40.352 [P2P6]  DEBUG   net     contrib/epee/include/net/levin_protocol_handler_async.h:148     [86.107.168.50:28180 OUT] LEVIN_PACKET_SENT. [len=280, flags1, r?=, cmd = 1001, ver=1
2025-10-08 23:39:40.352 [P2P0]  INFO    net.p2p src/p2p/net_node.inl:2691       [86.107.168.50:51118 422d5308-74bd-4477-b996-1f9489687cd7 INC] NEW CONNECTION                                      
2025-10-08 23:39:40.352 [P2P6]  DEBUG   net     contrib/epee/include/net/levin_protocol_handler_async.h:199     [86.107.168.50:28180 OUT] anvoke_handler, timeout: 5000                            
2025-10-08 23:39:40.352 [P2P0]  DEBUG   net     contrib/epee/include/net/abstract_tcp_server2.inl:1059   connection type 2 86.107.168.50:28180 <--> 86.107.168.50:51118 (via 86.107.168.50:51118)  
2025-10-08 23:39:40.352 [P2P8]  DEBUG   net     contrib/epee/include/net/levin_protocol_handler_async.h:489     [86.107.168.50:51118 INC] LEVIN_PACKET_RECEIVED. [len=280, flags1, r?=, cmd = 1001, v=1
2025-10-08 23:39:40.352 [P2P8]  INFO    net.p2p.traffic contrib/epee/include/net/levin_protocol_handler_async.h:56      [86.107.168.50:51118 INC] 280 bytes received for category command-1001 initiated by peer
2025-10-08 23:39:40.352 [P2P8]  DEBUG   net.p2p src/p2p/net_node.inl:2572       [86.107.168.50:51118 INC] Connection to self detected, dropping connection
2025-10-08 23:39:40.353 [P2P9]  WARNING net.p2p src/p2p/net_node.inl:1186       [86.107.168.50:28180 OUT] COMMAND_HANDSHAKE invoke failed. (-3, LEVIN_ERROR_CONNECTION_DESTROYED)
2025-10-08 23:39:40.353 [P2P8]  INFO    net.cn  src/cryptonote_protocol/cryptonote_protocol_handler.inl:2869    [86.107.168.50:51118 INC] [0] state: closed in state before_handshake
2025-10-08 23:39:40.353 [P2P6]  WARNING net.p2p src/p2p/net_node.inl:1245       [86.107.168.50:28180 OUT] COMMAND_HANDSHAKE Failed                        
2025-10-08 23:39:40.353 [P2P6]  INFO    net.p2p src/p2p/net_node.inl:1436       [86.107.168.50:28180 OUT] Failed to HANDSHAKE with peer 86.107.168.50:28180
2025-10-08 23:39:40.353 [P2P8]  INFO    net.p2p src/p2p/net_node.inl:2710       [86.107.168.50:51118 422d5308-74bd-4477-b996-1f9489687cd7 INC] CLOSE CONNECTION
2025-10-08 23:39:40.354 [P2P9]  INFO    net.cn  src/cryptonote_protocol/cryptonote_protocol_handler.inl:2869    [86.107.168.50:28180 OUT] [0] state: closed in state before_handshake
2025-10-08 23:39:40.354 [P2P9]  INFO    net.p2p src/p2p/net_node.inl:2710       [86.107.168.50:28180 7a403da0-1a2e-46e0-870b-f229bf5a2f17 OUT] CLOSE CONNECTION
every few seconds
2025-10-08 23:40:10.287 [P2P1]  DEBUG   net.p2p src/p2p/net_node.inl:2572       [86.107.168.50:33282 INC] Connection to self detected, dropping connection
2025-10-08 23:40:29.565 [P2P9]  DEBUG   net.p2p src/p2p/net_node.inl:2572       [86.107.168.50:50934 INC] Connection to self detected, dropping connection
2025-10-08 23:41:08.411 [P2P3]  DEBUG   net.p2p src/p2p/net_node.inl:2572       [86.107.168.50:48004 INC] Connection to self detected, dropping connection
2025-10-08 23:41:15.439 [P2P9]  DEBUG   net.p2p src/p2p/net_node.inl:2572       [86.107.168.50:56516 INC] Connection to self detected, dropping connection
2025-10-08 23:41:34.980 [P2P5]  DEBUG   net.p2p src/p2p/net_node.inl:2572       [86.107.168.50:55056 INC] Connection to self detected, dropping connection
2025-10-08 23:41:37.369 [P2P1]  DEBUG   net.p2p src/p2p/net_node.inl:2572       [86.107.168.50:55068 INC] Connection to self detected, dropping connection
2025-10-08 23:41:39.486 [P2P4]  DEBUG   net.p2p src/p2p/net_node.inl:2572       [86.107.168.50:55084 INC] Connection to self detected, dropping connection
2025-10-08 23:42:07.813 [P2P7]  DEBUG   net.p2p src/p2p/net_node.inl:2572       [86.107.168.50:39362 INC] Connection to self detected, dropping connection
2025-10-08 23:42:27.136 [P2P2]  DEBUG   net.p2p src/p2p/net_node.inl:2572       [86.107.168.50:45288 INC] Connection to self detected, dropping connection
2025-10-08 23:42:42.147 [P2P1]  DEBUG   net.p2p src/p2p/net_node.inl:2572       [86.107.168.50:45868 INC] Connection to self detected, dropping connection
2025-10-08 23:43:02.359 [P2P6]  DEBUG   net.p2p src/p2p/net_node.inl:2572       [86.107.168.50:46934 INC] Connection to self detected, dropping connection
2025-10-08 23:43:09.455 [P2P3]  DEBUG   net.p2p src/p2p/net_node.inl:2572       [86.107.168.50:46940 INC] Connection to self detected, dropping connection
2025-10-08 23:43:41.202 [P2P6]  DEBUG   net.p2p src/p2p/net_node.inl:2572       [86.107.168.50:60088 INC] Connection to self detected, dropping connection
2025-10-08 23:44:09.842 [P2P7]  DEBUG   net.p2p src/p2p/net_node.inl:2572       [86.107.168.50:40166 INC] Connection to self detected, dropping connection
2025-10-08 23:44:16.905 [P2P3]  DEBUG   net.p2p src/p2p/net_node.inl:2572       [86.107.168.50:59278 INC] Connection to self detected, dropping connection
2025-10-08 23:45:05.385 [P2P2]  DEBUG   net.p2p src/p2p/net_node.inl:2572       [86.107.168.50:36508 INC] Connection to self detected, dropping connection

tested on master / fcmp stressnet
not sure if this is specific to seed nodes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions