How to deal with repeated Tor problems


#1

If you cannot connect to the Bisq network repeatedly and if you have not already setup Bisq (account, funds,…) you can simply delete the data directory and start over again. Be sure to not have BTC, offers, trades, disputes open… when you delete the data directory all data is gone.

If you have already setup Bisq the above option is not recommended. See below another option (restart router) which you could try.

We are investigating what causes the issue but it is likely related to Tor as there have not been changes in Bisq in that area since long and there have not been many such issues but recently they seem to happen more often.
It might be that a onion address or your IP address get flagged by the Tor DDoS protection system (false positive) or other unknown reasons. I have observed when I had a development app which got repeatedly connection problems and I renewed the data directory to get a new onion address that is often solved the issue.
If your IP address got flagged and if you have a normal consumer internet connection a restart of the router will usually give you a new IP address.

Here is a user who run into that issues and I saw it locally for me as well a few times the last days:


#2

FYI:
If you run from Bisq master (or next version) there is a new shortcut to log Tor network messages. With cmd+t you toggle between logging Tor messages or not. If there are connection problems at startup (tor settings popup shown) then the logging is turned on automatically. Hope that helps to find easier what causes the issue.

Just checking tor mailing lists…

Here is an issue but probably not related…:
https://lists.torproject.org/pipermail/tor-dev/2018-September/013434.html
https://lists.torproject.org/pipermail/tor-dev/2018-September/013438.html

Seems there are also network spikes:
https://metrics.torproject.org/hidserv-dir-onions-seen.html?start=2017-07-06&end=2018-10-04

Reminder:
If you run a Tor relay node you are qualified to file a BSQ compensation request (40 BSQ)! Bisq wants to support Tor relay operators (of course exit nodes as well but they are not used by Bisq). See: https://github.com/bisq-network/roles/issues/72#issuecomment-425408515


#3

The more I monitor the Tor network, the more I see connectivity issues.
Lasting sometimes for hours … and stopping as suddenly as it arises.
(But maybe this is also specific to some periods and/or zones ?)


#4

I observed issues back in Dezember when Tor was DDoSed that I had more connection issues. I think resetting the IP might the first best try. If that does not help deleting the tor files excluding the hiddenservice directory! If Bisq was not setup yet one can delete also the hiddenservice directory and get a new onion address.

We are investigating… would be great if some people who are more closely familiar with Tor could add info…


#5

The number of timeouts was abnormaly high recently : https://metrics.torproject.org/torperf-failures.html
but things seems to ameliorate in the very next days : https://metrics.torproject.org/torperf.html