Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Node discovery / connect_peers_task_handler does not stop attempting already established connection #17619

Open
felixbrucker opened this issue Feb 29, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@felixbrucker
Copy link
Contributor

felixbrucker commented Feb 29, 2024

What happened?

It seems like the node discovery and/or the connect_peers_task_handler does not stop attempting to connect to an already established connection.
I have my nodes added using the new full_node_peers config option, but get a lot of log spam from the start_client() method attempting to connect to it seemingly indefinitely, despite that connection already existing

Version

2.2.0

What platform are you using?

Linux

What ui mode are you using?

CLI

Relevant log output

2024-02-29T10:27:37.922 full_node full_node_server        : WARNING  cannot connect to 185.205.246.74, duplicate/self connection
2024-02-29T10:27:40.927 full_node full_node_server        : WARNING  cannot connect to 185.205.246.74, duplicate/self connection
2024-02-29T10:27:43.930 full_node full_node_server        : WARNING  cannot connect to 185.205.246.74, duplicate/self connection
2024-02-29T10:27:46.937 full_node full_node_server        : WARNING  cannot connect to 185.205.246.74, duplicate/self connection
@felixbrucker felixbrucker added the bug Something isn't working label Feb 29, 2024
@felixbrucker felixbrucker changed the title [Bug] Node discovery does not stop attempting already established connection [Bug] Node discovery / connect_peers_task_handler does not stop attempting already established connection Feb 29, 2024
@wjblanke
Copy link
Contributor

wjblanke commented Mar 6, 2024

OK we will look into this. It shouldn't cause much issue besides the log spam and minor load on the peer for the connection.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants