-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
rpcclient: Errors when connecting via proxy #1005
Comments
From @dajohi on August 3, 2017 16:36 Does |
From @sturd on August 3, 2017 17:51 No it doesn't. I'm getting;
with that configuration. |
From @dajohi on August 3, 2017 21:37 |
From @sturd on August 4, 2017 7:57 Getting;
when prefixing the http:// scheme. Same as when prefixing with socks:// as the scheme. |
From @sturd on August 4, 2017 15:5 Have managed to work around this by removing;
and instead overwriting the client.Transport with a new one where Dial() is provided by socks.Proxy{}. It kinda resembles the solution which is implemented for the websocket proxy configuration further down. |
From @sturd on August 4, 2017 15:30 A little stuck for time, at the moment, but can test and submit a patch this weekend if it would be helpful. |
From @sturd on August 3, 2017 15:59
I have been trying to connect my application via a local SOCKS 5 proxy, but I'm getting errors when I do so.
I have bitcoind running on a network at address 192.168.1.10 (example). The RPC server is running on the default port of 8332. On my local machine, outside of that network, I have an SSH tunnel with my SOCKS 5 proxy, listening on port 1080, as per the SOCKS default.
My ConnConfig setup looks like;
With this configuration, attempting to execute a RPC command results in the error;
Is there a correct way to format the Proxy string which I'm missing?
Copied from original issue: btcsuite/btcrpcclient#129
The text was updated successfully, but these errors were encountered: