-
Notifications
You must be signed in to change notification settings - Fork 492
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TOR takes long time to recover #10915
Comments
FTR I also experienced this behavior, even if not sure about the exact disruption duration. An easy way to test is switch on/off internet connection |
Thanks @onvej-sl for opening this issue for me :) To be precise, only opened/recycled circuits are affected like for example identity used for fetching offline duration doesn't even matter, if you have two hotspots available (home wifi + mobile hotspot) it's enough just to switch between them while loading the wallet. i believe it can happen even without user interaction or knowledge. |
I've been working on this. So far I have only a few findings but I still don't understand the issue fully. |
I have this test branch: https://github.com/kiminuo/WalletWasabi/tree/feature/2023-07-10-Tor-n-net-down and my test scenario is as follows: Initial setup:
Test scenario:
Now this gives me on Windows:
macOS
So my tests lead to recovery. However, @szymonlesisz sent me his logs and I can see that the recovery was not so smooth in his case. It took about 12 minutes. But he tested on linux. So no conclusion so far but if anyone would be willing to test, it would be very helpful. There is still something I don't understand I guess. |
@kiminuo does it makes sense to set up a Linux virtualbox and test it? If yes then can you do it? If the problems do not occur there we close the issue until no further clue. |
Yeah, this is something I want to focus on this week. |
I have set up a linux VM and tried the test scenario mentioned here #10915 (comment) but I can see that WW recovers as well. I have tried that multiple times with various intervals for when the Internet connection was down. So the question is what is the next step here.
|
@szymonlesisz found out and tested that your wallet is affected by trezor/trezor-suite#8661 (comment) which he had discovered.
In short, when your internet connection is temporarily off but the network you are connected to is working, it takes TOR 30 minutes to recover. The solution is to detect when this happens and remove the affected circuits.
Although this is not directly related to coinjoin, if it occurs during the critical phase, it disrupts the round.
The text was updated successfully, but these errors were encountered: