Connect Electrum or Sparrow to Bitcoin Core via RPC or Electrs

I installed startos 3.5~1 on a Thinkpad with 2TB disk.

I connect to it from my desktop Ubuntu machine.

Started services Bitcoin Core and ElectRS.

But I can’t seem to connect my Electrum nor Sparrow wallets to it.

Lets focus first on Sparrow, RPC:

Following bitcoind-startos/docs/integrations/sparrow/guide.md at v25.0.0.3 · Start9Labs/bitcoind-startos · GitHub

In the Preferences/Server/Bitcoin Core tab I put the address from the StartOS/BitcoinCore/Interfaces/RPC Interface/LanAddress

which is 6makvkzgqcgwr7cj…blah…mhyjn33qoe7znbqup6arzyd.local, and I put port 443, and no proxy.

Test Connection and I get:

Could not connect:
Could not connect to Bitcoin Core RPC
See Connect to Bitcoin Core - Sparrow Wallet

If I change to the .onion address, port 8332, proxy 127.0.0.1 port 9050:, I get exactly the same thing.

Nothing in the StartOS Tor logs either (past the bootstrapped 100% message).

I have tried Sparrow with Electrs, and Electrum with RPC as well, all with similar “non-results”.
Thanks in advance for your help!

John

Hi John. We’ll get to setup here. Since it’s a desktop, that remains on your LAN, connecting to Bitcoin Core RPC will provide the best performance. The guide you pointed to assumes that you’ve already completed the device setup here:

https://docs.start9.com/0.3.5.x/user-manual/trust-ca

Verify for me that this has been completed on the Ubuntu Desktop. These steps need to be done on every device that will access services on your StartOS server.

Yes I did the trust-ca steps in the terminal and browser (Brave) At that point I was able to connect from my Ubuntu desktop browser to my https://random-hazards.local and installed the bitcoin core service and the electrs service.

I also did the setup so that I can sucessfully shell into start9@random-hazards.local as well.

I don’t really know anythihng about TOR though, so I am focusing on the RPC approaches for now.

Thank you…

I tried this test from my ubuntu desktop. random-hazards.local is the startos box:

john@LinBeeLink:~$ curl --user bitcoin --data-binary ‘{“jsonrpc”: “1.0”, “id”:“curltest”, “method”: “getblockchaininfo”, “params”: }’ -H ‘content-type: text/plain;’ http://random-hazards.local:443/

Enter host password for user ‘bitcoin’:
curl: (52) Empty reply from server

The password I got from bitcoin core/Properties/RPC Password

Ok, MY BAD. I thought I could make at least some calls prior to the completion of the sync.
I will wait for the sync (“IBD”) to complete and then proceed.
Sorry for the diversion. Cheers, John

“The node does not need to be fully synced with the network to make RPC calls. However, the node must be out of the initial block download (IBD) phase to ensure that it can respond to queries accurately.”

Running the Sparrow version that’s packaged for start9 won’t allow you to connect anything using USB ports (ledger) if that’s the kind of connection you’re talking about. It might also be the case for how you’re trying to connect to Bitcoin Core. Since Sparrow is running in VNC it’s not honoring the hardware devices through the Remote Desktop connection. I ran into the same thing, if you install Sparrow on another device and point it at your Start9 Server you’ll have no issues.

Thank you for your interest. I was referring to connecting to the BTC core RPC from sparrow on another machine on my lan. No VNC involved. The problem was just that I had not waited until the core IBD to complete.

This was indeed the problem. I have some other issues but will open separate thread(s).

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.