-
Notifications
You must be signed in to change notification settings - Fork 743
Closed
Labels
Description
The stacks-node is susceptible to losing all outbound peers when broadcasting events to a stacks-blockchain-api, causing it to fall behind the chain tip potentially for hours until the stacks-node is restarted.
During this time, the stacks-node printing plenty of PermanentlyDrained logs like such:
http:id=234,request=false,peer=<redacted>: failed to recv: PermanentlyDrained
Expected behavior
If a stacks-node loses all outbound peers, it should be able to acquire new ones or re-validate old ones relatively quickly.
Debug Information
If this happens again, I'll get more debug information like:
- running
'select * from frontier;'in thepeers.dbbefore/after restarting the stacks-node. - checking open network connections before/after restarting the stacks-node
stacks-node version: 2.05.0.2.0
Reactions are currently unavailable
