Deployment as hidden service
DonnyPerni opened this issue · 11 comments
I'm trying to test a relayer as hidden service and I found few problems:
Those two line:
tornado-relayer/docker-compose.yml
Line 54 in 3a598bb
tornado-relayer/docker-compose.yml
Line 57 in 3a598bb
should change
mainnet
with server
.
It should be more clear that if you want to run it as hidden service you do not need nginx
and letsencrypt
(and probably dockergen
but I'm not sure of what it does).
Moreover the web UI should not enforce https
for .onion
's relayers
Fixed
p.s. dockergen container generates dynamic configs for nginx, this is how VIRTUAL_HOST
env var works
Thank you, but I think that the front end is still using https
to make the connections with the .onion
relayer.
Is there a place where I can find the front end source code to understand how it works?
Yes ui fix is in progress
Hi @poma and @DonnyPerni Thanks for fixing the https and .onion issue, I was wondering if there is a way to track when this change gets into mainline. I have a goerli relayer that I want to test as soon as the UI fix has been merged, thanks!
UI fix is deployed
@poma in which repo did you do the change? I just tried on the goerli network with my Tor node and it is not working. But I cannot tell if it my node that does not work or if I am not using your change.
Actually I can test my node using Tor browser and I can see it works, so it seems the Tornado UI is still not working with .onion addresses
This is on the goerli testnet and I am using this URL https://app.tornado.cash/
When I run the relay service I can see it works
It fetch the data correctly to me on TOR Browser,I guess you are using the TOR page with Brave, because I tried with that and I got the same error:
This error is the cause of the problem:
If I got it right it's because chromium (brave is based on that) block the http request if you are on a https website, I tried using http to connect to the app.tornado.cash and it works:
P.S. I think that the source code of web page is not public, and I think one proposal of the new DAO could be to make the front end open-source
Sweet it works for me too on the Tor Browser, Thanks @DonnyPerni
The UI can also run as an .onion service, there is a description how to do that in minified UI repo. But it has to be hosted by someone from the community because tornado cash team cannot run any servers for legal reasons. Although in this case there is a problem of how to verify that this hosted version is not maliciously modified. Maybe if some high profile community member hosts it and vouches with his reputation.