Skip to content
This repository has been archived by the owner on Dec 18, 2023. It is now read-only.

Errors from p2p when receiving local content #32

Open
rklaehn opened this issue Dec 21, 2022 · 2 comments
Open

Errors from p2p when receiving local content #32

rklaehn opened this issue Dec 21, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@rklaehn
Copy link
Contributor

rklaehn commented Dec 21, 2022

With the latest main, when receiving local content you get lots of errors from the p2p service.

I think this is related to the resolver racing retrieval from p2p and from the store, and then just dropping the client side future when the store resolves first.

The server side rpc endpoint remains functional. You can still do things like status and p2p peers. So I think this might just be a matter of too much logging when things happen that are expected. E.g. stream error received: stream no longer needed should probably not be logged at error level.

❯ cargo run -p iroh-p2p
   Compiling iroh-p2p v0.1.3 (/Users/rklaehn/projects_git/iroh/iroh-p2p)
    Finished dev [unoptimized + debuginfo] target(s) in 6.75s
     Running `target/debug/iroh-p2p`
Starting iroh-p2p, version 0.1.3
/ip4/0.0.0.0/tcp/4444
/ip4/0.0.0.0/udp/4445/quic-v1
  2022-12-21T12:07:25.189962Z ERROR quic_rpc::transport::http2: Network error: error reading a body from connection: stream error received: stream no longer needed
    at /Users/rklaehn/.cargo/registry/src/github.com-1ecc6299db9ec823/quic-rpc-0.3.0/src/transport/http2.rs:302

  2022-12-21T12:07:25.190057Z ERROR quic_rpc::transport::http2: Flume receiver dropped
    at /Users/rklaehn/.cargo/registry/src/github.com-1ecc6299db9ec823/quic-rpc-0.3.0/src/transport/http2.rs:308

  2022-12-21T12:07:25.190079Z ERROR quic_rpc::transport::http2: Network error: error reading a body from connection: stream error received: stream no longer needed
    at /Users/rklaehn/.cargo/registry/src/github.com-1ecc6299db9ec823/quic-rpc-0.3.0/src/transport/http2.rs:302

  2022-12-21T12:07:25.190088Z ERROR quic_rpc::transport::http2: Flume receiver dropped
    at /Users/rklaehn/.cargo/registry/src/github.com-1ecc6299db9ec823/quic-rpc-0.3.0/src/transport/http2.rs:308

  2022-12-21T12:07:25.190009Z ERROR quic_rpc::transport::http2: Network error: error reading a body from connection: stream error received: stream no longer needed
    at /Users/rklaehn/.cargo/registry/src/github.com-1ecc6299db9ec823/quic-rpc-0.3.0/src/transport/http2.rs:302

  2022-12-21T12:07:25.190245Z ERROR quic_rpc::transport::http2: Flume receiver dropped
    at /Users/rklaehn/.cargo/registry/src/github.com-1ecc6299db9ec823/quic-rpc-0.3.0/src/transport/http2.rs:308

  2022-12-21T12:07:25.190321Z ERROR quic_rpc::transport::http2: Network error: error reading a body from connection: stream error received: stream no longer needed
    at /Users/rklaehn/.cargo/registry/src/github.com-1ecc6299db9ec823/quic-rpc-0.3.0/src/transport/http2.rs:302

  2022-12-21T12:07:25.190341Z ERROR quic_rpc::transport::http2: Flume receiver dropped
    at /Users/rklaehn/.cargo/registry/src/github.com-1ecc6299db9ec823/quic-rpc-0.3.0/src/transport/http2.rs:308

  2022-12-21T12:07:25.190379Z ERROR quic_rpc::transport::http2: Network error: error reading a body from connection: stream error received: stream no longer needed
    at /Users/rklaehn/.cargo/registry/src/github.com-1ecc6299db9ec823/quic-rpc-0.3.0/src/transport/http2.rs:302

  2022-12-21T12:07:25.190390Z ERROR quic_rpc::transport::http2: Flume receiver dropped
    at /Users/rklaehn/.cargo/registry/src/github.com-1ecc6299db9ec823/quic-rpc-0.3.0/src/transport/http2.rs:308

  2022-12-21T12:07:25.190451Z ERROR quic_rpc::transport::http2: Network error: error reading a body from connection: stream error received: stream no longer needed
    at /Users/rklaehn/.cargo/registry/src/github.com-1ecc6299db9ec823/quic-rpc-0.3.0/src/transport/http2.rs:302

  2022-12-21T12:07:25.190467Z ERROR quic_rpc::transport::http2: Flume receiver dropped
    at /Users/rklaehn/.cargo/registry/src/github.com-1ecc6299db9ec823/quic-rpc-0.3.0/src/transport/http2.rs:308

  2022-12-21T12:07:25.190923Z ERROR quic_rpc::transport::http2: Network error: error reading a body from connection: stream error received: stream no longer needed
    at /Users/rklaehn/.cargo/registry/src/github.com-1ecc6299db9ec823/quic-rpc-0.3.0/src/transport/http2.rs:302

  2022-12-21T12:07:25.190939Z ERROR quic_rpc::transport::http2: Flume receiver dropped
    at /Users/rklaehn/.cargo/registry/src/github.com-1ecc6299db9ec823/quic-rpc-0.3.0/src/transport/http2.rs:308

  2022-12-21T12:07:25.190965Z ERROR quic_rpc::transport::http2: Network error: error reading a body from connection: stream error received: stream no longer needed
    at /Users/rklaehn/.cargo/registry/src/github.com-1ecc6299db9ec823/quic-rpc-0.3.0/src/transport/http2.rs:302

  2022-12-21T12:07:25.190975Z ERROR quic_rpc::transport::http2: Flume receiver dropped
    at /Users/rklaehn/.cargo/registry/src/github.com-1ecc6299db9ec823/quic-rpc-0.3.0/src/transport/http2.rs:308

  2022-12-21T12:07:25.191110Z ERROR quic_rpc::transport::http2: Network error: error reading a body from connection: stream error received: stream no longer needed
    at /Users/rklaehn/.cargo/registry/src/github.com-1ecc6299db9ec823/quic-rpc-0.3.0/src/transport/http2.rs:302

  2022-12-21T12:07:25.191123Z ERROR quic_rpc::transport::http2: Network error: error reading a body from connection: stream error received: stream no longer needed
    at /Users/rklaehn/.cargo/registry/src/github.com-1ecc6299db9ec823/quic-rpc-0.3.0/src/transport/http2.rs:302

  2022-12-21T12:07:25.191139Z ERROR quic_rpc::transport::http2: Network error: error reading a body from connection: stream error received: stream no longer needed
    at /Users/rklaehn/.cargo/registry/src/github.com-1ecc6299db9ec823/quic-rpc-0.3.0/src/transport/http2.rs:302

  2022-12-21T12:07:25.191159Z ERROR quic_rpc::transport::http2: Network error: error reading a body from connection: stream error received: stream no longer needed
    at /Users/rklaehn/.cargo/registry/src/github.com-1ecc6299db9ec823/quic-rpc-0.3.0/src/transport/http2.rs:302

  2022-12-21T12:07:25.191138Z ERROR quic_rpc::transport::http2: Network error: error reading a body from connection: stream error received: stream no longer needed
    at /Users/rklaehn/.cargo/registry/src/github.com-1ecc6299db9ec823/quic-rpc-0.3.0/src/transport/http2.rs:302

  2022-12-21T12:07:25.191245Z ERROR quic_rpc::transport::http2: Network error: error reading a body from connection: stream error received: stream no longer needed
    at /Users/rklaehn/.cargo/registry/src/github.com-1ecc6299db9ec823/quic-rpc-0.3.0/src/transport/http2.rs:302

  2022-12-21T12:07:25.191248Z ERROR quic_rpc::transport::http2: Network error: error reading a body from connection: stream error received: stream no longer needed
    at /Users/rklaehn/.cargo/registry/src/github.com-1ecc6299db9ec823/quic-rpc-0.3.0/src/transport/http2.rs:302

  2022-12-21T12:07:25.191265Z ERROR quic_rpc::transport::http2: Flume receiver dropped
    at /Users/rklaehn/.cargo/registry/src/github.com-1ecc6299db9ec823/quic-rpc-0.3.0/src/transport/http2.rs:308

  2022-12-21T12:07:25.209372Z ERROR quic_rpc::transport::http2: Network error: error reading a body from connection: connection reset
    at /Users/rklaehn/.cargo/registry/src/github.com-1ecc6299db9ec823/quic-rpc-0.3.0/src/transport/http2.rs:302

  2022-12-21T12:07:25.210634Z ERROR quic_rpc::transport::http2: Network error: error reading a body from connection: connection reset
@rklaehn
Copy link
Contributor Author

rklaehn commented Dec 21, 2022

@flub WDYT?

@flub flub added the bug Something isn't working label Dec 21, 2022
@flub
Copy link
Contributor

flub commented Dec 21, 2022

yeah, i think you're probably right and that's just needlessly strict about normal things happening.

@dignifiedquire dignifiedquire transferred this issue from n0-computer/iroh Feb 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants