BigBoot / AutoKuma

AutoKuma is a utility that automates the creation of Uptime Kuma monitors based on Docker container labels. With AutoKuma, you can eliminate the need for manual monitor creation in the Uptime Kuma UI.
MIT License
309 stars 15 forks source link

Network issues #9

Closed Soitora closed 8 months ago

Soitora commented 8 months ago

Looks like Autokuma has been spamming my network

image

AutoKuma is the only one on and it seems to be due to an error image

I've turned it off

BigBoot commented 8 months ago

Hi, it looks like it chokes when trying to parse the value 8181, unfortunately uptime-kuma is quite unspecific with the datatypes for it's values. 8181 looks like a port value, can you confirm if you have a monitor with a port set to 8181?

I've made the parsing for ports more lenient on master, can you please try and see if this fixed your problem, otherwise we'd need to look into where this value comes from so I can adjust the datatype here.

Soitora commented 8 months ago

Hey

I have Tautulli on 8181, and have on UptimeKuma a monitor for it, the problem still exists

BigBoot commented 8 months ago

I see, can you please set the environment variable: RUST_BACKTRACE=full and post the backtrace here.

Soitora commented 8 months ago

Does this help with anything?

2024-03-10 18:51:35 autokuma-1  | thread 'tokio-runtime-worker' panicked at /usr/src/autokuma/kuma-client/src/client.rs:166:70:
2024-03-10 18:51:35 autokuma-1  | called `Result::unwrap()` on an `Err` value: Error("invalid type: integer `8181`, expected a string", line: 0, column: 0)
2024-03-10 18:51:35 autokuma-1  | stack backtrace:
2024-03-10 18:51:35 autokuma-1  |    0:     0x555fb90ac45c - std::backtrace_rs::backtrace::libunwind::trace::ha637c64ce894333a
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
2024-03-10 18:51:35 autokuma-1  |    1:     0x555fb90ac45c - std::backtrace_rs::backtrace::trace_unsynchronized::h47f62dea28e0c88d
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
2024-03-10 18:51:35 autokuma-1  |    2:     0x555fb90ac45c - std::sys_common::backtrace::_print_fmt::h9eef0abe20ede486
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:67:5
2024-03-10 18:51:35 autokuma-1  |    3:     0x555fb90ac45c - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hed7f999df88cc644
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:44:22
2024-03-10 18:51:35 autokuma-1  |    4:     0x555fb90d75c0 - core::fmt::rt::Argument::fmt::h1539a9308b8d058d
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/rt.rs:142:9
2024-03-10 18:51:35 autokuma-1  |    5:     0x555fb90d75c0 - core::fmt::write::h3a39390d8560d9c9
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/mod.rs:1120:17
2024-03-10 18:51:35 autokuma-1  |    6:     0x555fb90a98bf - std::io::Write::write_fmt::h5fc9997dfe05f882
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/io/mod.rs:1762:15
2024-03-10 18:51:35 autokuma-1  |    7:     0x555fb90ac244 - std::sys_common::backtrace::_print::h894006fb5c6f3d45
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:47:5
2024-03-10 18:51:35 autokuma-1  |    8:     0x555fb90ac244 - std::sys_common::backtrace::print::h23a2d212c6fff936
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:34:9
2024-03-10 18:51:35 autokuma-1  |    9:     0x555fb90ad847 - std::panicking::default_hook::{{closure}}::h8a1d2ee00185001a
2024-03-10 18:51:35 autokuma-1  |   10:     0x555fb90ad5af - std::panicking::default_hook::h6038f2eba384e475
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:292:9
2024-03-10 18:51:35 autokuma-1  |   11:     0x555fb90adcc8 - std::panicking::rust_panic_with_hook::h2b5517d590cab22e
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:779:13
2024-03-10 18:51:35 autokuma-1  |   12:     0x555fb90adbae - std::panicking::begin_panic_handler::{{closure}}::h233112c06e0ef43e
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:657:13
2024-03-10 18:51:35 autokuma-1  |   13:     0x555fb90ac926 - std::sys_common::backtrace::__rust_end_short_backtrace::h6e893f24d7ebbff8
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:170:18
2024-03-10 18:51:35 autokuma-1  |   14:     0x555fb90ad912 - rust_begin_unwind
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:645:5
2024-03-10 18:51:35 autokuma-1  |   15:     0x555fb89b9ef5 - core::panicking::panic_fmt::hbf0e066aabfa482c
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:72:14
2024-03-10 18:51:35 autokuma-1  |   16:     0x555fb89ba433 - core::result::unwrap_failed::hddb4fea594200c52
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/result.rs:1653:5
2024-03-10 18:51:35 autokuma-1  |   17:     0x555fb8bd15c1 - kuma_client::client::Worker::on_event::{{closure}}::hfddbe6ec5884c57f
2024-03-10 18:51:35 autokuma-1  |   18:     0x555fb8bcc076 - kuma_client::client::Worker::connect::{{closure}}::{{closure}}::{{closure}}::{{closure}}::h3bf2cc8081b31dce
2024-03-10 18:51:35 autokuma-1  |   19:     0x555fb8bf21a5 - tokio::runtime::task::core::Core<T,S>::poll::h21f461232a597765
2024-03-10 18:51:35 autokuma-1  |   20:     0x555fb8ac4d97 - tokio::runtime::task::harness::Harness<T,S>::poll::h1be9b051bf73a22c
2024-03-10 18:51:35 autokuma-1  |   21:     0x555fb8fa7ceb - tokio::runtime::scheduler::multi_thread::worker::Context::run_task::h58e79617ddc5b6cb
2024-03-10 18:51:35 autokuma-1  |   22:     0x555fb8fa6e90 - tokio::runtime::scheduler::multi_thread::worker::Context::run::h328aa11a8cbd2ff9
2024-03-10 18:51:35 autokuma-1  |   23:     0x555fb8f94792 - tokio::runtime::context::set_scheduler::h4b75cd949e356791
2024-03-10 18:51:35 autokuma-1  |   24:     0x555fb8f98fdf - tokio::runtime::context::runtime::enter_runtime::h25179a6048e4c557
2024-03-10 18:51:35 autokuma-1  |   25:     0x555fb8fa63e8 - tokio::runtime::scheduler::multi_thread::worker::run::h5465053c03b42d72
2024-03-10 18:51:35 autokuma-1  |   26:     0x555fb8f8ab93 - <tokio::runtime::blocking::task::BlockingTask<T> as core::future::future::Future>::poll::h7a44ea55d42cd0cc
2024-03-10 18:51:35 autokuma-1  |   27:     0x555fb8fab827 - tokio::runtime::task::core::Core<T,S>::poll::h63944f40587d45e1
2024-03-10 18:51:35 autokuma-1  |   28:     0x555fb8f88d5a - tokio::runtime::task::harness::Harness<T,S>::poll::hbee75dd155d085f2
2024-03-10 18:51:35 autokuma-1  |   29:     0x555fb8f9f6b1 - tokio::runtime::blocking::pool::Inner::run::h12527357f3dc5518
2024-03-10 18:51:35 autokuma-1  |   30:     0x555fb8fa91e7 - std::sys_common::backtrace::__rust_begin_short_backtrace::h65d6633220851fd5
2024-03-10 18:51:35 autokuma-1  |   31:     0x555fb8f93929 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h1389ce9d8cd9649b
2024-03-10 18:51:35 autokuma-1  |   32:     0x555fb90b1195 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hc7eafaff61e32df9
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
2024-03-10 18:51:35 autokuma-1  |   33:     0x555fb90b1195 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6ba4a5de48dd2304
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
2024-03-10 18:51:35 autokuma-1  |   34:     0x555fb90b1195 - std::sys::unix::thread::Thread::new::thread_start::he469335aef763e45
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys/unix/thread.rs:108:17
2024-03-10 18:51:35 autokuma-1  |   35:     0x7f185bea8134 - <unknown>
2024-03-10 18:51:35 autokuma-1  |   36:     0x7f185bf287dc - <unknown>
2024-03-10 18:51:35 autokuma-1  |   37:                0x0 - <unknown>
2024-03-10 18:51:35 autokuma-1  | thread 'tokio-runtime-worker' panicked at /usr/src/autokuma/kuma-client/src/client.rs:166:70:
2024-03-10 18:51:35 autokuma-1  | called `Result::unwrap()` on an `Err` value: Error("invalid type: integer `8181`, expected a string", line: 0, column: 0)
2024-03-10 18:51:35 autokuma-1  | stack backtrace:
2024-03-10 18:51:35 autokuma-1  |    0:     0x555fb90ac45c - std::backtrace_rs::backtrace::libunwind::trace::ha637c64ce894333a
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
2024-03-10 18:51:35 autokuma-1  |    1:     0x555fb90ac45c - std::backtrace_rs::backtrace::trace_unsynchronized::h47f62dea28e0c88d
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
2024-03-10 18:51:35 autokuma-1  |    2:     0x555fb90ac45c - std::sys_common::backtrace::_print_fmt::h9eef0abe20ede486
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:67:5
2024-03-10 18:51:35 autokuma-1  |    3:     0x555fb90ac45c - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hed7f999df88cc644
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:44:22
2024-03-10 18:51:35 autokuma-1  |    4:     0x555fb90d75c0 - core::fmt::rt::Argument::fmt::h1539a9308b8d058d
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/rt.rs:142:9
2024-03-10 18:51:35 autokuma-1  |    5:     0x555fb90d75c0 - core::fmt::write::h3a39390d8560d9c9
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/mod.rs:1120:17
2024-03-10 18:51:35 autokuma-1  |    6:     0x555fb90a98bf - std::io::Write::write_fmt::h5fc9997dfe05f882
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/io/mod.rs:1762:15
2024-03-10 18:51:35 autokuma-1  |    7:     0x555fb90ac244 - std::sys_common::backtrace::_print::h894006fb5c6f3d45
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:47:5
2024-03-10 18:51:35 autokuma-1  |    8:     0x555fb90ac244 - std::sys_common::backtrace::print::h23a2d212c6fff936
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:34:9
2024-03-10 18:51:35 autokuma-1  |    9:     0x555fb90ad847 - std::panicking::default_hook::{{closure}}::h8a1d2ee00185001a
2024-03-10 18:51:35 autokuma-1  |   10:     0x555fb90ad5af - std::panicking::default_hook::h6038f2eba384e475
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:292:9
2024-03-10 18:51:35 autokuma-1  |   11:     0x555fb90adcc8 - std::panicking::rust_panic_with_hook::h2b5517d590cab22e
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:779:13
2024-03-10 18:51:35 autokuma-1  |   12:     0x555fb90adbae - std::panicking::begin_panic_handler::{{closure}}::h233112c06e0ef43e
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:657:13
2024-03-10 18:51:35 autokuma-1  |   13:     0x555fb90ac926 - std::sys_common::backtrace::__rust_end_short_backtrace::h6e893f24d7ebbff8
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:170:18
2024-03-10 18:51:35 autokuma-1  |   14:     0x555fb90ad912 - rust_begin_unwind
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:645:5
2024-03-10 18:51:35 autokuma-1  |   15:     0x555fb89b9ef5 - core::panicking::panic_fmt::hbf0e066aabfa482c
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:72:14
2024-03-10 18:51:35 autokuma-1  |   16:     0x555fb89ba433 - core::result::unwrap_failed::hddb4fea594200c52
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/result.rs:1653:5
2024-03-10 18:51:35 autokuma-1  |   17:     0x555fb8bd15c1 - kuma_client::client::Worker::on_event::{{closure}}::hfddbe6ec5884c57f
2024-03-10 18:51:35 autokuma-1  |   18:     0x555fb8bcc076 - kuma_client::client::Worker::connect::{{closure}}::{{closure}}::{{closure}}::{{closure}}::h3bf2cc8081b31dce
2024-03-10 18:51:35 autokuma-1  |   19:     0x555fb8bf21a5 - tokio::runtime::task::core::Core<T,S>::poll::h21f461232a597765
2024-03-10 18:51:35 autokuma-1  |   20:     0x555fb8ac4d97 - tokio::runtime::task::harness::Harness<T,S>::poll::h1be9b051bf73a22c
2024-03-10 18:51:35 autokuma-1  |   21:     0x555fb8fa7ceb - tokio::runtime::scheduler::multi_thread::worker::Context::run_task::h58e79617ddc5b6cb
2024-03-10 18:51:35 autokuma-1  |   22:     0x555fb8fa6e90 - tokio::runtime::scheduler::multi_thread::worker::Context::run::h328aa11a8cbd2ff9
2024-03-10 18:51:35 autokuma-1  |   23:     0x555fb8f94792 - tokio::runtime::context::set_scheduler::h4b75cd949e356791
2024-03-10 18:51:35 autokuma-1  |   24:     0x555fb8f98fdf - tokio::runtime::context::runtime::enter_runtime::h25179a6048e4c557
2024-03-10 18:51:35 autokuma-1  |   25:     0x555fb8fa63e8 - tokio::runtime::scheduler::multi_thread::worker::run::h5465053c03b42d72
2024-03-10 18:51:35 autokuma-1  |   26:     0x555fb8f8ab93 - <tokio::runtime::blocking::task::BlockingTask<T> as core::future::future::Future>::poll::h7a44ea55d42cd0cc
2024-03-10 18:51:35 autokuma-1  |   27:     0x555fb8fab827 - tokio::runtime::task::core::Core<T,S>::poll::h63944f40587d45e1
2024-03-10 18:51:35 autokuma-1  |   28:     0x555fb8f88d5a - tokio::runtime::task::harness::Harness<T,S>::poll::hbee75dd155d085f2
2024-03-10 18:51:35 autokuma-1  |   29:     0x555fb8f9f6b1 - tokio::runtime::blocking::pool::Inner::run::h12527357f3dc5518
2024-03-10 18:51:35 autokuma-1  |   30:     0x555fb8fa91e7 - std::sys_common::backtrace::__rust_begin_short_backtrace::h65d6633220851fd5
2024-03-10 18:51:35 autokuma-1  |   31:     0x555fb8f93929 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h1389ce9d8cd9649b
2024-03-10 18:51:35 autokuma-1  |   32:     0x555fb90b1195 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hc7eafaff61e32df9
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
2024-03-10 18:51:35 autokuma-1  |   33:     0x555fb90b1195 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6ba4a5de48dd2304
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
2024-03-10 18:51:35 autokuma-1  |   34:     0x555fb90b1195 - std::sys::unix::thread::Thread::new::thread_start::he469335aef763e45
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys/unix/thread.rs:108:17
2024-03-10 18:51:35 autokuma-1  |   35:     0x7f185bea8134 - <unknown>
2024-03-10 18:51:35 autokuma-1  |   36:     0x7f185bf287dc - <unknown>
2024-03-10 18:51:35 autokuma-1  |   37:                0x0 - <unknown>
2024-03-10 18:51:35 autokuma-1  | thread 'tokio-runtime-worker' panicked at /usr/src/autokuma/kuma-client/src/client.rs:166:70:
2024-03-10 18:51:35 autokuma-1  | called `Result::unwrap()` on an `Err` value: Error("invalid type: integer `8181`, expected a string", line: 0, column: 0)
2024-03-10 18:51:35 autokuma-1  | stack backtrace:
2024-03-10 18:51:35 autokuma-1  |    0:     0x555fb90ac45c - std::backtrace_rs::backtrace::libunwind::trace::ha637c64ce894333a
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
2024-03-10 18:51:35 autokuma-1  |    1:     0x555fb90ac45c - std::backtrace_rs::backtrace::trace_unsynchronized::h47f62dea28e0c88d
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
2024-03-10 18:51:35 autokuma-1  |    2:     0x555fb90ac45c - std::sys_common::backtrace::_print_fmt::h9eef0abe20ede486
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:67:5
2024-03-10 18:51:35 autokuma-1  |    3:     0x555fb90ac45c - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hed7f999df88cc644
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:44:22
2024-03-10 18:51:35 autokuma-1  |    4:     0x555fb90d75c0 - core::fmt::rt::Argument::fmt::h1539a9308b8d058d
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/rt.rs:142:9
2024-03-10 18:51:35 autokuma-1  |    5:     0x555fb90d75c0 - core::fmt::write::h3a39390d8560d9c9
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/mod.rs:1120:17
2024-03-10 18:51:35 autokuma-1  |    6:     0x555fb90a98bf - std::io::Write::write_fmt::h5fc9997dfe05f882
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/io/mod.rs:1762:15
2024-03-10 18:51:35 autokuma-1  |    7:     0x555fb90ac244 - std::sys_common::backtrace::_print::h894006fb5c6f3d45
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:47:5
2024-03-10 18:51:35 autokuma-1  |    8:     0x555fb90ac244 - std::sys_common::backtrace::print::h23a2d212c6fff936
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:34:9
2024-03-10 18:51:35 autokuma-1  |    9:     0x555fb90ad847 - std::panicking::default_hook::{{closure}}::h8a1d2ee00185001a
2024-03-10 18:51:35 autokuma-1  |   10:     0x555fb90ad5af - std::panicking::default_hook::h6038f2eba384e475
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:292:9
2024-03-10 18:51:35 autokuma-1  |   11:     0x555fb90adcc8 - std::panicking::rust_panic_with_hook::h2b5517d590cab22e
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:779:13
2024-03-10 18:51:35 autokuma-1  |   12:     0x555fb90adbae - std::panicking::begin_panic_handler::{{closure}}::h233112c06e0ef43e
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:657:13
2024-03-10 18:51:35 autokuma-1  |   13:     0x555fb90ac926 - std::sys_common::backtrace::__rust_end_short_backtrace::h6e893f24d7ebbff8
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:170:18
2024-03-10 18:51:35 autokuma-1  |   14:     0x555fb90ad912 - rust_begin_unwind
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:645:5
2024-03-10 18:51:35 autokuma-1  |   15:     0x555fb89b9ef5 - core::panicking::panic_fmt::hbf0e066aabfa482c
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:72:14
2024-03-10 18:51:35 autokuma-1  |   16:     0x555fb89ba433 - core::result::unwrap_failed::hddb4fea594200c52
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/result.rs:1653:5
2024-03-10 18:51:35 autokuma-1  |   17:     0x555fb8bd15c1 - kuma_client::client::Worker::on_event::{{closure}}::hfddbe6ec5884c57f
2024-03-10 18:51:35 autokuma-1  |   18:     0x555fb8bcc076 - kuma_client::client::Worker::connect::{{closure}}::{{closure}}::{{closure}}::{{closure}}::h3bf2cc8081b31dce
2024-03-10 18:51:35 autokuma-1  |   19:     0x555fb8bf21a5 - tokio::runtime::task::core::Core<T,S>::poll::h21f461232a597765
2024-03-10 18:51:35 autokuma-1  |   20:     0x555fb8ac4d97 - tokio::runtime::task::harness::Harness<T,S>::poll::h1be9b051bf73a22c
2024-03-10 18:51:35 autokuma-1  |   21:     0x555fb8fa7ceb - tokio::runtime::scheduler::multi_thread::worker::Context::run_task::h58e79617ddc5b6cb
2024-03-10 18:51:35 autokuma-1  |   22:     0x555fb8fa6e90 - tokio::runtime::scheduler::multi_thread::worker::Context::run::h328aa11a8cbd2ff9
2024-03-10 18:51:35 autokuma-1  |   23:     0x555fb8f94792 - tokio::runtime::context::set_scheduler::h4b75cd949e356791
2024-03-10 18:51:35 autokuma-1  |   24:     0x555fb8f98fdf - tokio::runtime::context::runtime::enter_runtime::h25179a6048e4c557
2024-03-10 18:51:35 autokuma-1  |   25:     0x555fb8fa63e8 - tokio::runtime::scheduler::multi_thread::worker::run::h5465053c03b42d72
2024-03-10 18:51:35 autokuma-1  |   26:     0x555fb8f8ab93 - <tokio::runtime::blocking::task::BlockingTask<T> as core::future::future::Future>::poll::h7a44ea55d42cd0cc
2024-03-10 18:51:35 autokuma-1  |   27:     0x555fb8fab827 - tokio::runtime::task::core::Core<T,S>::poll::h63944f40587d45e1
2024-03-10 18:51:35 autokuma-1  |   28:     0x555fb8f88d5a - tokio::runtime::task::harness::Harness<T,S>::poll::hbee75dd155d085f2
2024-03-10 18:51:35 autokuma-1  |   29:     0x555fb8f9f6b1 - tokio::runtime::blocking::pool::Inner::run::h12527357f3dc5518
2024-03-10 18:51:35 autokuma-1  |   30:     0x555fb8fa91e7 - std::sys_common::backtrace::__rust_begin_short_backtrace::h65d6633220851fd5
2024-03-10 18:51:35 autokuma-1  |   31:     0x555fb8f93929 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h1389ce9d8cd9649b
2024-03-10 18:51:35 autokuma-1  |   32:     0x555fb90b1195 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hc7eafaff61e32df9
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
2024-03-10 18:51:35 autokuma-1  |   33:     0x555fb90b1195 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6ba4a5de48dd2304
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
2024-03-10 18:51:35 autokuma-1  |   34:     0x555fb90b1195 - std::sys::unix::thread::Thread::new::thread_start::he469335aef763e45
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys/unix/thread.rs:108:17
2024-03-10 18:51:35 autokuma-1  |   35:     0x7f185bea8134 - <unknown>
2024-03-10 18:51:35 autokuma-1  |   36:     0x7f185bf287dc - <unknown>
2024-03-10 18:51:35 autokuma-1  |   37:                0x0 - <unknown>
2024-03-10 18:51:35 autokuma-1  | thread 'tokio-runtime-worker' panicked at /usr/src/autokuma/kuma-client/src/client.rs:166:70:
2024-03-10 18:51:35 autokuma-1  | called `Result::unwrap()` on an `Err` value: Error("invalid type: integer `8181`, expected a string", line: 0, column: 0)
2024-03-10 18:51:35 autokuma-1  | stack backtrace:
2024-03-10 18:51:35 autokuma-1  |    0: thread '  tokio-runtime-worker ' panicked at  /usr/src/autokuma/kuma-client/src/client.rs0x:555fb90ac45c166 - :70std:
2024-03-10 18:51:35 autokuma-1  | ::called `Result::unwrap()` on an `Err` value: Error("invalid type: integer `8181`, expected a string", line: 0, column: 0)backtrace_rs
2024-03-10 18:51:35 autokuma-1  | ::backtrace::libunwind::trace::ha637c64ce894333a
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
2024-03-10 18:51:35 autokuma-1  |    1:     0x555fb90ac45c - std::backtrace_rs::backtrace::trace_unsynchronized::h47f62dea28e0c88d
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
2024-03-10 18:51:35 autokuma-1  |    2:     0x555fb90ac45c - std::sys_common::backtrace::_print_fmt::h9eef0abe20ede486
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:67:5
2024-03-10 18:51:35 autokuma-1  |    3:     0x555fb90ac45c - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hed7f999df88cc644
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:44:22
2024-03-10 18:51:35 autokuma-1  |    4:     0x555fb90d75c0 - core::fmt::rt::Argument::fmt::h1539a9308b8d058d
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/rt.rs:142:9
2024-03-10 18:51:35 autokuma-1  |    5:     0x555fb90d75c0 - core::fmt::write::h3a39390d8560d9c9
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/mod.rs:1120:17
2024-03-10 18:51:35 autokuma-1  |    6:     0x555fb90a98bf - std::io::Write::write_fmt::h5fc9997dfe05f882
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/io/mod.rs:1762:15
2024-03-10 18:51:35 autokuma-1  |    7:     0x555fb90ac244 - std::sys_common::backtrace::_print::h894006fb5c6f3d45
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:47:5
2024-03-10 18:51:35 autokuma-1  |    8:     0x555fb90ac244 - std::sys_common::backtrace::print::h23a2d212c6fff936
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:34:9
2024-03-10 18:51:35 autokuma-1  |    9:     0x555fb90ad847 - std::panicking::default_hook::{{closure}}::h8a1d2ee00185001a
2024-03-10 18:51:35 autokuma-1  |   10:     0x555fb90ad5af - std::panicking::default_hook::h6038f2eba384e475
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:292:9
2024-03-10 18:51:35 autokuma-1  |   11:     0x555fb90adcc8 - std::panicking::rust_panic_with_hook::h2b5517d590cab22e
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:779:13
2024-03-10 18:51:35 autokuma-1  |   12:     0x555fb90adbae - std::panicking::begin_panic_handler::{{closure}}::h233112c06e0ef43e
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:657:13
2024-03-10 18:51:35 autokuma-1  |   13:     0x555fb90ac926 - std::sys_common::backtrace::__rust_end_short_backtrace::h6e893f24d7ebbff8
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:170:18
2024-03-10 18:51:35 autokuma-1  |   14:     0x555fb90ad912 - rust_begin_unwind
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:645:5
2024-03-10 18:51:35 autokuma-1  |   15:     0x555fb89b9ef5 - core::panicking::panic_fmt::hbf0e066aabfa482c
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:72:14
2024-03-10 18:51:35 autokuma-1  |   16:     0x555fb89ba433 - core::result::unwrap_failed::hddb4fea594200c52
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/result.rs:1653:5
2024-03-10 18:51:35 autokuma-1  |   17:     0x555fb8bd15c1 - kuma_client::client::Worker::on_event::{{closure}}::hfddbe6ec5884c57f
2024-03-10 18:51:35 autokuma-1  |   18:     0x555fb8bcc076 - kuma_client::client::Worker::connect::{{closure}}::{{closure}}::{{closure}}::{{closure}}::h3bf2cc8081b31dce
2024-03-10 18:51:35 autokuma-1  |   19:     0x555fb8bf21a5 - tokio::runtime::task::core::Core<T,S>::poll::h21f461232a597765
2024-03-10 18:51:35 autokuma-1  |   20:     0x555fb8ac4d97 - tokio::runtime::task::harness::Harness<T,S>::poll::h1be9b051bf73a22c
2024-03-10 18:51:35 autokuma-1  |   21:     0x555fb8fa7ceb - tokio::runtime::scheduler::multi_thread::worker::Context::run_task::h58e79617ddc5b6cb
2024-03-10 18:51:35 autokuma-1  |   22:     0x555fb8fa6e90 - tokio::runtime::scheduler::multi_thread::worker::Context::run::h328aa11a8cbd2ff9
2024-03-10 18:51:35 autokuma-1  |   23:     0x555fb8f94792 - tokio::runtime::context::set_scheduler::h4b75cd949e356791
2024-03-10 18:51:35 autokuma-1  |   24:     0x555fb8f98fdf - tokio::runtime::context::runtime::enter_runtime::h25179a6048e4c557
2024-03-10 18:51:35 autokuma-1  |   25:     0x555fb8fa63e8 - tokio::runtime::scheduler::multi_thread::worker::run::h5465053c03b42d72
2024-03-10 18:51:35 autokuma-1  |   26:     0x555fb8f8ab93 - <tokio::runtime::blocking::task::BlockingTask<T> as core::future::future::Future>::poll::h7a44ea55d42cd0cc
2024-03-10 18:51:35 autokuma-1  |   27:     0x555fb8fab827 - tokio::runtime::task::core::Core<T,S>::poll::h63944f40587d45e1
2024-03-10 18:51:35 autokuma-1  |   28:     0x555fb8f88d5a - tokio::runtime::task::harness::Harness<T,S>::poll::hbee75dd155d085f2
2024-03-10 18:51:35 autokuma-1  |   29:     0x555fb8f9f6b1 - tokio::runtime::blocking::pool::Inner::run::h12527357f3dc5518
2024-03-10 18:51:35 autokuma-1  |   30:     0x555fb8fa91e7 - std::sys_common::backtrace::__rust_begin_short_backtrace::h65d6633220851fd5
2024-03-10 18:51:35 autokuma-1  |   31:     0x555fb8f93929 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h1389ce9d8cd9649b
2024-03-10 18:51:35 autokuma-1  |   32:     0x555fb90b1195 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hc7eafaff61e32df9
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
2024-03-10 18:51:35 autokuma-1  |   33:     0x555fb90b1195 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6ba4a5de48dd2304
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
2024-03-10 18:51:35 autokuma-1  |   34:     0x555fb90b1195 - std::sys::unix::thread::Thread::new::thread_start::he469335aef763e45
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys/unix/thread.rs:108:17
2024-03-10 18:51:35 autokuma-1  |   35:     0x7f185bea8134 - <unknown>
2024-03-10 18:51:35 autokuma-1  |   36:     0x7f185bf287dc - <unknown>
2024-03-10 18:51:35 autokuma-1  |   37:                0x0 - <unknown>
2024-03-10 18:51:35 autokuma-1  | stack backtrace:
2024-03-10 18:51:35 autokuma-1  |    0:     0x555fb90ac45c - std::backtrace_rs::backtrace::libunwind::trace::ha637c64ce894333a
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
2024-03-10 18:51:35 autokuma-1  |    1:     0x555fb90ac45c - std::backtrace_rs::backtrace::trace_unsynchronized::h47f62dea28e0c88d
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
2024-03-10 18:51:35 autokuma-1  |    2:     0x555fb90ac45c - std::sys_common::backtrace::_print_fmt::h9eef0abe20ede486
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:67:5
2024-03-10 18:51:35 autokuma-1  |    3:     0x555fb90ac45c - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hed7f999df88cc644
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:44:22
2024-03-10 18:51:35 autokuma-1  |    4:     0x555fb90d75c0 - core::fmt::rt::Argument::fmt::h1539a9308b8d058d
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/rt.rs:142:9
2024-03-10 18:51:35 autokuma-1  |    5:     0x555fb90d75c0 - core::fmt::write::h3a39390d8560d9c9
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/mod.rs:1120:17
2024-03-10 18:51:35 autokuma-1  |    6:     0x555fb90a98bf - std::io::Write::write_fmt::h5fc9997dfe05f882
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/io/mod.rs:1762:15
2024-03-10 18:51:35 autokuma-1  |    7:     0x555fb90ac244 - std::sys_common::backtrace::_print::h894006fb5c6f3d45
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:47:5
2024-03-10 18:51:35 autokuma-1  |    8:     0x555fb90ac244 - std::sys_common::backtrace::print::h23a2d212c6fff936
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:34:9
2024-03-10 18:51:35 autokuma-1  |    9:     0x555fb90ad847 - std::panicking::default_hook::{{closure}}::h8a1d2ee00185001a
2024-03-10 18:51:35 autokuma-1  |   10:     0x555fb90ad5af - std::panicking::default_hook::h6038f2eba384e475
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:292:9
2024-03-10 18:51:35 autokuma-1  |   11:     0x555fb90adcc8 - std::panicking::rust_panic_with_hook::h2b5517d590cab22e
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:779:13
2024-03-10 18:51:35 autokuma-1  |   12:     0x555fb90adbae - std::panicking::begin_panic_handler::{{closure}}::h233112c06e0ef43e
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:657:13
2024-03-10 18:51:35 autokuma-1  |   13:     0x555fb90ac926 - std::sys_common::backtrace::__rust_end_short_backtrace::h6e893f24d7ebbff8
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:170:18
2024-03-10 18:51:35 autokuma-1  |   14:     0x555fb90ad912 - rust_begin_unwind
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:645:5
2024-03-10 18:51:35 autokuma-1  |   15:     0x555fb89b9ef5 - core::panicking::panic_fmt::hbf0e066aabfa482c
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:72:14
2024-03-10 18:51:35 autokuma-1  |   16:     0x555fb89ba433 - core::result::unwrap_failed::hddb4fea594200c52
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/result.rs:1653:5
2024-03-10 18:51:35 autokuma-1  |   17:     0x555fb8bd15c1 - kuma_client::client::Worker::on_event::{{closure}}::hfddbe6ec5884c57f
2024-03-10 18:51:35 autokuma-1  |   18:     0x555fb8bcc076 - kuma_client::client::Worker::connect::{{closure}}::{{closure}}::{{closure}}::{{closure}}::h3bf2cc8081b31dce
2024-03-10 18:51:35 autokuma-1  |   19:     0x555fb8bf21a5 - tokio::runtime::task::core::Core<T,S>::poll::h21f461232a597765
2024-03-10 18:51:35 autokuma-1  |   20:     0x555fb8ac4d97 - tokio::runtime::task::harness::Harness<T,S>::poll::h1be9b051bf73a22c
2024-03-10 18:51:35 autokuma-1  |   21:     0x555fb8fa7ceb - tokio::runtime::scheduler::multi_thread::worker::Context::run_task::h58e79617ddc5b6cb
2024-03-10 18:51:35 autokuma-1  |   22:     0x555fb8fa70da - tokio::runtime::scheduler::multi_thread::worker::Context::run::h328aa11a8cbd2ff9
2024-03-10 18:51:35 autokuma-1  |   23:     0x555fb8f94792 - tokio::runtime::context::set_scheduler::h4b75cd949e356791
2024-03-10 18:51:35 autokuma-1  |   24:     0x555fb8f98fdf - tokio::runtime::context::runtime::enter_runtime::h25179a6048e4c557
2024-03-10 18:51:35 autokuma-1  |   25:     0x555fb8fa63e8 - tokio::runtime::scheduler::multi_thread::worker::run::h5465053c03b42d72
2024-03-10 18:51:35 autokuma-1  |   26:     0x555fb8f8ab93 - <tokio::runtime::blocking::task::BlockingTask<T> as core::future::future::Future>::poll::h7a44ea55d42cd0cc
2024-03-10 18:51:35 autokuma-1  |   27:     0x555fb8fab827 - tokio::runtime::task::core::Core<T,S>::poll::h63944f40587d45e1
2024-03-10 18:51:35 autokuma-1  |   28:     0x555fb8f88d5a - tokio::runtime::task::harness::Harness<T,S>::poll::hbee75dd155d085f2
2024-03-10 18:51:35 autokuma-1  |   29:     0x555fb8f9f6b1 - tokio::runtime::blocking::pool::Inner::run::h12527357f3dc5518
2024-03-10 18:51:35 autokuma-1  |   30:     0x555fb8fa91e7 - std::sys_common::backtrace::__rust_begin_short_backtrace::h65d6633220851fd5
2024-03-10 18:51:35 autokuma-1  |   31:     0x555fb8f93929 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h1389ce9d8cd9649b
2024-03-10 18:51:35 autokuma-1  |   32:     0x555fb90b1195 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hc7eafaff61e32df9
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
2024-03-10 18:51:35 autokuma-1  |   33:     0x555fb90b1195 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6ba4a5de48dd2304
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
2024-03-10 18:51:35 autokuma-1  |   34:     0x555fb90b1195 - std::sys::unix::thread::Thread::new::thread_start::he469335aef763e45
2024-03-10 18:51:35 autokuma-1  |                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys/unix/thread.rs:108:17
2024-03-10 18:51:35 autokuma-1  |   35:     0x7f185bea8134 - <unknown>
2024-03-10 18:51:35 autokuma-1  |   36:     0x7f185bf287dc - <unknown>
2024-03-10 18:51:35 autokuma-1  |   37:                0x0 - <unknown>
BigBoot commented 8 months ago

No this still doesn't help unfortunately, And I haven't been able to replicate this, what you could do is run with the ENV variable: RUST_LOG=autokuma=trace, this will print every message autokuma receives, then you could try and see where the number 8181 is coming from, as apparently it's not a port value.

Please DO NOT post that output here though, as it may contain sensible information.

Otherwise I'd need a minimal reproducible example, i.e. what monitor/maintance/status page type/setting is causing the error.

unlucio commented 8 months ago

I'm probably trying to debug this too.

Just deployed it in my Docker Swarm but all I get is:

stats_autokuma.1.2qgmqpjxzuvu@elise    | thread 'tokio-runtime-worker' panicked at /usr/src/autokuma/kuma-client/src/client.rs:166:70:
stats_autokuma.1.2qgmqpjxzuvu@elise    | called `Result::unwrap()` on an `Err` value: Error("invalid type: integer `53`, expected a string", line: 0, column: 0)
stats_autokuma.1.2qgmqpjxzuvu@elise    | note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
stats_autokuma.1.2qgmqpjxzuvu@elise    |  2024-03-24T19:17:01.919Z WARN  kuma_client::client > Timeout while waiting for Kuma to get ready...
stats_autokuma.1.2qgmqpjxzuvu@elise    |  2024-03-24T19:17:01.919Z WARN  autokuma::sync      > Encountered error during sync: It looks like the server is expecting a username/password, but none was provided

after which the logs are just folded with:

stats_autokuma.1.2qgmqpjxzuvu@elise    | thread 'tokio-runtime-worker' panicked at /usr/src/autokuma/kuma-client/src/client.rs:166:70:
stats_autokuma.1.2qgmqpjxzuvu@elise    | called `Result::unwrap()` on an `Err` value: Error("invalid type: integer `53`, expected a string", line: 0, column: 0)

I tried to pass RUST_LOG=autokuma=trace

Screenshot 2024-03-24 at 20 21 33

But I don't see messages being printed.

The instance just started and is attempting to connect to Kuma, what is it calling at this point? Perhaps I can figure out what messages it's getting with other means, but I need to know what's happening so I can reproduce it outside. I had a look at AutoKuma's code and it looks like a simple json unmarshaling problem, so seeing the message is paramount.

BigBoot commented 8 months ago

Ah sorry, the logs would now be coming from kuma_client, so it would be RUST_LOG=kuma_client=trace.

AutoKuma is not calling anything at this point, UptimeKuma is basically sending a bunch of events with the initial state right after connecting/loggin in. You can inspect the Websocket messages in Chrome/Firefox debugger, though both don't do decoding for Socket.io afaik, so you would get the raw messages.

delVhariant commented 8 months ago

No this still doesn't help unfortunately, And I haven't been able to replicate this, what you could do is run with the ENV variable: RUST_LOG=autokuma=trace, this will print every message autokuma receives, then you could try and see where the number 8181 is coming from, as apparently it's not a port value.

Please DO NOT post that output here though, as it may contain sensible information.

Otherwise I'd need a minimal reproducible example, i.e. what monitor/maintance/status page type/setting is causing the error.

I get issues when using dns checks, which result in the errors: thread 'tokio-runtime-worker' panicked at /home/runner/work/AutoKuma/AutoKuma/kuma-client/src/client.rs:166:70: calledResult::unwrap()on anErrvalue: Error("invalid type: integer53, expected a string", line: 0, column: 0) If I have any dns checks in my uptime-kuma instance, I cannot interact with it at all using kuma-cli, as that error is always returned.

If I delete the dns check, everything works as expected.

I can add a dns check using kuma-cli, but the value for "port" has to be given as a string (eg: "port": "53" instead of "port": 53), and even though it adds successfully (and the check works), I then start receiving the errors on subsequent attempts to interact.

It also looks like the connection dies when this error occurs, so the client never actually processes the response, resulting in the error {"error":"It looks like the server is expecting a username/password, but none was provided"} (even if auth is disabled)

I've tested that the errors occur when a dns type check has been created either using the uptime-kuma web interface, or added with kuma-cli and this example:

{
  "name": "DNS",
  "type": "dns",
  "dns_resolve_server": "8.8.8.8",
  "hostname": "google.com",
  "port": "53"
}

Edit

Installing via cargo resolves this specific error in my case.

BigBoot commented 8 months ago

Yes, this is solved by 647acb09ecd02d3f2d9f8933d304cdcb759dab85 which is not included in a release yet.

unlucio commented 8 months ago

@BigBoot thanks for the log line, but as I come back to the auto-kuma branch of my compose-files repo, the error I was experiencing is gone 🤯. Adding the log env prints messages, but now I cannot reproduce the error anymore. Unfortunately in the last days, I changed ISP and I reconfigured my network, so I involuntary changed a bunch of variables.

(now I've to deal with

2024-03-28T16:44:03.926Z ERROR kuma_client::client > Error during connect
 2024-03-28T16:44:12.941Z WARN  kuma_client::client > Timeout while waiting for Kuma to get ready...
 2024-03-28T16:44:12.941Z WARN  autokuma::sync      > Encountered error during sync: Timeout while trying to connect to Uptime Kuma server

but that seems more due to network config than a possible bug)

BigBoot commented 8 months ago

I'll closed this issue then :+1: