chris-belcher / electrum-personal-server

Maximally lightweight electrum server for a single user
MIT License
597 stars 110 forks source link

IOError: OSError(0, 'Error') #183

Open Liongrass opened 4 years ago

Liongrass commented 4 years ago

Hi all,

Great job with eps, quite a breeze to install and run. I did run into one issue. I added a handful of wallets and addresses and am running eps (with a custom tls.key and .cert). I'm connecting from my personal device via a ssh tunnel (as suggested in the readme). When opening Electrum client, I get the following error:

INFO:2020-03-03 22:02:36,189: Starting electrum server
INFO:2020-03-03 22:02:36,325: Listening for Electrum Wallet on ('127.0.0.1', 50002)
ERROR:2020-03-03 22:02:40,126: IOError: OSError(0, 'Error')
ERROR:2020-03-03 22:02:47,784: IOError: OSError(0, 'Error')

These errors appear every few second for as long as Electrum client is running. When I turn off Electrum client the errors no longer appear, and reapper as I relaunch EPS.

Changing only one line in config.ini (accepting connections from 127.0.0.1 to 0.0.0.0) and running EPS again I still see the error. However, now I can connect directly to my machine on the intranet without error.

INFO:2020-03-03 22:15:06,005: Starting electrum server
INFO:2020-03-03 22:15:06,139: Listening for Electrum Wallet on ('0.0.0.0', 50002)
INFO:2020-03-03 22:15:44,640: Electrum connected from 192.168.[x.y]
DEBUG:2020-03-03 22:15:44,643: => {"jsonrpc": "2.0", "method": "server.version", "id": 0, "params": ["electrum/3.3.8", "1.4"]}

I hope this is useful, happy to answer any questions or test again.

chris-belcher commented 4 years ago

Thanks for the issue

chris-belcher commented 3 years ago

Did you ever come up with a solution for this? I have no idea what the issue might be