Comments (8)
I can not reproduce this issue.
Does it happen if you download and launch the upstream Tor Browser from https://www.torproject.org/download/ as well?
Have you tried resetting your profile?
from torbrowser-overlay.
I can reproduce this issue. Additionally, in my case, the Tor system service fails to connect to some (but not all) clearnet sites. I see an unreasonable number of fatal resolve failed
log errors resembling:
Nov 21 03:16:47.000 [notice] Closed 1 streams for service [scrubbed].onion for reason resolve failed. Fetch status: No more HSDir available to query.
This renders torbrowser
effectively unusable for me. Of course, I'm also hit by #55. Since installing Wayland just for TorBrowser isn't happening, I've currently elected to avoid using TorBrowser on Gentoo entirely until the radioactive dust settles here.
I understand none of this is your fault, @MeisterP. This is all on upstream for failing to properly test. Thanks for your many years of faithful volunteerism! We'll get this right – eventually. </sigh>
from torbrowser-overlay.
What is your TOR_SOCKS_IPC_PATH set to?
When i do have my env set with this: TOR_SOCKS_IPC_PATH=/run/tor/socks
I too get over 80 Tabs, and the error that something went wrong.
But it magically will work if i unset the TOR_SOCKS_IPC_PATH env variable.
torrc is also set like the example torrc is indicating.
net-vpn/tor is build with those useflags: caps lzma man seccomp selinux server tor-hardening verify-sig zstd
I Probably have the control password set wrong, torrc is hashed and env is not hashed or both hashed? its not fully clear.
Also it seems i don't have a /run/tor/control
from torbrowser-overlay.
To summarize @midnightpizza's helpful response: tor
as a system service is indeed the 💩 show we always knew it to be. Is it any wonder they push Tor Browser so hard? It is not.
That said...
But it magically will work if i unset the
TOR_SOCKS_IPC_PATH
env variable.
This is fascinating. In my case, I'm fairly sure I tried that – but not certain. My /etc/env.d/99torbrowser
contains this helpful comment from my past to future self:
#FIXME: *UGH.* None of the following work. We've tried all possible
#permutations. Disabling this causes "torbrowser" to superficially support a
#subset of some clearnet sites -- but hardly all clearnet sites. Frustration!
#We're convinced this simply does *NOT* work to any reasonable degree.
#FIXME: Disable all of the following if re-enabling "torbrowser-launcher". See:
# https://github.com/MeisterP/torbrowser-overlay
#TOR_SOCKS_HOST=127.0.0.1
#TOR_SOCKS_PORT=9150
#TOR_SOCKS_IPC_PATH=/run/tor/socks
#
#TOR_CONTROL_HOST=127.0.0.1
#TOR_CONTROL_PORT=9151
#TOR_CONTROL_PASSWD=[cleansed]
#TOR_CONTROL_COOKIE_AUTH_FILE=/run/tor/control.authcookie
#TOR_CONTROL_IPC_PATH=/run/tor/control
Unsurprisingly, I eventually decided to eat crow and just install Wayland for Tor Browser. I'm convinced that most of the issues surrounding tor
are due to inadequate error or warning reporting in their log output. Sadly, I'm unwilling to ever try tor
again. That was undeniably the worst experience with a system service I've ever had.
I still shudder from the painful memories.
from torbrowser-overlay.
Well, there are basically two ways to configure your locale tor instance. You either use localhost (the local network) or you use unix sockets. With localhost, permissions are handled by a password. With unix sockets, the file permissions of the sockets are used (the user running torbrowser needs to access the sockets)
localhost
env.d/99torbrowser
TOR_SOCKS_HOST=127.0.0.1
TOR_SOCKS_PORT=9150
TOR_CONTROL_HOST=127.0.0.1
TOR_CONTROL_PORT=9151
TOR_CONTROL_PASSWD='"my_password"'
/etc/tor/torrc
SocksPort 127.0.0.1:9150
ControlPort 127.0.0.1:9151
# tor --hash-password my_password
HashedControlPassword 16:1560E15656CEDF4A60CCEA0225BF746A9435B2B89050D3B66A3ADCE480
sockets
env.d/99torbrowser
TOR_SOCKS_IPC_PATH=/run/tor/socks
TOR_CONTROL_IPC_PATH=/run/tor/control
/etc/tor/torrc
SocksPort unix:/run/tor/socks GroupWritable ExtendedErrors
ControlPort unix:/run/tor/control GroupWritable
Your user should have access to /run/tor/socks
and /run/tor/control
. With GroupWritable
this should work if your user is in the same group as tor is running with.
If you use systemd, the RuntimeDirectoryMode
option in tor.service
needs to be set accordingly as well.
from torbrowser-overlay.
MeisterP,
/etc/tor/torrc
is pulled with net-vpn/tor
but that package does not appear in www-client/torbrowser
's dependency. Last time I had www-client/torbrowser
on my system, I was having the same issue as OP, and each tab reported that tor couldn't start on my system. I think the package may have a missing dependency.
from torbrowser-overlay.
www-client/torbrowser
needs access to a tor daemon. (TOR_SOCKS_HOST
and TOR_SOCKS_PORT
). Whether tor is running on the local machine or on a server on your local network depends on your setup.
There are use cases without tor on the same machine as torbrowser. That's why it is not depending on net-vpn/tor
from torbrowser-overlay.
Is this still an issue?
from torbrowser-overlay.
Related Issues (20)
- onionshare 0.6 ebuild HOT 2
- Why not to add to the main Portage tree? HOT 2
- Why not to add to the main Portage tree?
- www-client/torbrowser-78.10.0_p10016 keeps crashing on many websites. HOT 12
- Tor Browser fails to start: "libxul.so: undefined symbol: gdk_wayland_display_get_wl_compositor" HOT 10
- "www-client/torbrowser" and "www-client/torbrowser-launcher" file-collide HOT 2
- net-libs/stem-1.8.1 fails to build. HOT 2
- Configure on arm64 errors: --disable-eme is not available in this configuration HOT 3
- [www-client/torbrowser-91.8.0_p11010] Fails to emerge HOT 5
- =www-client/torbrowser-91.10.0_p11014::torbrowser fails to build HOT 4
- Torbrowser-launcher and qt HOT 4
- torbrowser-launcher does not init and install the browser HOT 9
- /usr/bin/torbrowser not POSIX compliant HOT 1
- Fonts are messed up HOT 19
- CJK letters look broken on www-client/torbrowser-102.14.0_p12502-r1 HOT 4
- error: declaration of 'mozilla::profiler::ThreadRegistration::OnThreadRef::RWOnT hreadWithLock mozilla::profiler::ThreadRegistration::OnThreadRef::LockedRWOnThread()' changes meaning of 'LockedRWOnThread' HOT 13
- Cannot install the launcher because of slot conflict HOT 1
- www-client/torbrowser-115.4.0_p13001: icu 74.1 incompatibility HOT 1
- www-client/torbrowser ignores cursor theme. HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from torbrowser-overlay.