Bitcoin Forum

Bitcoin => Electrum => Topic started by: hashslinger on July 30, 2019, 06:07:03 AM



Title: ElextrumX Server Connection Issues
Post by: hashslinger on July 30, 2019, 06:07:03 AM
I have run an ElextrumX server in the past. I stopped running the server around the beginning of the new year. I started attempting to run one shortly after v 0.18 Bitcoin Core released. I synced both bitcoin's and electrum's database fresh. Initially I ran into a couple issues where the configs had changed for bitcoin/electrum and my old config files were causing problem. After updating my bitcoin config to reflect the new RPC syntax, and updating my electrum config for the new Services syntax, I run into a problem which includes throttling:

INFO:ElectrumX:[81392] disconnected whilst throttled.

Nmap shows port 50001 as open. However, I cannot find my server's IP or hostname in the list of servers and when I connect to the server manually I instantly see the above message when I tail -f the server log. When I close the Electrum wallet the above message stops recurring.


Title: Re: ElextrumX Server Connection Issues
Post by: Pmalek on July 30, 2019, 09:44:59 AM
The same error appears here > https://github.com/kyuupichan/electrumx/issues/562
Have you seen that? Maybe it can help you get rid of the disconnection issues.


Title: Re: ElextrumX Server Connection Issues
Post by: hashslinger on July 31, 2019, 05:54:02 AM
I actually copied that error message from that Github issue. I was in the middle of rearranging my drives. Here is my actual output.

Jul 30 22:41:22  electrumx_server[4672]: INFO:ElectrumX:[3] disconnected whilst throttled
Jul 30 22:41:31  electrumx_server[4672]: INFO:ElectrumX:[4] TCP 127.0.0.1:60858, 0 total
Jul 30 22:41:31  electrumx_server[4672]: INFO:ElectrumX:[4] changing task concurrency from 10000 to 4834
Jul 30 22:41:31  electrumx_server[4672]: INFO:ElectrumX:[4] changing task concurrency from 4834 to 3612
Jul 30 22:41:31  electrumx_server[4672]: INFO:ElectrumX:[4] changing task concurrency from 3612 to 2389
Jul 30 22:41:31  electrumx_server[4672]: INFO:ElectrumX:[4] changing task concurrency from 2389 to 1167
Jul 30 22:41:31  electrumx_server[4672]: INFO:ElectrumX:[4] disconnected whilst throttled
Jul 30 22:41:41  electrumx_server[4672]: INFO:ElectrumX:[5] TCP 127.0.0.1:60876, 0 total
Jul 30 22:41:41  electrumx_server[4672]: INFO:ElectrumX:[5] changing task concurrency from 10000 to 0
Jul 30 22:41:41  electrumx_server[4672]: INFO:ElectrumX:[5] disconnected whilst throttled

That github issue has been resolved, so I am unsure what the problem is. I might try an older version of ElectrumX before the throttling was added.