AstarNetwork / Astar

The dApp hub for blockchains of the future
https://astar.network/
GNU General Public License v3.0
739 stars 363 forks source link

2023-01-19 06:17:29 Rejected connection: Transport(i/o error: unexpected end of file #832

Closed ghost closed 1 year ago

ghost commented 1 year ago

version: v4.44.0 network: shiden

log

2023-01-19 06:17:29 Accepting new connection 2/100
2023-01-19 06:17:29 Accepting new connection 3/100
2023-01-19 06:17:29 Rejected connection: Transport(i/o error: unexpected end of file

Caused by:
    unexpected end of file

Stack backtrace:
   0: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
   1: jsonrpsee_ws_server::future::FutureDriver<F>::drive
   2: tokio::runtime::task::core::CoreStage<T>::poll
   3: tokio::runtime::task::raw::poll
   4: tokio::runtime::scheduler::multi_thread::worker::Context::run_task
   5: tokio::runtime::scheduler::multi_thread::worker::run
   6: tokio::runtime::task::raw::poll
   7: std::sys_common::backtrace::__rust_begin_short_backtrace
   8: core::ops::function::FnOnce::call_once{{vtable.shim}}
   9: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
             at ./rustc/81f391930301afbc121b7c468138069daa354bf8/library/alloc/src/boxed.rs:1938:9
  10: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
             at ./rustc/81f391930301afbc121b7c468138069daa354bf8/library/alloc/src/boxed.rs:1938:9
  11: std::sys::unix::thread::Thread::new::thread_start
             at ./rustc/81f391930301afbc121b7c468138069daa354bf8/library/std/src/sys/unix/thread.rs:108:17
  12: start_thread
  13: clone)
2023-01-19 06:17:29 Rejected connection: Transport(i/o error: unexpected end of file

Caused by:
    unexpected end of file

Stack backtrace:
   0: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
   1: jsonrpsee_ws_server::future::FutureDriver<F>::drive
   2: tokio::runtime::task::core::CoreStage<T>::poll
   3: tokio::runtime::task::raw::poll
   4: tokio::runtime::scheduler::multi_thread::worker::Context::run_task
   5: tokio::runtime::scheduler::multi_thread::worker::run
   6: tokio::runtime::task::raw::poll
   7: std::sys_common::backtrace::__rust_begin_short_backtrace
   8: core::ops::function::FnOnce::call_once{{vtable.shim}}
   9: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
             at ./rustc/81f391930301afbc121b7c468138069daa354bf8/library/alloc/src/boxed.rs:1938:9
  10: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
             at ./rustc/81f391930301afbc121b7c468138069daa354bf8/library/alloc/src/boxed.rs:1938:9
  11: std::sys::unix::thread::Thread::new::thread_start
             at ./rustc/81f391930301afbc121b7c468138069daa354bf8/library/std/src/sys/unix/thread.rs:108:17
  12: start_thread
  13: clone)
2023-01-19 06:17:31 [Relaychain] ✨ Imported #16254869 (0x09f0…913d)
2023-01-19 06:17:31 [Relaychain] ✨ Imported #16254869 (0xeb0e…95c3)
2023-01-19 06:17:31 [Relaychain] ✨ Imported #16254869 (0x6c05…2dfd)
2023-01-19 06:17:31 [Parachain] 💤 Idle (34 peers), best: #3197906 (0x0dfd…e8f4), finalized #3197905 (0x9c85…1360), ⬇ 0.4kiB/s ⬆ 0.4kiB/s
2023-01-19 06:17:32 [Relaychain] 💤 Idle (11 peers), best: #16254869 (0x09f0…913d), finalized #16254865 (0x81b9…f624), ⬇ 104.1kiB/s ⬆ 8.8kiB/s
2023-01-19 06:17:36 [Relaychain] ✨ Imported #16254870 (0x2575…e51a)
2023-01-19 06:17:36 [Parachain] 💤 Idle (34 peers), best: #3197907 (0x3b7f…aa83), finalized #3197905 (0x9c85…1360), ⬇ 0.3kiB/s ⬆ 0.3kiB/s
2023-01-19 06:17:37 [Relaychain] 💤 Idle (11 peers), best: #16254870 (0x2575…e51a), finalized #16254866 (0x7441…9a3f), ⬇ 115.2kiB/s ⬆ 91.1kiB/s
2023-01-19 06:17:37 [Parachain] ✨ Imported #3197908 (0x55ee…a0a5)
2023-01-19 06:17:37 [Parachain] ✨ Imported #3197908 (0x1e17…8380)
2023-01-19 06:17:39 Accepting new connection 2/100
2023-01-19 06:17:39 Accepting new connection 3/100
2023-01-19 06:17:39 Rejected connection: Transport(i/o error: unexpected end of file

Caused by:
    unexpected end of file

Stack backtrace:
   0: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
   1: jsonrpsee_ws_server::future::FutureDriver<F>::drive
   2: tokio::runtime::task::core::CoreStage<T>::poll
   3: tokio::runtime::task::raw::poll
   4: tokio::runtime::scheduler::multi_thread::worker::Context::run_task
   5: tokio::runtime::scheduler::multi_thread::worker::run
   6: tokio::runtime::task::raw::poll
   7: std::sys_common::backtrace::__rust_begin_short_backtrace
   8: core::ops::function::FnOnce::call_once{{vtable.shim}}
   9: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
             at ./rustc/81f391930301afbc121b7c468138069daa354bf8/library/alloc/src/boxed.rs:1938:9
  10: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
             at ./rustc/81f391930301afbc121b7c468138069daa354bf8/library/alloc/src/boxed.rs:1938:9
  11: std::sys::unix::thread::Thread::new::thread_start
             at ./rustc/81f391930301afbc121b7c468138069daa354bf8/library/std/src/sys/unix/thread.rs:108:17
  12: start_thread
  13: clone)
2023-01-19 06:17:39 Rejected connection: Transport(i/o error: unexpected end of file

Caused by:
    unexpected end of file

Stack backtrace:
   0: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
   1: jsonrpsee_ws_server::future::FutureDriver<F>::drive
   2: tokio::runtime::task::core::CoreStage<T>::poll
   3: tokio::runtime::task::raw::poll
   4: tokio::runtime::scheduler::multi_thread::worker::Context::run_task
   5: tokio::runtime::scheduler::multi_thread::worker::run
   6: tokio::runtime::task::raw::poll
   7: std::sys_common::backtrace::__rust_begin_short_backtrace
   8: core::ops::function::FnOnce::call_once{{vtable.shim}}
   9: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
             at ./rustc/81f391930301afbc121b7c468138069daa354bf8/library/alloc/src/boxed.rs:1938:9
  10: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
             at ./rustc/81f391930301afbc121b7c468138069daa354bf8/library/alloc/src/boxed.rs:1938:9
  11: std::sys::unix::thread::Thread::new::thread_start
             at ./rustc/81f391930301afbc121b7c468138069daa354bf8/library/std/src/sys/unix/thread.rs:108:17
  12: start_thread
  13: clone)
2023-01-19 06:17:41 [Parachain] 💤 Idle (34 peers), best: #3197907 (0x3b7f…aa83), finalized #3197905 (0x9c85…1360), ⬇ 118.1kiB/s ⬆ 9.1kiB/s
2023-01-19 06:17:42 [Relaychain] 💤 Idle (16 peers), best: #16254870 (0x2575…e51a), finalized #16254866 (0x7441…9a3f), ⬇ 2.2kiB/s ⬆ 2.5kiB/s
2023-01-19 06:17:43 [Relaychain] ✨ Imported #16254871 (0x4266…e5a3)
2023-01-19 06:17:46 [Parachain] 💤 Idle (34 peers), best: #3197907 (0x3b7f…aa83), finalized #3197906 (0x0dfd…e8f4), ⬇ 0.4kiB/s ⬆ 0.4kiB/s
2023-01-19 06:17:47 [Relaychain] 💤 Idle (15 peers), best: #16254871 (0x4266…e5a3), finalized #16254869 (0x09f0…913d), ⬇ 324.2kiB/s ⬆ 345.1kiB/s
2023-01-19 06:17:49 Accepting new connection 2/100
2023-01-19 06:17:49 Accepting new connection 3/100
2023-01-19 06:17:49 Rejected connection: Transport(i/o error: unexpected end of file

Caused by:
    unexpected end of file

Stack backtrace:
   0: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
   1: jsonrpsee_ws_server::future::FutureDriver<F>::drive
   2: tokio::runtime::task::core::CoreStage<T>::poll
   3: tokio::runtime::task::raw::poll
   4: tokio::runtime::scheduler::multi_thread::worker::Context::run_task
   5: tokio::runtime::scheduler::multi_thread::worker::run
   6: tokio::runtime::task::raw::poll
   7: std::sys_common::backtrace::__rust_begin_short_backtrace
   8: core::ops::function::FnOnce::call_once{{vtable.shim}}
   9: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
             at ./rustc/81f391930301afbc121b7c468138069daa354bf8/library/alloc/src/boxed.rs:1938:9
  10: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
             at ./rustc/81f391930301afbc121b7c468138069daa354bf8/library/alloc/src/boxed.rs:1938:9
  11: std::sys::unix::thread::Thread::new::thread_start
             at ./rustc/81f391930301afbc121b7c468138069daa354bf8/library/std/src/sys/unix/thread.rs:108:17
  12: start_thread
  13: clone)
2023-01-19 06:17:49 Rejected connection: Transport(i/o error: unexpected end of file

Caused by:
    unexpected end of file

Stack backtrace:
   0: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
   1: jsonrpsee_ws_server::future::FutureDriver<F>::drive
   2: tokio::runtime::task::core::CoreStage<T>::poll
   3: tokio::runtime::task::raw::poll
   4: tokio::runtime::scheduler::multi_thread::worker::Context::run_task
   5: tokio::runtime::scheduler::multi_thread::worker::run
   6: tokio::runtime::task::raw::poll
   7: std::sys_common::backtrace::__rust_begin_short_backtrace
   8: core::ops::function::FnOnce::call_once{{vtable.shim}}
   9: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
             at ./rustc/81f391930301afbc121b7c468138069daa354bf8/library/alloc/src/boxed.rs:1938:9
  10: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
             at ./rustc/81f391930301afbc121b7c468138069daa354bf8/library/alloc/src/boxed.rs:1938:9
  11: std::sys::unix::thread::Thread::new::thread_start
             at ./rustc/81f391930301afbc121b7c468138069daa354bf8/library/std/src/sys/unix/thread.rs:108:17
  12: start_thread
  13: clone)
2023-01-19 06:17:49 [Relaychain] ✨ Imported #16254872 (0x1755…1db0)
2023-01-19 06:17:49 [Parachain] ✨ Imported #3197909 (0x68ab…1170)
2023-01-19 06:17:49 [Parachain] ✨ Imported #3197909 (0x5f0c…c66d)
2023-01-19 06:17:51 [Parachain] 💤 Idle (34 peers), best: #3197908 (0x55ee…a0a5), finalized #3197906 (0x0dfd…e8f4), ⬇ 93.2kiB/s ⬆ 5.1kiB/s
2023-01-19 06:17:52 [Relaychain] 💤 Idle (14 peers), best: #16254872 (0x1755…1db0), finalized #16254869 (0x09f0…913d), ⬇ 246.5kiB/s ⬆ 437.5kiB/s
2023-01-19 06:17:55 [Relaychain] ✨ Imported #16254873 (0x3f1d…ba69)
2023-01-19 06:17:55 [Relaychain] ♻️  Reorg on #16254873,0x3f1d…ba69 to #16254873,0x41a4…452a, common ancestor #16254872,0x1755…1db0
2023-01-19 06:17:55 [Relaychain] ✨ Imported #16254873 (0x41a4…452a)
2023-01-19 06:17:56 [Parachain] 💤 Idle (34 peers), best: #3197908 (0x55ee…a0a5), finalized #3197907 (0x3b7f…aa83), ⬇ 0.6kiB/s ⬆ 0.6kiB/s
2023-01-19 06:17:57 [Relaychain] 💤 Idle (13 peers), best: #16254873 (0x41a4…452a), finalized #16254870 (0x2575…e51a), ⬇ 264.6kiB/s ⬆ 677.3kiB/s
2023-01-19 06:17:59 Accepting new connection 2/100
2023-01-19 06:17:59 Accepting new connection 3/100
2023-01-19 06:17:59 Rejected connection: Transport(i/o error: unexpected end of file

Caused by:
    unexpected end of file

Stack backtrace:
   0: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
   1: jsonrpsee_ws_server::future::FutureDriver<F>::drive
   2: tokio::runtime::task::core::CoreStage<T>::poll
   3: tokio::runtime::task::raw::poll
   4: tokio::runtime::scheduler::multi_thread::worker::Context::run_task
   5: tokio::runtime::scheduler::multi_thread::worker::run
   6: tokio::runtime::task::raw::poll
   7: std::sys_common::backtrace::__rust_begin_short_backtrace
   8: core::ops::function::FnOnce::call_once{{vtable.shim}}
   9: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
             at ./rustc/81f391930301afbc121b7c468138069daa354bf8/library/alloc/src/boxed.rs:1938:9
  10: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
             at ./rustc/81f391930301afbc121b7c468138069daa354bf8/library/alloc/src/boxed.rs:1938:9
  11: std::sys::unix::thread::Thread::new::thread_start
             at ./rustc/81f391930301afbc121b7c468138069daa354bf8/library/std/src/sys/unix/thread.rs:108:17
  12: start_thread
  13: clone)
2023-01-19 06:17:59 Rejected connection: Transport(i/o error: unexpected end of file

Caused by:
    unexpected end of file

Stack backtrace:
   0: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
   1: jsonrpsee_ws_server::future::FutureDriver<F>::drive
   2: tokio::runtime::task::core::CoreStage<T>::poll
   3: tokio::runtime::task::raw::poll
   4: tokio::runtime::scheduler::multi_thread::worker::Context::run_task
   5: tokio::runtime::scheduler::multi_thread::worker::run
   6: tokio::runtime::task::raw::poll
   7: std::sys_common::backtrace::__rust_begin_short_backtrace
   8: core::ops::function::FnOnce::call_once{{vtable.shim}}
   9: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
             at ./rustc/81f391930301afbc121b7c468138069daa354bf8/library/alloc/src/boxed.rs:1938:9
  10: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
             at ./rustc/81f391930301afbc121b7c468138069daa354bf8/library/alloc/src/boxed.rs:1938:9
  11: std::sys::unix::thread::Thread::new::thread_start
             at ./rustc/81f391930301afbc121b7c468138069daa354bf8/library/std/src/sys/unix/thread.rs:108:17
  12: start_thread
  13: clone)
2023-01-19 06:18:01 [Relaychain] ✨ Imported #16254874 (0xc091…ea5f)
2023-01-19 06:18:01 [Parachain] ✨ Imported #3197910 (0x07f2…71f2)
2023-01-19 06:18:01 [Parachain] ✨ Imported #3197910 (0xaf7d…0644)
2023-01-19 06:18:01 [Parachain] 💤 Idle (34 peers), best: #3197909 (0x5f0c…c66d), finalized #3197907 (0x3b7f…aa83), ⬇ 109.8kiB/s ⬆ 11.2kiB/s
2023-01-19 06:18:02 [Relaychain] 💤 Idle (14 peers), best: #16254874 (0xc091…ea5f), finalized #16254871 (0x4266…e5a3), ⬇ 240.0kiB/s ⬆ 379.6kiB/s
2023-01-19 06:18:06 [Parachain] 💤 Idle (34 peers), best: #3197909 (0x5f0c…c66d), finalized #3197907 (0x3b7f…aa83), ⬇ 0.3kiB/s ⬆ 0.3kiB/s
2023-01-19 06:18:07 [Relaychain] ✨ Imported #16254875 (0x2b38…a32d)
2023-01-19 06:18:07 [Relaychain] ♻️  Reorg on #16254875,0x2b38…a32d to #16254875,0x8541…102d, common ancestor #16254874,0xc091…ea5f
2023-01-19 06:18:07 [Relaychain] ✨ Imported #16254875 (0x8541…102d)
2023-01-19 06:18:07 [Relaychain] 💤 Idle (15 peers), best: #16254875 (0x8541…102d), finalized #16254871 (0x4266…e5a3), ⬇ 95.4kiB/s ⬆ 251.6kiB/s
2023-01-19 06:18:09 Accepting new connection 2/100
2023-01-19 06:18:09 Accepting new connection 3/100
2023-01-19 06:18:09 Rejected connection: Transport(i/o error: unexpected end of file

Caused by:
    unexpected end of file

Stack backtrace:
   0: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
   1: jsonrpsee_ws_server::future::FutureDriver<F>::drive
   2: tokio::runtime::task::core::CoreStage<T>::poll
   3: tokio::runtime::task::raw::poll
   4: tokio::runtime::scheduler::multi_thread::worker::Context::run_task
   5: tokio::runtime::scheduler::multi_thread::worker::run
   6: tokio::runtime::task::raw::poll
   7: std::sys_common::backtrace::__rust_begin_short_backtrace
   8: core::ops::function::FnOnce::call_once{{vtable.shim}}
   9: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
             at ./rustc/81f391930301afbc121b7c468138069daa354bf8/library/alloc/src/boxed.rs:1938:9
  10: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
             at ./rustc/81f391930301afbc121b7c468138069daa354bf8/library/alloc/src/boxed.rs:1938:9
  11: std::sys::unix::thread::Thread::new::thread_start
             at ./rustc/81f391930301afbc121b7c468138069daa354bf8/library/std/src/sys/unix/thread.rs:108:17
  12: start_thread
  13: clone)
2023-01-19 06:18:09 Rejected connection: Transport(i/o error: unexpected end of file

Caused by:
    unexpected end of file

Stack backtrace:
   0: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
   1: jsonrpsee_ws_server::future::FutureDriver<F>::drive
   2: tokio::runtime::task::core::CoreStage<T>::poll
   3: tokio::runtime::task::raw::poll
   4: tokio::runtime::scheduler::multi_thread::worker::Context::run_task
   5: tokio::runtime::scheduler::multi_thread::worker::run
   6: tokio::runtime::task::raw::poll
   7: std::sys_common::backtrace::__rust_begin_short_backtrace
   8: core::ops::function::FnOnce::call_once{{vtable.shim}}
   9: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
             at ./rustc/81f391930301afbc121b7c468138069daa354bf8/library/alloc/src/boxed.rs:1938:9
  10: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
             at ./rustc/81f391930301afbc121b7c468138069daa354bf8/library/alloc/src/boxed.rs:1938:9
  11: std::sys::unix::thread::Thread::new::thread_start
             at ./rustc/81f391930301afbc121b7c468138069daa354bf8/library/std/src/sys/unix/thread.rs:108:17
  12: start_thread
  13: clone)
2023-01-19 06:18:11 [Parachain] 💤 Idle (34 peers), best: #3197909 (0x5f0c…c66d), finalized #3197908 (0x55ee…a0a5), ⬇ 0.4kiB/s ⬆ 0.4kiB/s
2023-01-19 06:18:12 [Relaychain] 💤 Idle (30 peers), best: #16254875 (0x8541…102d), finalized #16254873 (0x41a4…452a), ⬇ 377.1kiB/s ⬆ 818.9kiB/s
2023-01-19 06:18:12 [Relaychain] ✨ Imported #16254876 (0xb825…5957)
2023-01-19 06:18:13 [Parachain] ✨ Imported #3197911 (0x69b1…0ba2)
2023-01-19 06:18:14 [Parachain] ✨ Imported #3197911 (0x2535…16c9)
akru commented 1 year ago

Hello @lsdbitrue, thank you for report. Would you provide more information:

  1. node launch string
  2. how to reproduce issue step by step
ghost commented 1 year ago

I'm using those args

            - astar-collator
            - --name=bitrue-shiden
            - --pruning=archive
            - --chain=shiden
            - --execution=Wasm
            - --base-path=/chaindata
            - --rpc-cors=all
            - --state-cache-size=1
            - --unsafe-ws-external
            - --rpc-methods=Unsafe
            - --no-prometheus

when I upgrade my node from v4.38.0 to v4.44.0, then it happens

Satish-Masa commented 1 year ago

I have the same problem. version: v4.46.1 network: shiden

2023-02-09 03:09:01 Accepting new connection 42/100
2023-02-09 03:09:01 Rejected connection: Transport(i/o error: unexpected end of file

Caused by:
    unexpected end of file

Stack backtrace:
   0: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
   1: jsonrpsee_ws_server::future::FutureDriver<F>::drive
   2: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
   3: tokio::runtime::task::raw::poll
   4: tokio::runtime::scheduler::multi_thread::worker::Context::run_task
   5: tokio::runtime::scheduler::multi_thread::worker::run
   6: tokio::runtime::task::raw::poll
   7: std::sys_common::backtrace::__rust_begin_short_backtrace
   8: core::ops::function::FnOnce::call_once{{vtable.shim}}
   9: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
             at ./rustc/81f391930301afbc121b7c468138069daa354bf8/library/alloc/src/boxed.rs:1938:9
  10: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
             at ./rustc/81f391930301afbc121b7c468138069daa354bf8/library/alloc/src/boxed.rs:1938:9
  11: std::sys::unix::thread::Thread::new::thread_start
             at ./rustc/81f391930301afbc121b7c468138069daa354bf8/library/std/src/sys/unix/thread.rs:108:17
  12: start_thread
  13: clone)
- astar-collator
            - --name my-shiden
            - --pruning archive
            - --chain shiden
            - --execution Wasm
            - --base-path /data
            - --rpc-cors all
            - --rpc-external
            - --ws-external

If you have a solution, it would be appreciated. Best regard!!

akru commented 1 year ago

This looks like WS connection errors, if this error don't block your node normal work I guess you can ignore it.