ferristseng / rust-ipfs-api

IPFS HTTP client in Rust
Apache License 2.0
247 stars 68 forks source link

PubSub example with actix panic #71

Closed SionoiS closed 3 years ago

SionoiS commented 3 years ago

While testing reqwest I found a crash when pubsub example is run with actix.

note: ipfs must be run with the --enable-pubsub-experiment flag
connecting to localhost:5001...
thread 'main' panicked at 'there is no reactor running, must be called from the context of a Tokio 1.x runtime', /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.2.0/src/runtime/context.rs:37:26
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Panic in Arbiter thread.