question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Electrum: Missing second parameter

See original GitHub issue

Hello,

after the recent issue with LND and the update of my node using the new image v1.8.0 provided here, Electrum does not work anymore. I wasn’t able to get more information than this:

sudo journalctl -u electrs -b --no-pager -n20 -- Journal begins at Sun 2022-11-06 06:46:28 GMT, ends at Sun 2022-11-06 21:17:27 GMT. -- Nov 06 19:04:21 raspberrypi electrs[482414]: [2022-11-06T19:04:21.392Z INFO electrs::index] indexing 1 blocks: [762015..762015] Nov 06 19:04:21 raspberrypi electrs[482414]: [2022-11-06T19:04:21.479Z INFO electrs::chain] chain updated: tip=00000000000000000003b2010cce94f3012fa34ef4464fd4daa21ef4e521719a, height=762015 Nov 06 19:11:28 raspberrypi electrs[482414]: [2022-11-06T19:11:28.312Z INFO electrs::index] indexing 1 blocks: [762016..762016] Nov 06 19:11:28 raspberrypi electrs[482414]: [2022-11-06T19:11:28.405Z INFO electrs::chain] chain updated: tip=000000000000000000043c29e9f5dfdaf201d90dd6d601821b1863076a523776, height=762016 Nov 06 19:34:05 raspberrypi electrs[482414]: [2022-11-06T19:34:05.431Z INFO electrs::index] indexing 1 blocks: [762017..762017] Nov 06 19:34:05 raspberrypi electrs[482414]: [2022-11-06T19:34:05.646Z INFO electrs::chain] chain updated: tip=00000000000000000006f75ceb9689c6ef7852dd2d31623faaf724923ed2311e, height=762017 Nov 06 19:38:40 raspberrypi electrs[482414]: [2022-11-06T19:38:40.324Z INFO electrs::index] indexing 1 blocks: [762018..762018] Nov 06 19:38:40 raspberrypi electrs[482414]: [2022-11-06T19:38:40.459Z INFO electrs::chain] chain updated: tip=000000000000000000023ac2baaaeb00e332d37ccabce3b515e16c5ecc0a0141, height=762018 Nov 06 19:38:49 raspberrypi electrs[482414]: [2022-11-06T19:38:49.797Z INFO electrs::index] indexing 1 blocks: [762019..762019] Nov 06 19:38:49 raspberrypi electrs[482414]: [2022-11-06T19:38:49.807Z INFO electrs::chain] chain updated: tip=000000000000000000052cab167e6041ba9c75546d579380dbf43e417cc30c82, height=762019 Nov 06 19:46:12 raspberrypi electrs[482414]: [2022-11-06T19:46:12.197Z INFO electrs::index] indexing 1 blocks: [762020..762020] Nov 06 19:46:12 raspberrypi electrs[482414]: [2022-11-06T19:46:12.255Z INFO electrs::chain] chain updated: tip=00000000000000000004355faef991a06265a42132b88a40f29ace65f053513a, height=762020 Nov 06 20:00:48 raspberrypi electrs[482414]: [2022-11-06T20:00:48.439Z INFO electrs::index] indexing 1 blocks: [762021..762021] Nov 06 20:00:48 raspberrypi electrs[482414]: [2022-11-06T20:00:48.654Z INFO electrs::chain] chain updated: tip=0000000000000000000477d68302d2487f065b3ced2e9bb3419d33c8f1fc904d, height=762021 Nov 06 20:04:16 raspberrypi electrs[482414]: [2022-11-06T20:04:16.603Z INFO electrs::index] indexing 1 blocks: [762022..762022] Nov 06 20:04:16 raspberrypi electrs[482414]: [2022-11-06T20:04:16.678Z INFO electrs::chain] chain updated: tip=000000000000000000027f24bdf229543d5a948f451879a65eaa01b1fa5cf679, height=762022 Nov 06 20:17:26 raspberrypi electrs[482414]: [2022-11-06T20:17:26.986Z INFO electrs::index] indexing 1 blocks: [762023..762023] Nov 06 20:17:27 raspberrypi electrs[482414]: [2022-11-06T20:17:27.115Z INFO electrs::chain] chain updated: tip=0000000000000000000279613284524e5a428e5e5b97158c2c45f2e6b4cf4973, height=762023 Nov 06 20:37:18 raspberrypi electrs[482414]: [2022-11-06T20:37:18.508Z INFO electrs::index] indexing 1 blocks: [762024..762024] Nov 06 20:37:18 raspberrypi electrs[482414]: [2022-11-06T20:37:18.735Z INFO electrs::chain] chain updated: tip=00000000000000000003d63b56f830f3d62c3f1df257ad1a2996438d1d23069b, height=762024

…which looks good to me. I then tried to connect to Electrum using the Connect-Option in Electrum Menu. But Electrum doesn’t show addresses for both local and Tor Connection.

######## How to Connect to Electrum Rust Server #######

Install the Electrum Wallet App on your laptop from:
https://electrum.org

On Network Settings > Server menu:
- deactivate automatic server selection
- as manual server set '' & '50002'
- laptop and RaspiBlitz need to be within same local network

To start directly from laptop terminal use:
electrum --oneserver --server :50002:s

The Tor Hidden Service address for electrs is (see LCD for QR code):


To connect through TOR open the Tor Browser and start with the options:
electrum --oneserver --server :50002:s --proxy socks5:127.0.0.1:9150
error='missing second parameter - see help'

For more details check the RaspiBlitz README on ElectRS:
https://github.com/rootzoll/raspiblitz

…which shows the error “missing second parameter - see help”. I couldn’t find any information about this issue and I also don’t know which help I should look at.

Can someone support please? Thanks in advance!

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
ChuckNorrisoncommented, Nov 9, 2022

in the manual to start electrum is the IP missing, only Port 50002 is given. So this is meant with second parameter. If it does not work, you could try to simply start the gui app and go into tools -> network and connect to your electrum

0reactions
rootzollcommented, Nov 14, 2022

FYI the local IP not showing was fixed in v1.8 branch - on terminal just run patch code

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fulcrum: the most performant Electrum Server implementation
Fulcrum: the most performant Electrum Server implementation #2924 ... error='missing second parameter - see help'.
Read more >
Restoring your standard wallet from seed - Bitcoin Electrum
Begin by creating a new wallet file as per this guide. Click on next to see the wallet type selection window: As you...
Read more >
Electrum Documentation - Read the Docs
Electrum offers two-factor authenticated wallets, with a remote server acting to co-sign transactions, adding another.
Read more >
Electrum protocol specification
Stratum protocol is based on JSON-RPC 2.0 (although it doesn't include “jsonrpc” information in every message). Each message has to end with a...
Read more >
Why does Electrum include seemingly unnecessary inputs in ...
My Electrum wallet shows two "output points" in the Coins tab (with the same address). Both of these show an amount much larger...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found