Connection problems where Arti 'sticks' to a faulty circuit
I'm writing this from a train using arti & onionmasq-linux (!) -- and earlier in the journey, I noticed some probably erroneous behaviour:
- I had connected to an
.onion
service successfully, and then my connection changed (due to me switching wifi networks). - This presumably meant the old circuit was no longer usable. However, Arti continued to try and use it anyway for new connections to that service (understandable enough).
- The first attempt to do so failed, with "timed out waiting for exit" given as error reason.
- However, subsequent attempts tried to use it also failed, with the same error message -- I could no longer connect, despite having (now) working internet connection more generally.
- Restarting Arti got things to work again.
It would be nice if we had some sort of mechanism to detect 'stuck' circuits and retry by building different circuits, since this behaviour is quite annoying! I wonder whether it's specific to onion services, since I haven't noticed this in any other usecase.