Hi all.
I installed the ElectrumX server but i can not connect to my server from my electrum wallet. I am behind CG-NAT, so it is a pure Tor server. I create the tor service in
/etc/tor/torrc:
.
.
.
HiddenServiceDir /var/lib/tor/electrumx/
HiddenServicePort 50001 127.0.0.1:50001
HiddenServicePort 50002 127.0.0.1:50002
.
.
.
and this is my ElectrumX configuration file:
DB_DIRECTORY = <path>/electrumx/db
DAEMON_URL = <user>:<password>@127.0.0.1:8332/
COIN=Bitcoin
DONATION_ADDRESS=1LM9kqiRPMavcgocXmexw5vNn2XhVSi5Rq
BANNER_FILE= <path>/electrumx/banner
SERVICES = rpc://127.0.0.1:8000,wss://:50001
REPORT_SERVICES = wss://y32svarehxecrpvg62upqq7lgqhcrr3m35y4cqogy4nubsic2y3fofyd.onion:50001
SSL_CERTFILE = <path>/electrumx/server.crt
SSL_KEYFILE = <path>/electrumx/server.key
FORCE_PROXY = on
TOR_PROXY_HOST = 127.0.0.1
TOR_PROXY_PORT = 9050
The server is synced and have peers, the output of
$electrumx_rpc getinfo:
{
"coin": "Bitcoin",
"daemon": "127.0.0.1:8332/",
"daemon height": 732924,
"db height": 732924,
"db_flush_count": 1511,
"groups": 0,
"history cache": "0 lookups 0 hits 0 entries",
"merkle cache": "0 lookups 0 hits 0 entries",
"peers": {
"bad": 25,
"good": 55,
"never": 5,
"stale": 50,
"total": 135
},
"pid": 2762,
"request counts": {
"getinfo": 15
},
"request total": 15,
"sessions": {
"count": 1,
"count with subs": 0,
"errors": 0,
"logged": 0,
"pending requests": 1,
"subs": 0
},
"tx hashes cache": "0 lookups 0 hits 0 entries",
"txs sent": 0,
"uptime": "07h 18m 48s",
"version": "ElectrumX 1.16.0"
}
I want to connect using two methods, the first is via Tor, i am trying the command:
$./electrum-4.1.5-x86_64.AppImage -1 -s y32svarehxecrpvg62upqq7lgqhcrr3m35y4cqogy4nubsic2y3fofyd.onion:50001:t -p socks5:localhost:9050
the second method is to use a ssh tunnel from other PC inside my own network to connect via rpc:
$ssh -p <port> -L 8000:127.0.0.1:8000 <user>@192.168.0.104
$./electrum-4.1.5-x86_64.AppImage -1 -s localhost:8000
Using both methods the dot indicating connection in electrum wallet stay red and do not connect to the server. I am using a new wallet to test . Do i missing some configuration or using some command with wrong sintaxe? Any help is welcome.
edit: Also
https://1209k.com/bitcoin-eye/ele.php is showing my node as "Closed".