Circuit view broken after resuming from suspend or disconnecting+reconnecting to/from the network
As reported by Michael Gerstacker on tails-testers:
- Start Tor Browser.
- Open "debian.org" in a 1st tab.
- Open "potager.org" in a 2nd tab.
- Resume from suspend.
- Open "riseup.net" in a 3rd tab.
- The embeded circuit view from Tor Browser is not shown.
It's older than 4.0~beta1 but still affecting it.
- Subject changed from Circuit view broken after resuming from suspend to Circuit view broken after resuming from suspend or disconnecting+reconnecting to/from the network
Gah, it's even worse than that: disconnecting/reconnecting is enough to break the circuit view. I suspect that's related to the fact we restart Tor when we connect to a network.
Restarting Tor Browser fixes the problem (not saying it's a good solution for users, but it's useful debugging information :)
I'm not sure if it's because our Onion Grater control port filtering proxy fails to reconnect to Tor after it has restarted, or if it's because Tor Browser fails to notice its connection was broken and it should reconnect.
Meta: we should discuss whether this circuit view is part of "the core Tails system". It's for sure very nice (even though we have OnionCircuits for a reason) but in general I'd rather not see every feature added on a hunch without much coordination, by someone on their spare time, automatically become something we have to maintain forever.
I think that we should keep the UX of Tor Browser in Tails as close as
possible from the UX of Tor Browser outside Tails.
Assuming that most of our users were Tor Browser users first outside of
Tails, they will look for the same features and might be confused or
worried if they are not in Tails without any further indication.
Michael's report could illustrate that. It seems like:
- He relied on the embedded circuit views before Onion Circuits,
possibly because he learned it outside of Tails.
- He got worried when some tabs didn't display it.
Of course, that's too little information to draw clear conclusion of how
would users feel if the embedded circuit view wasn't here in Tails in
the first place.
Another solution would be to replace the embedded circuit view with a
hint to use Onion Circuits instead.
Onion Circuits, as far as i can tell, do not allow to actively select a new circuit -
some websites block certain exit nodes and/or countries,
if the "new circuit for this website" button not showing, your stuck on the denied webpage without ability to actively change the circuit, so you are forced to wait until the circuit changes automatically, or you have to restart the browser.
in any case, as long as the is no other option to actively change the circuit, the button should stay.
because the circuits are still active after sleep/disconnect, but the button is not there,
it is possible that it is just an object.draw refresh issue, so it might not be that hard to fix.
was working a year ago or so, before new interface was introduced, maybe go through old code have a look?
#8 Updated by ignatius about 1 month ago
Circuit view for me also breaks randomly after refreshing the page, at least I was not able to find any pattern.
I am attaching 3 images,
- 1st one is a webpage where circuit view was present
- 2nd one is that ^ same webpage where circuit view disappeared after a refresh
- 3rd one is another webpage where circuit view was absent from the start
The Amnesic Incognito Live System
4.0 - 20191021