Walletwasabi: GUI freeze after GeneralSocksServerFailure in Tor

Created on 1 Jan 2020  路  5Comments  路  Source: zkSNACKs/WalletWasabi

General Description

GUI of Wasabi Wallet froze after what seems like fail in Tor. Might already be solved in v1.1.10.2.

How To Reproduce?

Can't reproduce yet.. had two instances running side-by-side for a while for coinjoin and hardware wallet interaction.

Operating System

Win10 build 18362

Logs

Please consider your privacy, before completing this section.
You can find the log file by opening it from the main menu: File/Open/Logs File or File/Open/TorLogs File.

2019-12-28 11:10:44 INFO MempoolService (129) 4670 transactions were cleaned from mempool.
2019-12-28 11:19:18 ERROR WasabiSynchronizer (305) WalletWasabi.Exceptions.TorSocks5FailureResponseException: Tor SOCKS5 proxy responded with GeneralSocksServerFailure.
at WalletWasabi.TorSocks5.TorSocks5Client.ConnectToDestinationAsync(String host, Int32 port, Boolean isRecursiveCall)
at WalletWasabi.TorSocks5.TorHttpClient.SendAsync(HttpRequestMessage request, CancellationToken cancel)
at WalletWasabi.TorSocks5.TorHttpClient.SendAsync(HttpMethod method, String relativeUri, HttpContent content, CancellationToken cancel)
at TorHttpClientExtensions.SendAndRetryAsync(ITorHttpClient client, HttpMethod method, HttpStatusCode expectedCode, String relativeUri, Int32 retry, HttpContent content, CancellationToken cancel)
at WalletWasabi.WebClients.Wasabi.WasabiClient.GetSynchronizeAsync(uint256 bestKnownBlockHash, Int32 count, Nullable1 estimateMode, CancellationToken cancel) at System.Threading.Tasks.TaskExtensions.WithAwaitCancellationAsync[T](Task1 me, CancellationToken cancel, Int32 waitForGracefulTerminationMilliseconds)
at WalletWasabi.Services.WasabiSynchronizer.<>c__DisplayClass60_0.<b__0>d.MoveNext()
2019-12-28 11:19:50 ERROR WasabiSynchronizer (305) WalletWasabi.Exceptions.TorSocks5FailureResponseException: Tor SOCKS5 proxy responded with GeneralSocksServerFailure.
at WalletWasabi.TorSocks5.TorSocks5Client.ConnectToDestinationAsync(String host, Int32 port, Boolean isRecursiveCall)
at WalletWasabi.TorSocks5.TorHttpClient.SendAsync(HttpRequestMessage request, CancellationToken cancel)
at WalletWasabi.TorSocks5.TorHttpClient.SendAsync(HttpMethod method, String relativeUri, HttpContent content, CancellationToken cancel)
at TorHttpClientExtensions.SendAndRetryAsync(ITorHttpClient client, HttpMethod method, HttpStatusCode expectedCode, String relativeUri, Int32 retry, HttpContent content, CancellationToken cancel)
at WalletWasabi.WebClients.Wasabi.WasabiClient.GetSynchronizeAsync(uint256 bestKnownBlockHash, Int32 count, Nullable1 estimateMode, CancellationToken cancel) at System.Threading.Tasks.TaskExtensions.WithAwaitCancellationAsync[T](Task1 me, CancellationToken cancel, Int32 waitForGracefulTerminationMilliseconds)
at WalletWasabi.Services.WasabiSynchronizer.<>c__DisplayClass60_0.<b__0>d.MoveNext()
2019-12-28 11:20:23 INFO ClientState (450) Round (12983) removed. Reason: It's not running anymore.
2019-12-28 11:20:23 INFO ClientState (450) Round (12984) removed. Reason: It's not running anymore.
2019-12-28 11:20:23 INFO ClientState (468) Round (12985) added.
2019-12-28 11:20:23 INFO ClientState (468) Round (12986) added.

Wasabi Version

Using Wasabi Wallet v1.1.10(.0) installed via .msi file.

debug

Most helpful comment

I was able to reproduce a UI freeze in Linux after dequeuing a coin but it is impossible to reproduce.

All 5 comments

Screenshot of second occurance: image

GUI freeze seems to occur after many hours, some rounds of CoinJoin on the first opened wallet and then the HW-interfacing wallet freezes...

Version:
1.1.10.2 (.msi installer for W10)

This is really weird because in your screenshot tor is running, backend is connected and eight bitcoin nodes (peers) are connected. So, it could be that when the tor status changes from connected to disconnected then the UI freezes. That's something that I was not able to reproduce (in Linux) yet, please let us know if you find something else that could be useful.

@lontivero I suspect it has nothing to do with Tor. @kravens did you get the same Tor related exception logs during the second freeze too? If yes, then it's Tor stuff and I'll investigate, if not, then it's something else.

I was able to reproduce a UI freeze in Linux after dequeuing a coin but it is impossible to reproduce.

Won鈥檛 have to run multiple Wasabi Wallet instances from v1.1.11, so don鈥檛 expect this is an issue anymore. Has not reproduced since then.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kenny47 picture kenny47  路  3Comments

2pac1 picture 2pac1  路  3Comments

trading2835 picture trading2835  路  3Comments

MaxHillebrand picture MaxHillebrand  路  3Comments

gabridome picture gabridome  路  3Comments