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

Failed to connect to RPC service on 0.12 #372

Open
fc1943s opened this issue Aug 25, 2024 · 0 comments
Open

Failed to connect to RPC service on 0.12 #372

fc1943s opened this issue Aug 25, 2024 · 0 comments

Comments

@fc1943s
Copy link

fc1943s commented Aug 25, 2024

Got the error below with the recent update when calling near_workspaces::sandbox().await?:

called `Result::unwrap()` on an `Err` value: Failed to connect to RPC service http://127.0.0.1:60723/ within 100 seconds

Caused by:
    0: unable to fulfill the query request
    1: error while sending payload: [error sending request for url (http://127.0.0.1:60723/)]
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

The problem doesn't happen with the latest near 2.0 sandbox.
near-sandbox-utils = { version = ">=0.10.1", features = ["global_install"] }


0.12 has some dependencies with 0.24, I tried updating them to 0.25 and the error still appear.

redox_syscall = ">=0.5"
near-crypto = ">=0.25"
near-async = ">=0.25"
near-primitives = ">=0.25"
near-jsonrpc-primitives = ">=0.25"
near-jsonrpc-client = { version = ">=0.12", features = ["sandbox"] }
near-chain-configs = { version = ">=0.25", optional = true }

So the problem is there, on near-sdk or near-workspaces itself, i guess.

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

1 participant