electrum-personal-server: Electrum protocol timeout sometimes too small for a slow Electrum Personal Server
Hi, I get the following error when trying to connect Electrum wallet to EPS on Lubuntu.
2018-08-08 16:31:07,926835 [ LOG] Electrum connected from (‘127.0.0.1’, 39146) 2018-08-08 16:31:40,306907 [ LOG] IOError: BrokenPipeError(32, ‘Broken pipe’) 2018-08-08 16:40:11,107133 [ LOG] IOError: OSError(0, ‘Error’) 2018-08-08 16:40:11,710609 [ LOG] IOError: OSError(0, ‘Error’) 2018-08-08 16:40:11,925471 [ LOG] IOError: OSError(0, ‘Error’) 2018-08-08 16:40:13,560771 [ LOG] Electrum connected from (‘127.0.0.1’, 39464) 2018-08-08 16:41:17,486015 [ LOG] IOError: BrokenPipeError(32, ‘Broken pipe’) 2018-08-08 16:41:17,708431 [ LOG] IOError: OSError(0, ‘Error’) 2018-08-08 16:41:17,947199 [ LOG] IOError: OSError(0, ‘Error’)`
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 38 (13 by maintainers)
Opened the config file in the Electrum root directory in notepad. Changed the line oneserver=false to oneserver=true. Worked for me.
Found the solution and it works fine now. For anyone using OS X and experiencing the same issues:
Write a script in Script Editor with the following content (adjust path and IP(host)):
do shell script "open -a '/Users/username/Folder/Electrum.app' --args --oneserver --server [host]:50002:s"https://superuser.com/questions/16750/how-can-i-run-an-application-with-command-line-arguments-in-mac-os
A new version of Electrum has been released. Now a user of
--oneserverand--serverwill automatically make all the timeouts be very big and so will fix this issue. Will close after I or someone actually try it.