Wallet does not starting properly. It cannot connect to tor.
Tor version: Tor version 0.3.0.10 (git-5da2fc629a0670b3).
Wasabi Wallet version: a81e21664b51f3c46e2ce4177ef439c820799e0d
dotnet startUbuntu 17.10
The stack trace on my console:
2018-08-09 20:05:23 DEBUG UpdateChecker: WalletWasabi.Exceptions.TorSocks5FailureResponseException: Tor SOCKS5 proxy responded with GeneralSocksServerFailure.
at WalletWasabi.TorSocks5.TorSocks5Client.ConnectToDestinationAsync(String host, Int32 port) in /home/daniel/apps/WalletWasabi/WalletWasabi/TorSocks5/TorSocks5Client.cs:line 249
at WalletWasabi.TorSocks5.TorHttpClient.SendAsync(HttpRequestMessage request, CancellationToken cancel) in /home/daniel/apps/WalletWasabi/WalletWasabi/TorSocks5/TorHttpClient.cs:line 156
at WalletWasabi.TorSocks5.TorHttpClient.SendAsync(HttpMethod method, String relativeUri, HttpContent content, CancellationToken cancel) in /home/daniel/apps/WalletWasabi/WalletWasabi/TorSocks5/TorHttpClient.cs:line 97
at TorHttpClientExtensions.SendAndRetryAsync(TorHttpClient client, HttpMethod method, HttpStatusCode expectedCode, String relativeUri, Int32 retry, HttpContent content, CancellationToken cancel) in /home/daniel/apps/WalletWasabi/WalletWasabi/Extensions/TorHttpClientExtensions.cs:line 20
at WalletWasabi.WebClients.Wasabi.WasabiClient.GetVersionsAsync() in /home/daniel/apps/WalletWasabi/WalletWasabi/WebClients/Wasabi/WasabiClient.cs:line 124
at WalletWasabi.WebClients.Wasabi.WasabiClient.CheckUpdatesAsync() in /home/daniel/apps/WalletWasabi/WalletWasabi/WebClients/Wasabi/WasabiClient.cs:line 147
at WalletWasabi.Services.UpdateChecker.<>c__DisplayClass12_0.<<Start>b__0>d.MoveNext() in /home/daniel/apps/WalletWasabi/WalletWasabi/Services/UpdateChecker.cs:line 48
2018-08-09 20:05:23 ERROR IndexDownloader: WalletWasabi.Exceptions.TorSocks5FailureResponseException: Tor SOCKS5 proxy responded with GeneralSocksServerFailure.
at WalletWasabi.TorSocks5.TorSocks5Client.ConnectToDestinationAsync(String host, Int32 port) in /home/daniel/apps/WalletWasabi/WalletWasabi/TorSocks5/TorSocks5Client.cs:line 249
at WalletWasabi.TorSocks5.TorHttpClient.SendAsync(HttpRequestMessage request, CancellationToken cancel) in /home/daniel/apps/WalletWasabi/WalletWasabi/TorSocks5/TorHttpClient.cs:line 156
at WalletWasabi.TorSocks5.TorHttpClient.SendAsync(HttpMethod method, String relativeUri, HttpContent content, CancellationToken cancel) in /home/daniel/apps/WalletWasabi/WalletWasabi/TorSocks5/TorHttpClient.cs:line 97
at TorHttpClientExtensions.SendAndRetryAsync(TorHttpClient client, HttpMethod method, HttpStatusCode expectedCode, String relativeUri, Int32 retry, HttpContent content, CancellationToken cancel) in /home/daniel/apps/WalletWasabi/WalletWasabi/Extensions/TorHttpClientExtensions.cs:line 20
at WalletWasabi.WebClients.Wasabi.WasabiClient.GetFiltersAsync(uint256 bestKnownBlockHash, Int32 count, CancellationToken cancel) in /home/daniel/apps/WalletWasabi/WalletWasabi/WebClients/Wasabi/WasabiClient.cs:line 34
at System.Threading.Tasks.TaskExtensions.WithAwaitCancellationAsync[T](Task`1 me, CancellationToken cancel, Int32 waitForGracefulTermination) in /home/daniel/apps/WalletWasabi/WalletWasabi/Extensions/TaskExtensions.cs:line 34
at WalletWasabi.Services.IndexDownloader.<>c__DisplayClass62_0.<<Synchronize>b__0>d.MoveNext() in /home/daniel/apps/WalletWasabi/WalletWasabi/Services/IndexDownloader.cs:line 211
Could you check Tor is running, please?
Steps:
$ service tor status
You should see something like the following (see the Active row):
โ tor.service - Anonymizing overlay network for TCP (multi-instance-master)
Loaded: loaded (/lib/systemd/system/tor.service; enabled; vendor preset: enabled)
Active: active (exited) since Thu 2018-08-09 10:38:30 -03; 23h ago
Process: 741 ExecStart=/bin/true (code=exited, status=0/SUCCESS)
Main PID: 741 (code=exited, status=0/SUCCESS)
ago 09 10:38:30 lontivero-MAX-G5 systemd[1]: Starting Anonymizing overlay network for TCP (multi-instanc
ago 09 10:38:30 lontivero-MAX-G5 systemd[1]: Started Anonymizing overlay network for TCP (multi-instance
sudo netstat -ltnp | grep 9050
You should see something like:
tcp 0 0 127.0.0.1:9050 0.0.0.0:* LISTEN 866/tor
Note: netstats is not install by default in Ubuntu.
The previous steps assume you have installed Tor and it is running using the default port, if that is not the case let us know.
Just in case, please confirm Tor is configured to listen on port 9050:
$ cat /etc/tor/torrc | grep 9050
Also, confirm you don't have a $(HOME)/.torrc file.
The v3 onions are enabled from Tor 0.3.2.2, you have 0.3.0.10. So that's the issue.
There were someone else with the same problem. He fixed it by building Tor from source code: https://www.torproject.org/download/
To sum it up. This is an unfortunate thing. Some Linux repo is shipping with very old Tor versions, which do not yet support the 3rd generation Tor network.
With the 1.0 version, we will ship our own Tor, so it won't be a problem.
Update your Tor or build it from source code: https://www.torproject.org/download/download.html.en
For freshly installed Ubuntu 16.04, building from source code, the steps are:
cd into the directory: https://www.torproject.org/download/download.html.ensudo apt-get install libevent-devsudo apt-get install libssl-devsudo apt-get install zlib1g-dev./configure && make && src/or/torsudo killall torcd /src/or./torFrom here on, every time you want to launch Wasabi, you must run Tor, the one you just built. You should also make sure no old version of Tor is running:
sudo killall tor
cd /src/or
./tor
Interestingly, after I updated Ubuntu to 18.04 (and nothing else), the wallet booted fine.
The tor version shipped with this release is:
Tor version 0.3.2.10 (git-0edaa32732ec8930)
Indeed, I guess the problem was just that tor was old.