-
Notifications
You must be signed in to change notification settings - Fork 279
Problem while connecting to RPC via Tor #246
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
Comments
Hi @rajarshimaitra , |
Thansk @RCasatta .. I tried many things but unfortunately can't seem to get it working.. Below are the details of all the things I have set.
|
For better understanding of the code changes I am trying with I have opened the draft PR #249 |
didn't look at details but this
looks wrong because ports should not be the same, ( doesn't tor complain when you restart it?) |
Nope it din't say anything on that.. I tried with different port too like I restarted tor after changing the port.. But theres nothing seems to be listening at port |
Closing this in favor of #249 (comment). Any review comments over #249 will be very much appreciated.. 🙏 |
After the merge of apoelstra/rust-jsonrpc#70, which adds SOCKS5 proxy support to the http transport, I am trying to expose this feature through bitcoincore-rpc. While trying to test out the RPC connection I am getting a
general SOCKS server failure
error message.I have added the proxy version of client creation in the
integration_test
crate main functionrust-bitcoincore-rpc/integration_test/src/main.rs
Line 128 in 400a3c0
Like this
Tor in my local machine seems to be working
Bitcoin core is listening for RPC at 18443
And the running the
main
function as below and getting the errorI tried googling on the error and most threads are suggesting that this happens because of ISP blocking.. I tried to check my if my tor connection is working and that seems to be working fine
Am I missing something for connecting to RPC via Tor? Any suggestion on this would be very much helpful..
The text was updated successfully, but these errors were encountered: