stacks-network / stacks-core

The Stacks blockchain implementation
https://docs.stacks.co
GNU General Public License v3.0
3.01k stars 671 forks source link

`TcpStream::connect` won't timeout #5097

Closed obycode closed 2 months ago

obycode commented 2 months ago

In EventObserver::send_payload, we regularly see the event dispatcher get blocked waiting for TcpStream::connect(&self.endpoint) with the async_std::net::TcpStream. I previously attempted to handle this by adding the use of async_std::future::timeout, but this does not work. The thread will get stuck there, then crash after 60 minutes.

obycode commented 2 months ago

This is a subset of #3851.

blockstack-devops commented 3 weeks ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.