RabbyHub / RabbyDesktop

rabby desktop application, for web3 users
Other
45 stars 20 forks source link

Proxy not used #615

Open gus4rs opened 8 months ago

gus4rs commented 8 months ago

The custom proxy set in the wallet is not used to retrieve DAPPs or to download data from the Dashboard. What is it used for?

richardo2016x commented 1 week ago

As design, the proxy setting is used in most cases, such as retrieving DAPPs and download data from the dashboard. Can you provide more details about what you met? Thank you.

gus4rs commented 1 week ago

Go to "My Dapps", then create a new one, and add https://ip.me as the URL. Open the dapp and you will see it is not using the proxy's IP

richardo2016x commented 1 week ago

Go to "My Dapps", then create a new one, and add https://ip.me as the URL. Open the dapp and you will see it is not using the proxy's IP

I do the test and the dapp shows it's using the proxy's IP. I don't know your local network's setting, but maybe it's helpful to use 'Custom', fill hostname/port of your proxy's local server, you can test whether proxy works by accessing the url (specified by 'Checking' field) which is not accessible if no proxy applied.

image

gus4rs commented 1 week ago

In my case I am using a SOCKS 5 proxy. And the "Check" seem bogus: even if I change the port to the wrong value, it checks ok

gus4rs commented 1 week ago

I am using MAC OS with Tor (brew install Tor) which offers a socks5 proxy at port 9050. If I do this:

curl --socks5-hostname localhost:9050 https://ip.me

It works and gives me a different IP

But If I put localhost 9050 in Rabby, it doesn't use it and shows my own IP