m2049r / xmrwallet

monerujo: An Android Monero Wallet
https://www.monerujo.io/
Apache License 2.0
598 stars 274 forks source link

Unable to connect to onion address under Orbot VPN-mode #570

Open Jasonhcwong opened 5 years ago

Jasonhcwong commented 5 years ago

I was trying to use Monerujo with Orbot VPN mode. I tried the following to onion address from moneroworld.com:

  1. zdhkwneu7lfaum2p.onion:18099
  2. xmkwypann4ly64gh.onion:18081

To verify that the above mentioned nodes work, I used chrome + Orbot VPN mode to connect to those node with URL: zdhkwneu7lfaum2p.onion:18099/getinfo and chrome returned a json response as shown below:

Screenshot_2019-04-13-17-23-54

Screenshot_2019-04-13-17-23-30

Then I opened monerujo and added a node with the above onion nodes, after clicking the "Test" button, it shows "Testing IP 10.212.198.222..." and then it shows "CONNECTION ERROR".

Any ideas?

erciccione commented 5 years ago

This is a duplicate, there are 3 opened issues about Tor/orbot and Monerujo, please comment on one of those. See: #100 #303 #389

cm157 commented 3 years ago

Could be 10 open issues for over 2 years. Nothing has been done.

cm157 commented 3 years ago

The easiest way to integrate Orbot support using the teams small NetCipher library... this will help 1) detect if Orbot is installed 2) request to start and 3) find out what SOCKS/HTTP port the proxy is available at. https://github.com/guardianproject/netcipher The OrbotHelper class in particular makes this easy: https://github.com/guardianproject/NetCipher/blob/master/libnetcipher/src/info/guardianproject/netcipher/proxy/OrbotHelper.java

Also this tool which directly integrates Tor

https://topl-android.matthewnelson.io/