[HOME] [DOWNLOAD] [DOCS] [NEWS] [SUPPORT] [TIPS] [ISSUES] [CONTRIBUTE] [DONATE]

onionshare not connecting to TOR controller

Hi all, I am trying to get Onionshare running on Qubes Whonix for a while now. I Install it as it is explained in the docs. When I try to set the settings as written it says “Can’t connect to the Tor controller using socket file /var/run/tor/control.”
Does anyone know what I might be doing wrong here.

Best regards

Does the control port setting work for you?

for reference:

No it does not work for me. I did everything according to the docs. When I go to settings an set it to use socket file it says “Can’t connect to the Tor controller using socket file /var/run/tor/control.”

Then this seems to be an upstream bug.

v2.2 installed from Debian bullseye stable partially works.

This includes:

  • a network test with the recommended settings
  • receive mode also works

However, the UI hangs when trying to select files to share or when trying to publish a website.

That error probably relates to this? →

v2.4 runs the first time, but after that you get constant python errors upon launch i.e. useless.

1 Like

Installed onionshare from Debian package sources.

Create some file.

touch a

Start onoinshare.

onionshare a

Works for me on the command line (GUI not tested yet). Shows the following error message but works for me nonetheless.

ERROR: ld.so: object ‘/usr/lib/libindp.so’ from LD_PRELOAD cannot be preloaded (cannot dynamically load position-independent executable): ignored.

Upstream bug report:

For reference:

Full output.

onionshare a

ERROR: ld.so: object ‘/usr/lib/libindp.so’ from LD_PRELOAD cannot be preloaded (cannot dynamically load position-independent executable): ignored.
ERROR: ld.so: object ‘/usr/lib/libindp.so’ from LD_PRELOAD cannot be preloaded (cannot dynamically load position-independent executable): ignored.
OnionShare 2.2 | https://onionshare.org/
Connecting to the Tor network: 100% - Done
Setting up onion service on port 17605.
Compressing files.

Give this address to the recipient:
http://onionshare:redacted-redacted.onion

Press Ctrl+C to stop the server
10.137.0.48 - - [15/Oct/2021 18:47:59] “GET / HTTP/1.1” 401 -

10.137.0.48 - - [15/Oct/2021 19:00:25] “GET / HTTP/1.1” 200 -
10.137.0.48 - - [15/Oct/2021 19:00:28] “GET /static_redacted/js/send.js HTTP/1.1” 200 -
10.137.0.48 - - [15/Oct/2021 19:00:29] “GET /static_redacted/css/style.css HTTP/1.1” 200 -
10.137.0.48 - - [15/Oct/2021 19:00:31] “GET /static_redacted/img/logo.png HTTP/1.1” 200 -
10.137.0.48 - - [15/Oct/2021 19:00:31] “GET /static_redacted/img/web_file.png HTTP/1.1” 200 -
10.137.0.48 - - [15/Oct/2021 19:00:33] “GET /static_redacted/img/favicon.ico HTTP/1.1” 200 -
10.137.0.48 - - [15/Oct/2021 19:02:50] “GET / HTTP/1.1” 200 -
10.137.0.48 - - [15/Oct/2021 19:02:54] “GET /static_redacted/js/send.js HTTP/1.1” 304 -
10.137.0.48 - - [15/Oct/2021 19:02:54] “GET /static_redacted/css/style.css HTTP/1.1” 304 -
10.137.0.48 - - [15/Oct/2021 19:02:56] “GET /static_redacted/img/logo.png HTTP/1.1” 304 -
10.137.0.48 - - [15/Oct/2021 19:02:56] “GET /static_redacted/img/web_file.png HTTP/1.1” 304 -
10.137.0.48 - - [15/Oct/2021 19:03:18] “GET / HTTP/1.1” 401 -
10.137.0.48 - - [15/Oct/2021 19:03:24] “GET / HTTP/1.1” 200 -
10.137.0.48 - - [15/Oct/2021 19:03:27] “GET /static_redacted/css/style.css HTTP/1.1” 200 -
10.137.0.48 - - [15/Oct/2021 19:03:27] “GET /static_redacted/js/send.js HTTP/1.1” 200 -
10.137.0.48 - - [15/Oct/2021 19:03:29] “GET /static_redacted/img/logo.png HTTP/1.1” 200 -
10.137.0.48 - - [15/Oct/2021 19:03:29] “GET /static_redacted/img/web_file.png HTTP/1.1” 200 -
10.137.0.48 - - [15/Oct/2021 19:03:31] “GET /static_redacted/img/favicon.ico HTTP/1.1” 200 -

OnionShare - Whonix updated. Works as is.

If OnionShare was installed from Debian package sources as documented on this wiki page, then no configuration changes specific to Whonix ™ in the OnionShare application are required. [11]

  • Installation using flatpak is discouraged because it leads to Tor over Tor.
  • Installation from Debian package sources as documented below is recommended.

[11] Under “How should OnionShare connect to Tor?” no changes are required. Even setting “Use the Tor version built into OnionShare” is OK in the very case of OnionShare and does not lead to Tor over Tor thanks to special support by anon-ws-disable-stacked-tor.https://github.com/Whonix/anon-ws-disable-stacked-tor/blob/master/usr/bin/tor.anondist#L70 [archive]

Actually all “How should OnionShare connect to Tor?" settings are functional when installed from Debian package sources.

[Imprint] [Privacy Policy] [Cookie Policy] [Terms of Use] [E-Sign Consent] [DMCA] [Contributors] [Investors] [Priority Support] [Professional Support]