Skip to content

Failed to connect to RPC service on 0.12 #372

Open
@fc1943s

Description

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.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    • Status

      NEW❗

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions