You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What I want: I'm writing a small program to connect to my wss server and emit some custom events continuously, then i will folk about 1000 processes to simulate a large number of connections and events.
I encountered this error Connection failed: IncompleteResponseFromEngineIo(InvalidPacketId(57)) while following the demo in readme.md.
❯ RUST_BACKTRACE=full cargo run
Compiling wss_rs v0.1.0 (/Users/k/PycharmProjects/locusts/wss_rs)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.98s
Running `target/debug/wss_rs`
thread 'main' panicked at src/main.rs:26:10:
Connection failed: IncompleteResponseFromEngineIo(InvalidPacketId(57))
stack backtrace:
0: 0x104e6604c - std::backtrace_rs::backtrace::libunwind::trace::hbebc8679d47bdc2c
at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
1: 0x104e6604c - std::backtrace_rs::backtrace::trace_unsynchronized::h3a2e9637943241aa
at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
2: 0x104e6604c - std::sys::backtrace::_print_fmt::he430849680584674
at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/sys/backtrace.rs:65:5
3: 0x104e6604c - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h243268f17d714c7f
at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/sys/backtrace.rs:40:26
4: 0x104e80c68 - core::fmt::rt::Argument::fmt::h0d339881c25f3c31
at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/core/src/fmt/rt.rs:173:76
5: 0x104e80c68 - core::fmt::write::hb3cfb8a30e72d7ff
at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/core/src/fmt/mod.rs:1182:21
6: 0x104e63700 - std::io::Write::write_fmt::hfb2314975de9ecf1
at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/io/mod.rs:1827:15
7: 0x104e67128 - std::sys::backtrace::BacktraceLock::print::he14461129ccbfef5
at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/sys/backtrace.rs:43:9
8: 0x104e67128 - std::panicking::default_hook::{{closure}}::h14c7718ccf39d316
at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/panicking.rs:269:22
9: 0x104e66d4c - std::panicking::default_hook::hc62e60da3be2f352
at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/panicking.rs:296:9
10: 0x104e67bec - std::panicking::rust_panic_with_hook::h09e8a656f11e82b2
at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/panicking.rs:800:13
11: 0x104e6753c - std::panicking::begin_panic_handler::{{closure}}::h1230eb3cc91b241c
at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/panicking.rs:674:13
12: 0x104e664d8 - std::sys::backtrace::__rust_end_short_backtrace::hc3491307aceda2c2
at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/sys/backtrace.rs:168:18
13: 0x104e67204 - rust_begin_unwind
at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/panicking.rs:665:5
14: 0x104e95fac - core::panicking::panic_fmt::ha4b80a05b9fff47a
at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/core/src/panicking.rs:74:14
15: 0x104e963c8 - core::result::unwrap_failed::h441932a0bca0dd7f
at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/core/src/result.rs:1679:5
16: 0x1049755a4 - core::result::Result<T,E>::expect::h8c1a4cd0e7d66870
at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/core/src/result.rs:1059:23
17: 0x104972324 - wss_rs::main::h2610a459486072e9
at /Users/k/PycharmProjects/locusts/wss_rs/src/main.rs:19:18
18: 0x104970244 - core::ops::function::FnOnce::call_once::ha2e5ba740545778c
at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/core/src/ops/function.rs:250:5
19: 0x1049766a0 - std::sys::backtrace::__rust_begin_short_backtrace::h91386cabb6166a7b
at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/sys/backtrace.rs:152:18
20: 0x104976654 - std::rt::lang_start::{{closure}}::h2c5948a0402bc8cf
at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/rt.rs:162:18
21: 0x104e60388 - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::h4f74490c6170ea16
at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/core/src/ops/function.rs:284:13
22: 0x104e60388 - std::panicking::try::do_call::h2f36d2f1f1af8d28
at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/panicking.rs:557:40
23: 0x104e60388 - std::panicking::try::ha6af9029a7d93c94
at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/panicking.rs:521:19
24: 0x104e60388 - std::panic::catch_unwind::ha4f738ae2ba7c3a4
at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/panic.rs:350:14
25: 0x104e60388 - std::rt::lang_start_internal::{{closure}}::hf216622dc2c733e3
at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/rt.rs:141:48
26: 0x104e60388 - std::panicking::try::do_call::haa691957db1dd55f
at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/panicking.rs:557:40
27: 0x104e60388 - std::panicking::try::ha0c1a49b9fabc98e
at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/panicking.rs:521:19
28: 0x104e60388 - std::panic::catch_unwind::h68ad032c646bb0ab
at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/panic.rs:350:14
29: 0x104e60388 - std::rt::lang_start_internal::hdd117cb81a316264
at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/rt.rs:141:20
30: 0x104976620 - std::rt::lang_start::hf7dd5c4694bc9ecb
at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/rt.rs:161:17
31: 0x10497284c - _main
What I did: I changed the address of the server, and nothing else.
Besides, I can receive the connect request at the sever end:
The text was updated successfully, but these errors were encountered:
What I want: I'm writing a small program to connect to my wss server and emit some custom events continuously, then i will folk about 1000 processes to simulate a large number of connections and events.
I encountered this error
Connection failed: IncompleteResponseFromEngineIo(InvalidPacketId(57))
while following the demo in readme.md.What I did: I changed the address of the server, and nothing else.
Besides, I can receive the connect request at the sever end:
The text was updated successfully, but these errors were encountered: