Open holmesworcester opened 1 year ago
@livid can you provide system information such as OS version and whether you are on an Intel or Apple Silicon mac?
@livid can you provide system information such as OS version and whether you are on an Intel or Apple Silicon mac?
It's macOS 13.4.1 running on Apple Silicon.
The app worked great on this machine, but it hangs when starting today.
@livid @holmesworcester that's just the tor in bad condition, try restart the app and it should be fine :)
@livid btw for how long you have waited ? It happens quite often, so we have a logic for cleaning tor data and trying again, and in the logs I can it was the first attempt. cheers
What do we need to do to make sure a user never needs to restart, so that we just handle this 100 percent of the time?
I think this issue remains an open issue until we solve it for 100 percent of cases.
@livid btw for how long you have waited ? It happens quite often, so we have a logic for cleaning tor data and trying again, and in the logs I can it was the first attempt. cheers
I have tried it multiple times. My last attempt was to launch the app at 5:20 AM, now it's 5:37 AM, still stuck on this screen.
@livid do you have some non-standard network setup, like VPN or something
To add to this, if you could include any information about your network setup that could help us reproduce the problem that would be great.
Also if you can confirm that the error still happens with a simple network setup that would be great too!
@vinkabuki @holmesworcester
Thank you so much! It seems it does relate to VPN. I do have this running:
So I turned it off, and the connection problem in Quiet is gone.
By the way, Tailscale is another interesting network solution. With open source control server implementation like Headscale, it can be useful to build a members-only network too.
It worked once and got the 1.4.0 update (The new icon design is great and consistent with the latest macOS style). However, after a restart, it hangs again. This time I made sure Tailscale was not running. The last lines in DEBUG=backend* logs look like this:
Now it's outputting this kind of error repeatedly:
backend:Tor Jul 10 13:32:11.000 [warn] Problem bootstrapping. Stuck at 5% (conn): Connecting to a relay. (Network is down; NOROUTE; count 31; recommendation warn; host 5197FC89F7A1623CA90D6E0254ABCCBC6D85A86E at 174.128.250.164:80)
backend:Tor Jul 10 13:32:11.000 [warn] 30 connections have failed:
backend:Tor Jul 10 13:32:11.000 [warn] 30 connections died in state connect()ing with SSL state (No SSL object)
@vinkabuki are these errors about Tor connecting, or frontend connecting to backend?
In order to rule out the potential interferences of my current OS settings, I tested with a clean install of macOS 12 virtual machine.
I downloaded Quiet-1.4.0.dmg, put the app into /Applications, and start it in Terminal with DEBUG=backend*
.
My first attempt reached 45% and stuck. Here are the last logs:
The second attempt is stuck at 5%:
It seems I am unable to connect to any relay. But it did work last month with the same network environment.
@holmesworcester, @livid interesting, It's definitely a tor problem, not related to version upgrade. I never had this problem, but the top answer for it is either VPN or ISP issues. It worked once however, one more thing you could try is running app again against fresh data dir, after all these problems tor data dir may be corrupted, here's the command (make sure you run this on the setup that worked before, witth VPN turned off)
DATA_DIR can be whatever except 'Quiet' as it points to the default one.
DATA_DIR=1testquiet DEBUG=backend* [path to quiet]
@livid reports this issue running the production Quiet release on macOS. After starting, the app hangs on the following screen and shows the following error. Logs pasted below.
Error returned: <dictionary: 0x7ff85b441670> { count = 1, transaction: 0, voucher = 0x0, contents = "XPCErrorDescription" => <string: 0x7ff85b441808> { length = 18, contents = "Connection invalid" }