Skip to content

[bug]: Electrs can only serve one service at a time. Multiple services/electrum desktops connected will be unreliable or just not work at all. #13

@BitcoinMechanic

Description

@BitcoinMechanic

Prerequisites

  • I have searched for existing issues that already report this problem.

Device

Laptop/Desktop

Device OS

MacOS

Device OS Version

12.5

Browser

Firefox

Browser Version

105

Current Behavior

Running (for example) mempool - that consistently works perfectly and reliably with no need for restarts or health check complaints or any unreliability. If I connect electrum wallet (desktop) to electrs it will likely just not connect at all. I have gotten it to connect in the past, but only for a short time and then causing electrs to not work right at all. Electrum Wallet then has its network button turn red and mempool also stops working.

Stopping mempool before starting electrum and connecting electrum results in perfect behaviour by both electrum and electrs.

Expected Behavior

This is now the behaviour I've come to expect as I'm lead to believe that electrs is not capable of handling multiple applications connecting to it.

In this guide this is said to be the case with Electrum Personal Server at least....

One thing to note about EPS is that it really is “personal” — it only connects to one Electrum Wallet at a time. So if your desktop wallet is connected, don’t spend hours tinkering with your mobile Electrum Wallet trying to figure out why it doesn’t connect (true story). You also can’t be the “Uncle Jim” of your social circle with EPS, by providing a trusted node for them to connect to.

Steps to Reproduce

To break electrs:

  1. Install and sync electrs
  2. Run mempool
  3. Wait for everything to synchronize
  4. Connect an Electrum Wallet (desktop) instance to electrs
  5. Something will break - best case Electrum just doesn't connect. Worst case it works a bit, then turns red. The electrs service itself will have its health check to get stuck this issue "finalizing synchronization" and stop working for mempool as well.

To get it to work:

  1. Just run one of either Mempool or Electrum and they should work perfectly.

Anything else?

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions