mxinden / libp2p-perf

The iPerf equivalent for the libp2p ecosystem.
Apache License 2.0
9 stars 7 forks source link

rust/: update dependencies #91

Closed kpp closed 1 year ago

kpp commented 1 year ago

Update libp2p v0.50.0 -> v0.51.0

kpp commented 1 year ago

@mxinden this PR is not blocked by 0.51 release anymore. However rust <-> go cannot connect to each other:

# Rust -> Golang

## Transport security noise
thread 'async-std/runtime' panicked at 'listener upgrade error Upgrade(Select(Failed))', src/handler.rs:288:17
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
kpp commented 1 year ago

Can you run with multistream_select=trace logging?

Client logs:

[2023-05-10T04:47:15Z DEBUG multistream_select::dialer_select] Dialer: Proposed protocol: /noise
[2023-05-10T04:47:15Z TRACE multistream_select::protocol] Received message: Header(V1)
[2023-05-10T04:47:15Z TRACE multistream_select::protocol] Received message: Protocol(Protocol(b"/noise"))
[2023-05-10T04:47:15Z DEBUG multistream_select::dialer_select] Dialer: Received confirmation for protocol: /noise
[2023-05-10T04:47:15Z DEBUG multistream_select::dialer_select] Dialer: Proposed protocol: /yamux/1.0.0
[2023-05-10T04:47:15Z TRACE multistream_select::protocol] Received message: Header(V1)
[2023-05-10T04:47:15Z TRACE multistream_select::protocol] Received message: Protocol(Protocol(b"/yamux/1.0.0"))
[2023-05-10T04:47:15Z DEBUG multistream_select::dialer_select] Dialer: Received confirmation for protocol: /yamux/1.0.0
[2023-05-10T04:47:15Z DEBUG multistream_select::dialer_select] Dialer: Proposed protocol: /perf/0.1.0
[2023-05-10T04:47:15Z TRACE multistream_select::protocol] Received message: Header(V1)
[2023-05-10T04:47:15Z TRACE multistream_select::protocol] Received message: Protocol(Protocol(b"/perf/0.1.0"))
[2023-05-10T04:47:15Z DEBUG multistream_select::dialer_select] Dialer: Received confirmation for protocol: /perf/0.1.0
[2023-05-10T04:47:15Z TRACE multistream_select::protocol] Received message: Header(V1)
[2023-05-10T04:47:15Z TRACE multistream_select::protocol] Received message: Protocol(Protocol(b"/ipfs/id/1.0.0"))
[2023-05-10T04:47:15Z DEBUG multistream_select::listener_select] Listener: rejecting protocol: /ipfs/id/1.0.0
thread 'async-std/runtime' panicked at 'listener upgrade error Upgrade(Select(Failed))', src/handler.rs:288:17
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

cc @thomaseizinger

kpp commented 1 year ago

Close this in favor of https://github.com/libp2p/test-plans/pull/163