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

关于cargo test #2

Open
wulalawu0106 opened this issue Nov 8, 2021 · 4 comments
Open

关于cargo test #2

wulalawu0106 opened this issue Nov 8, 2021 · 4 comments

Comments

@wulalawu0106
Copy link

wulalawu0106 commented Nov 8, 2021

您好,我在尝试运行vchain-node,vchain-server的时候,会有如下提示

thread 'main' panicked at 'there is no reactor running, must be called from the context of a Tokio 1.x runtime', /home/wulalawu/.cargo/registry/src/mirrors.sjtug.sjtu.edu.cn-7a04d2510079875b/tokio-1.13.0/src/runtime/context.rs:18:26
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
Panic in Arbiter thread.

想请教您该如何解决这些问题.

@zhang-zw123
Copy link

您好,我在尝试运行vchain-node,vchain-server的时候,会有如下提示

thread 'main' panicked at 'there is no reactor running, must be called from the context of a Tokio 1.x runtime', /home/wulalawu/.cargo/registry/src/mirrors.sjtug.sjtu.edu.cn-7a04d2510079875b/tokio-1.13.0/src/runtime/context.rs:18:26 note: run with RUST_BACKTRACE=1 environment variable to display a backtrace Panic in Arbiter thread.

想请教您该如何解决这些问题.

请问你解决了吗?

@wulalawu0106
Copy link
Author

您好,我在尝试运行vchain-node,vchain-server的时候,会有如下提示
thread 'main' panicked at 'there is no reactor running, must be called from the context of a Tokio 1.x runtime', /home/wulalawu/.cargo/registry/src/mirrors.sjtug.sjtu.edu.cn-7a04d2510079875b/tokio-1.13.0/src/runtime/context.rs:18:26 note: run with RUST_BACKTRACE=1 environment variable to display a backtrace Panic in Arbiter thread.
想请教您该如何解决这些问题.

请问你解决了吗?

这个demo我没有完全运行成功,如果是 thread 'main' panicked at 'there is no reactor running, must be called from the context of a Tokio 1.x runtime', 这个问题,运行程序时 ./vchain-node 的 “./” 别忘了

@zhang-zw123
Copy link

zhang-zw123 commented Mar 8, 2022

let res = client.post(&tx_url).json(&json!({ "tx_body": tx_message })).send().await?;为什么这一步请求没反应?

@r4sk01
Copy link

r4sk01 commented Nov 9, 2022

Hello, have the same issue:

$ ./target/release/vchain-server -b 127.0.0.1:8000 thread 'main' panicked at 'there is no reactor running, must be called from the context of a Tokio 1.x runtime', /home/r4sk01/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.21.2/src/runtime/context.rs:31:26 note: run with RUST_BACKTRACE=1 environment variable to display a backtrace Panic in Arbiter thread.

How to solve it?

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