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

Panic: Peer is connected #2853

Closed
viquezclaudio opened this issue Aug 26, 2024 · 3 comments
Closed

Panic: Peer is connected #2853

viquezclaudio opened this issue Aug 26, 2024 · 3 comments

Comments

@viquezclaudio
Copy link
Member

Observed in the spammer, during a private testnet execution.

Aug 20 22:01:50 spammer-1 nimiq-spammer[1018802]: 2024-08-20T22:01:50.479430808Z ERROR panic | thread 'tokio-runtime-worker' panicked at 'Peer is connected.': /home/nimiq/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libp2p-autonat-0.13.0/src/v1/behaviour/as_server.rs:304 0: <backtrace::capture::Backtrace as core::default::Default>::default 1: log_panics::Config::install_panic_hook::{{closure}} 2: std::panicking::rust_panic_with_hook 3: std::panicking::begin_panic_handler::{{closure}} 4: std::sys_common::backtrace::__rust_end_short_backtrace 5: rust_begin_unwind 6: core::panicking::panic_fmt 7: core::panicking::panic_display 8: core::option::expect_failed 9: <libp2p_autonat::v1::behaviour::as_server::AsServer as libp2p_autonat::v1::behaviour::HandleInnerEvent>::handle_event 10: <libp2p_autonat::v1::behaviour::Behaviour as libp2p_swarm::behaviour::NetworkBehaviour>::poll 11: <nimiq_network_libp2p::behaviour::Behaviour as libp2p_swarm::behaviour::NetworkBehaviour>::poll 12: libp2p_swarm::Swarm<TBehaviour>::poll_next_event 13: <tokio::future::poll_fn::PollFn<F> as core::future::future::Future>::poll 14: <tracing::instrument::Instrumented<T> as core::future::future::Future>::poll 15: <core::pin::Pin<P> as core::future::future::Future>::poll 16: tokio::runtime::task::core::Core<T,S>::poll 17: tokio::runtime::task::harness::Harness<T,S>::poll 18: tokio::runtime::scheduler::multi_thread::worker::Context::run_task 19: tokio::runtime::scheduler::multi_thread::worker::Context::run 20: tokio::runtime::context::scoped::Scoped<T>::set 21: tokio::runtime::context::runtime::enter_runtime 22: tokio::runtime::scheduler::multi_thread::worker::run 23: tokio::runtime::task::core::Core<T,S>::poll 24: tokio::runtime::task::harness::Harness<T,S>::poll 25: tokio::runtime::blocking::pool::Inner::run 26: std::sys_common::backtrace::__rust_begin_short_backtrace 27: core::ops::function::FnOnce::call_once{{vtable.shim}} 28: std::sys::pal::unix::thread::Thread::new::thread_start 29: <unknown> 30: <unknown>

@viquezclaudio
Copy link
Member Author

Full logs:
privtestnet_spammer1.log

@Eligioo
Copy link
Member

Eligioo commented Sep 13, 2024

Fixed by libp2p/rust-libp2p#5597

@Eligioo
Copy link
Member

Eligioo commented Oct 24, 2024

Issue is no longer relevant. Panic occurred in AutoNAT V1 but moved to V2 eventually with PR #2955.

@Eligioo Eligioo closed this as completed Oct 24, 2024
@jsdanielh jsdanielh added this to the Nimiq PoS Mainnet milestone Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants