Skip to content

Error syncing wallet via RPC client on macOS system #749

@notmandatory

Description

@notmandatory

Describe the bug

Unable to sync a regtest wallet with a local bitcoind node via the rpc client on a macOS system using bdk-cli.

To Reproduce

From the bdk-cli repo:

RUST_LOG=debug cargo test --features regtest-bitcoin -- --nocapture

Error is:

thread 'test::test_basic_wallet_op_bitcoind' panicked at 'called `Result::unwrap()` on an `Err` value: CmdExec("[2022-09-10T03:19:40Z ERROR bdk_cli] Rpc(JsonRpc(Transport(SocketError(Os { code: 35, kind: WouldBlock, message: \"Resource temporarily unavailable\" }))))\n")', tests/integration.rs:224:40

Expected behavior

The above test passes on GitHub CI action hosted on Ubuntu 20.04 and should also pass for a macOS system.

Build environment

  • BDK tag/commit: v0.22.0
  • OS+version: macOS 12.5.1, M1
  • Rust/Cargo version: 1.63.0
  • Rust/Cargo target: aarch64-apple-darwin

Additional context

I think this issue is related to apoelstra/rust-jsonrpc#67.

Found this issue while testing bitcoindevkit/bdk-cli#102.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions