-
Notifications
You must be signed in to change notification settings - Fork 35.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't access bitcoind over Tor (error code 1 - "EOF reached") #20114
Comments
You might try an entry in /etc/tor/torrc like
restart Tor and that should work. The deeper reason is that that torcontroler in bitcoind creates only a listen inbound tor onion for 18444 gossip and not for the rpc on 18443 so local that works without Tor but remote without edit torrc not |
Thanks it worked! (HiddenServicePort 18443 127.0.0.1:18443) |
@gorazdko Be aware that the setup described is highly insecure. The RPC port is not meant to be reachable for attackers no matter how strong password you've set. Pre-auth RPC issues (and post-auth RPC issues such as #17742) are not even considered vulnerabilities in Bitcoin Core (they get no CVE) since we assume that merely exposing the RPC port is unsafe. More specifically we're operating under the trust boundary assumption that an attacker cannot connect to the RPC port. |
Abstract
I can't access bitcoind over Tor.
bitcoin.conf: (passwords and onion address are dummy and only for testing purposes)
The service is up and running:
bitcoind -listen -debug=tor -printtoconsole -debug=1
I can access
bitcoin-cli
over Tor:But I can't access bitcoind:
bitcoind accepts and rejects the connection:
Without Tor it's ok:
What am I missing?
Spec:
The text was updated successfully, but these errors were encountered: