Open s7n4qg3 opened 4 years ago
Looking at the EPS debug.log, it looks as if EPS is not successfully connecting to bitcoind - every 30 seconds, it's creating a new rpc connection, as can be seen below:
user@host:~$ sudo tail -f /home/electrum-personal-server/.eps/debug.log
DEBUG:2020-09-22 23:43:51,102: Process ID (PID) = 797
DEBUG:2020-09-22 23:43:51,102: obtaining auth from rpc_user/pass
DEBUG:2020-09-22 23:43:51,395: Checking whether rescan is in progress
INFO:2020-09-22 23:43:51,651: Displaying first 3 addresses of each master public key:
INFO:2020-09-22 23:43:51,713:
REDACTED =>
REDACTED
REDACTED
REDACTED
INFO:2020-09-22 23:43:51,731: Obtaining bitcoin addresses to monitor . . .
INFO:2020-09-22 23:41:53,448: Obtained list of addresses to monitor in -118.00461316108704sec
INFO:2020-09-22 23:41:53,450: Building history with 2000 addresses . . .
DEBUG:2020-09-22 23:41:53,511: listtransactions skip=0 len(ret)=0
DEBUG:2020-09-22 23:41:53,521: unconfirmed_txes = defaultdict(<class 'list'>, {})
DEBUG:2020-09-22 23:41:53,523: reorganizable_txes = []
DEBUG:2020-09-22 23:41:53,524: last_known_wallet_txid = None
INFO:2020-09-22 23:41:53,525: Found 0 txes. History built in 0.07369017601013184sec
DEBUG:2020-09-22 23:41:53,526: Starting electrum server
DEBUG:2020-09-22 23:41:53,530: using cert: /home/electrum-personal-server/.eps/certs/server.crt, key: /home/electrum-personal-server/.eps/certs/server.key
INFO:2020-09-22 23:41:53,531: Listening for Electrum Wallet on ('0.0.0.0', 50002)
If this project is valuable to you please consider donating:
bc1qwt8kh83dpdj4yuquvsf28rhcft2rjh6jvy6678
DEBUG:2020-09-22 23:42:24,043: Creating new jsonrpc HTTPConnection
DEBUG:2020-09-22 23:42:54,816: Creating new jsonrpc HTTPConnection
DEBUG:2020-09-22 23:43:25,552: Creating new jsonrpc HTTPConnection
DEBUG:2020-09-22 23:43:56,283: Creating new jsonrpc HTTPConnection
DEBUG:2020-09-22 23:44:26,951: Creating new jsonrpc HTTPConnection
DEBUG:2020-09-22 23:44:57,918: Creating new jsonrpc HTTPConnection
DEBUG:2020-09-22 23:45:28,841: Creating new jsonrpc HTTPConnection
I don't typically use EPS, but in order to check on this for you I updated my testnet EPS, bitcoind, and Electrum. My testnet VMs are not having any of the connectivity issues that you're experiencing. The only things I can think of are:
poll_interval_connected = 5
and you have poll_interval_connected = 1
. Thanks @qubenix. I've updated my poll_interval_connected
setting but that hasn't made a difference. I'm using the same versions as you but I'm using Electrum 4.0.3. I might delete my VMs and start over from scratch, just in case I've missed anything.
I've never used ElectrumX or Electrs. If I can't get EPS to work in a new VM, I might try the latter to see if I have more luck with that.
After deleting my VMs and starting over, I'm having exactly the same problem as before. I've submitted a pull request with minor amendments to the guides that I used - perhaps there will be some clues there to inform what's going wrong.
I've installed bitcoind, Electrum Personal Server (EPS), and Electrum on QubesOS using the information in these guides. When I run all of these, Electrum shows that it is 'Not connected' at the bottom left corner of the window. When I check the debug.log for EPS, it shows the following text:
It looks as if Electrum cannot connect persistently to EPS (but I may be mistaken?)
For context, here's the '[bitcoin-rpc]' part of my EPS config.cfg:
And here's my bitcoin.conf:
And here's my Electrum config:
Can anyone help me with this? Thanks in advance!