Skip to content

Conversation

@odesenfans
Copy link
Collaborator

Node operators are experiencing issues on Hetzner where nodes attempt to dial old nodes (last active 2 years ago). The likely cause is the IPFS reconnection job looping over these nodes non-stop without filtering.

Added a filter that only returns nodes seen after a specific datetime and a config value to specify the accepted period. By default, the node will attempt to reconnect to other peers seen at most a day ago.

Node operators are experiencing issues on Hetzner where nodes attempt to
dial old nodes (last active 2 years ago). The likely cause is the IPFS
reconnection job looping over these nodes non-stop without filtering.

Added a filter that only returns nodes seen after a specific datetime
and a config value to specify the accepted period. By default, the node
will attempt to reconnect to other peers seen at most a day ago.
Copy link
Member

@nesitor nesitor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@odesenfans odesenfans merged commit 4db6939 into main Oct 21, 2025
3 checks passed
@odesenfans odesenfans deleted the od/fix-only-dial-recent-peers branch October 21, 2025 18:33
odesenfans added a commit that referenced this pull request Nov 26, 2025
Node operators are experiencing issues on Hetzner where nodes attempt to
dial old nodes (last active 2 years ago). The likely cause is the IPFS
reconnection job looping over these nodes non-stop without filtering.

Added a filter that only returns nodes seen after a specific datetime
and a config value to specify the accepted period. By default, the node
will attempt to reconnect to other peers seen at most a day ago.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants