stacks-network / stacks-core

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

events_observer.timeout_ms config is not effective #5375

Open pc-quiknode opened 3 hours ago

pc-quiknode commented 3 hours ago

Describe the bug I am trying to bootstrap a Nakamoto Testnet node and keep getting this error message:

[testnet/stacks-node/src/event_dispatcher.rs:496] [main] Event dispatcher: connection or request failed to localhost:3700 - Custom { kind: WouldBlock, error: "Timed out while receiving request" }, backoff: 100ms, attempts: 0

After digging through issues of stacks-core I found there's a PR adding timeout_ms config to events_observer section, but it doesn't seem to be effective to resolve the issue. Probably relevant to https://github.com/stacks-network/stacks-core/issues/5288

Steps To Reproduce

Trying to bootstrap a Nakamoto Testnet follower node with stacks-blockchain-api

jcnelson commented 3 hours ago

(removed by author)

obycode commented 2 hours ago

That timeout defines when the node will retry sending the event. It will never give up.