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

Websocket blocks shutdown until connection times out (after ~10mins) #1179

Open
Alex6323 opened this issue Feb 25, 2022 · 1 comment
Open
Labels
c-bug Category - Bug

Comments

@Alex6323
Copy link
Contributor

Bug description

2022-02-25 16:36:54 (UTC) bee_protocol::workers::metrics             INFO  NodeMetrics { invalid_packets: 0, milestone_requests_received: 29, messages_received: 340882, message_requests_received: 173, heartbeats_received: 5688, milestone_requests_sent: 709, messages_sent: 272610, message_requests_sent: 76363, heartbeats_sent: 7335, invalid_messages: 0, new_messages: 143837, known_messages: 197045, messages_average_latency: 349, referenced_messages: 143739, excluded_no_transaction_messages: 143221, excluded_conflicting_messages: 102, included_messages: 416, created_outputs: 599, consumed_outputs: 559, receipts: 0, transaction_payloads: 518, milestone_payloads: 1180, indexation_payloads: 142515, snapshots: 0, prunings: 980 }
2022-02-25 16:36:56 (UTC) bee_protocol::workers::status              INFO  Synchronized and confirmed at 2611303 - Tips 12.
2022-02-25 16:37:00 (UTC) warp::filters::ws                          DEBUG websocket poll error: IO error: Connection timed out (os error 110) 
2022-02-25 16:37:00 (UTC) bee_node::plugins::dashboard::websocket    ERROR websocket error(uid=1): IO error: Connection timed out (os error 110)
2022-02-25 16:37:00 (UTC) bee_node::plugins::dashboard::websocket    DEBUG User 1 disconnected.
2022-02-25 16:37:00 (UTC) bee_node::plugins::dashboard               INFO  Stopped.
2022-02-25 16:37:00 (UTC) bee_node::fullnode                         DEBUG Stopping worker bee_node::plugins::version_checker::VersionChecker...
2022-02-25 16:37:00 (UTC) bee_node::plugins::version_checker         INFO  Stopped.
2022-02-25 16:37:00 (UTC) bee_node::fullnode                         DEBUG Stopping worker bee_tangle::tip_pool_cleaner_worker::TipPoolCleanerWorker...
2022-02-25 16:37:00 (UTC) bee_tangle::tip_pool_cleaner_worker        INFO  Stopped.

Rust version

rustc 1.57.0 (f1edd0429 2021-11-29)

VPS

@Alex6323 Alex6323 added the c-bug Category - Bug label Feb 25, 2022
@Alex6323
Copy link
Contributor Author

Alex6323 commented Mar 3, 2022

If you close the dashboard then after a certain timeout period finally this happens and the node shuts down:

2022-03-03 08:54:29 (UTC) warp::filters::ws                          DEBUG websocket poll error: IO error: Connection timed out (os error 110) 
2022-03-03 08:54:29 (UTC) bee_node::plugins::dashboard::websocket    ERROR websocket error(uid=9): IO error: Connection timed out (os error 110)
2022-03-03 08:54:29 (UTC) bee_node::plugins::dashboard::websocket    DEBUG User 9 disconnected.
2022-03-03 08:54:29 (UTC) warp::filters::ws                          DEBUG websocket poll error: IO error: Connection timed out (os error 110) 
2022-03-03 08:54:29 (UTC) bee_node::plugins::dashboard::websocket    ERROR websocket error(uid=2): IO error: Connection timed out (os error 110)
2022-03-03 08:54:29 (UTC) bee_node::plugins::dashboard::websocket    DEBUG User 2 disconnected.
2022-03-03 08:54:29 (UTC) warp::filters::ws                          DEBUG websocket poll error: IO error: Connection timed out (os error 110) 
2022-03-03 08:54:29 (UTC) warp::filters::ws                          DEBUG websocket poll error: IO error: Connection timed out (os error 110) 
2022-03-03 08:54:29 (UTC) bee_node::plugins::dashboard::websocket    ERROR websocket error(uid=13): IO error: Connection timed out (os error 110)
2022-03-03 08:54:29 (UTC) bee_node::plugins::dashboard::websocket    DEBUG User 13 disconnected.
2022-03-03 08:54:29 (UTC) warp::filters::ws                          DEBUG websocket poll error: IO error: Connection timed out (os error 110) 
2022-03-03 08:54:29 (UTC) bee_node::plugins::dashboard::websocket    ERROR websocket error(uid=16): IO error: Connection timed out (os error 110)
2022-03-03 08:54:29 (UTC) bee_node::plugins::dashboard::websocket    DEBUG User 16 disconnected.
2022-03-03 08:54:29 (UTC) warp::filters::ws                          DEBUG websocket poll error: IO error: Connection timed out (os error 110) 
2022-03-03 08:54:29 (UTC) bee_node::plugins::dashboard::websocket    ERROR websocket error(uid=11): IO error: Connection timed out (os error 110)
2022-03-03 08:54:29 (UTC) bee_node::plugins::dashboard::websocket    DEBUG User 11 disconnected.
2022-03-03 08:54:29 (UTC) warp::filters::ws                          DEBUG websocket poll error: IO error: Connection timed out (os error 110) 
2022-03-03 08:54:29 (UTC) bee_node::plugins::dashboard::websocket    ERROR websocket error(uid=5): IO error: Connection timed out (os error 110)
2022-03-03 08:54:29 (UTC) bee_node::plugins::dashboard::websocket    DEBUG User 5 disconnected.
2022-03-03 08:54:29 (UTC) warp::filters::ws                          DEBUG websocket poll error: IO error: Connection timed out (os error 110) 
2022-03-03 08:54:29 (UTC) bee_node::plugins::dashboard::websocket    ERROR websocket error(uid=3): IO error: Connection timed out (os error 110)
2022-03-03 08:54:29 (UTC) bee_node::plugins::dashboard::websocket    DEBUG User 3 disconnected.
2022-03-03 08:54:29 (UTC) warp::filters::ws                          DEBUG websocket poll error: IO error: Connection timed out (os error 110) 
2022-03-03 08:54:29 (UTC) bee_node::plugins::dashboard::websocket    ERROR websocket error(uid=10): IO error: Connection timed out (os error 110)
2022-03-03 08:54:29 (UTC) bee_node::plugins::dashboard::websocket    DEBUG User 10 disconnected.
2022-03-03 08:54:29 (UTC) warp::filters::ws                          DEBUG websocket poll error: IO error: Connection timed out (os error 110) 
2022-03-03 08:54:29 (UTC) bee_node::plugins::dashboard::websocket    ERROR websocket error(uid=4): IO error: Connection timed out (os error 110)
2022-03-03 08:54:29 (UTC) bee_node::plugins::dashboard::websocket    DEBUG User 4 disconnected.
2022-03-03 08:54:29 (UTC) bee_node::plugins::dashboard::websocket    ERROR websocket error(uid=8): IO error: Connection timed out (os error 110)
2022-03-03 08:54:29 (UTC) bee_node::plugins::dashboard::websocket    DEBUG User 8 disconnected.

Why does it create so many users in the first place?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c-bug Category - Bug
Projects
None yet
Development

No branches or pull requests

1 participant