Unable to connect to local bitcoind instance
hex17or opened this issue · comments
I am running a fully synced bitcoind on an Odroid box and I am trying to connect to it using the bwt-electrum-plugin on my M1 Mac. Upon configuring the options (I am using a user:password auth and not the cookie) and clicking 'Save & Connect', I get the following error as part of the Trace (note: I have blanked the xpub and the last two places of the local IP) -
DEBUG bwt » Config { network: Bitcoin, verbose: 2, timestamp: false, bitcoind_wallet: None, bitcoind_dir: Some(""), bitcoind_url: Some("http://192.168.xxx.yyy:8332"), bitcoind_auth: Some("**SCRUBBED**"), bitcoind_cookie: None, create_wallet_if_missing: false, descriptors: [], xpubs: [—], addresses: [], addresses_file: None, rescan_since: Timestamp(1546128000), force_rescan: false, gap_limit: 20, initial_import_size: 350, wait_sync: true, prune_until: None, auth_cookie: None, auth_token: None, auth_ephemeral: false, print_token: false, electrum_addr: Some(127.0.0.1:61668), electrum_skip_merkle: true, electrum_socks_auth: false, poll_interval: 5s, broadcast_cmd: None, startup_banner: false, unix_listener_path: Some("/Applications/Electrum.app/Contents/MacOS/electrum/plugins/bwt/bwt-socket"), require_addresses: true, setup_logger: true }
DEBUG bitcoincore_rpc » JSON-RPC request: getnetworkinfo []
DEBUG bitcoincore_rpc » JSON-RPC failed parsing reply of getnetworkinfo: JsonRpc(Json(Error("EOF while parsing a value", line: 1, column: 0)))
ERROR bwt » JSON-RPC error: JSON decode error: EOF while parsing a value at line 1 column 0
Any idea why is the plugin unable to connect to bitcoind?