Socks problem since Ver. 12.x.x, Windows

Hi there,

There’s a problem on my Win10 machine, starting with Torbrowser version 12 and following.
As soon as I connect a program, no matter which one, per socks, Torbrowser gets stuck indefinitely until restart.
Restarting only Tor doesn’t work, there’s no network or adapter problem, no firewall or router problem.
Behavior doesn’t change if I terminate all progs and connections, Tor stays in the state: “Proxy refusing connections”.
Even the connection log stops working and looks like that:

2022-12-28 08:21:18.137 [NOTICE] New control connection opened from 127.0.0.1.
2022-12-28 08:21:18.138 [NOTICE] New control connection opened from 127.0.0.1.
2022-12-28 08:21:18.141 [NOTICE] DisableNetwork is set. Tor will not make or accept non-control network connections. Shutting down all existing connections.
2022-12-28 08:21:18.177 [NOTICE] Opening Socks listener on 127.0.0.1:9999
2022-12-28 08:21:18.178 [NOTICE] Opened Socks listener connection (ready) on 127.0.0.1:9999
2022-12-28 08:21:18.324 [NOTICE] Bootstrapped 5% (conn): Connecting to a relay
2022-12-28 08:21:18.430 [NOTICE] Bootstrapped 10% (conn_done): Connected to a relay
2022-12-28 08:21:18.527 [NOTICE] Bootstrapped 14% (handshake): Handshaking with a relay
2022-12-28 08:21:18.811 [NOTICE] Bootstrapped 15% (handshake_done): Handshake with a relay done
2022-12-28 08:21:18.812 [NOTICE] Bootstrapped 75% (enough_dirinfo): Loaded enough directory info to build circuits
2022-12-28 08:21:18.812 [NOTICE] Bootstrapped 90% (ap_handshake_done): Handshake finished with a relay to build circuits
2022-12-28 08:21:18.813 [NOTICE] Bootstrapped 95% (circuit_create): Establishing a Tor circuit
2022-12-28 08:21:19.613 [NOTICE] Bootstrapped 100% (done): Done
2022-12-28 08:21:19.714 [NOTICE] New control connection opened from 127.0.0.1.
2022-12-28 08:22:06.678 [NOTICE] Have tried resolving or connecting to address ‘[scrubbed]’ at 3 different places. Giving up.
2022-12-28 08:22:08.013 [NOTICE] Have tried resolving or connecting to address ‘[scrubbed]’ at 3 different places. Giving up.
…(repeats)

2022-12-28 08:22:39.943 [NOTICE] Have tried resolving or connecting to address ‘[scrubbed]’ at 3 different places. Giving up.
2022-12-28 08:22:40.750 [NOTICE] We tried for 15 seconds to connect to ‘[scrubbed]’ using exit $B998E131B43BC4AC8C4C3C6C858FFF68698C5357~NeelTorExit1 [YBPhg3+8hgMjYzmT3FX6MFYpflDLd0LMnqvBUV8Tco4] at 144.172.118.116. Retrying on a new circuit.
2022-12-28 08:22:40.750 [NOTICE] We tried for 15 seconds to connect to ‘[scrubbed]’ using exit $B998E131B43BC4AC8C4C3C6C858FFF68698C5357~NeelTorExit1 [YBPhg3+8hgMjYzmT3FX6MFYpflDLd0LMnqvBUV8Tco4] at 144.172.118.116. Retrying on a new circuit.
2022-12-28 08:22:40.750 [NOTICE] We tried for 15 seconds to connect to ‘[scrubbed]’ using exit $B998E131B43BC4AC8C4C3C6C858FFF68698C5357~NeelTorExit1 [YBPhg3+8hgMjYzmT3FX6MFYpflDLd0LMnqvBUV8Tco4] at 144.172.118.116. Retrying on a new circuit.
2022-12-28 08:22:40.751 [NOTICE] We tried for 15 seconds to connect to ‘[scrubbed]’ using exit $B998E131B43BC4AC8C4C3C6C858FFF68698C5357~NeelTorExit1 [YBPhg3+8hgMjYzmT3FX6MFYpflDLd0LMnqvBUV8Tco4] at 144.172.118.116. Retrying on a new circuit.
2022-12-28 08:22:43.139 [NOTICE] Have tried resolving or connecting to address ‘[scrubbed]’ at 3 different places. Giving up.
2022-12-28 08:22:44.570 [NOTICE] Have tried resolving or connecting to address ‘[scrubbed]’ at 3 different places. Giving up.
2022-12-28 08:22:45.036 [NOTICE] Have tried resolving or connecting to address ‘[scrubbed]’ at 3 different places. Giving up.
2022-12-28 08:22:45.148 [NOTICE] Have tried resolving or connecting to address ‘[scrubbed]’ at 3 different places. Giving up.
2022-12-28 08:22:46.465 [NOTICE] Have tried resolving or connecting to address ‘[scrubbed]’ at 3 different places. Giving up.
…(repeats)

2022-12-28 08:23:29.249 [NOTICE] New control connection opened from 127.0.0.1.
2022-12-28 08:23:29.969 [NOTICE] We tried for 15 seconds to connect to ‘[scrubbed]’ using exit $8BDBE498180C41249D3230FC5092CB3EB5A62482~Minotaur [3dyy6cVTH+Dj027952x6x1HjKNJwDLy2IUjRQrQ/O9M] at 72.167.47.69. Retrying on a new circuit.
2022-12-28 08:23:29.969 [NOTICE] We tried for 15 seconds to connect to ‘[scrubbed]’ using exit $8BDBE498180C41249D3230FC5092CB3EB5A62482~Minotaur [3dyy6cVTH+Dj027952x6x1HjKNJwDLy2IUjRQrQ/O9M] at 72.167.47.69. Retrying on a new circuit.

At this point the log stops and nothing happens for hours. Only thing I notice are messages in the Windows waiting chain for a few torbrowser instances: “waiting for network-E/A”
As soon as I go back to Version 11.x.x, everything works fine again.

Any ideas? Thanx and Greetings!

I have a similar problem in that Tor 12.x.x gradually loses connectivity with the same messages as above and ends up getting stuck indefinitely until restart. After restart it just repeats itself within minutes. And often a shutdown of Tor takes minutes because it uses more and Windows (10) resources (until suddenly it stops) even after i´ve closed Tor and network connection.
Tor 11.5.8 has none of these problems.

Interesting.

5 questions if permitted:

  1. Did you change anything in your config, pref or torrc, Tor or Firefox?
  2. Did you try a new install or only update?
  3. Do you use anything in connection with Torbrowser or the prog just as is?
  4. Did you modify anything regarding IPv6 in your system in the last few weeks, like router firmware, OS?
  5. Any unusual software or firewalls or host-based intrusion system?

I’m at a total loss with this thing for days…
Thanks

No, i changed nothing. I simply updated Tor 12.x.x on top of 11.5.8 thus keeping my profile. I´m using Tor in a portable version and i´ve done it this way for years and it has never failed - until now. I can easily go back since i have 11.5.8 as a backup and it continues to be without problems. I have tried a new install of 12.x.x - still have the same issues.
I wonder if anybody else are having these problems.

Keep an eye on this gitlab ticket, because I think it might be your issue:

Looks plausible.
I´m not skilled enough to do a deep analysis, but definitely worth following.

This makes sense. Thanks.
I don’t understand exactly what’s going on, but how can this happen after just a few hours with only Browser/E-Mail and like. Ok, on Android/Orbot I have most apps, even system apps running with Tor, but not on my Win machine.

Whatever, this seems to be the problem, at least for my specific problem. Greetings and Thank you so far.

Windows:
Size of NamedPipe inited by subprocess_shared_win.js is 4096 bytes

Linux:
Since Linux 2.6.35, the default pipe capacity is 16 pages (65536 bytes in a system with a page size of 4096 bytes)

To comparision:
Size of terminal screen (80x25) is 2000 bytes