To download Tor via browser and CLI - I get fatal error

Commands at Command line

Error message

Welcome to the Fedoraproject @macams

sudo dnf install torbrowser-launcher

After access torbrowser-launcher and install the newest torbrowser from the app.

2 Likes

Hi LS

Thanks for that.
CLI was successful.

When I typed
$ tor
I got:
Jun 26 21:06:22.698 [notice] Tor 0.4.7.13 running on Linux with Libevent 2.1.12-stable, OpenSSL 3.0.
9, Zlib 1.2.13, Liblzma 5.4.1, Libzstd 1.5.5 and Glibc 2.37 as libc.
Jun 26 21:06:22.698 [notice] Tor can’t help you if you use it wrong! Learn how to be safe at https:/
/support.torproject.org/faq/staying-anonymous/
Jun 26 21:06:22.698 [warn] Tor was compiled with zstd 1.5.4, but is running with zstd 1.5.5. For saf
ety, we’ll avoid using advanced zstd functionality.
Jun 26 21:06:22.698 [notice] Read configuration file “/etc/tor/torrc”.
Jun 26 21:06:22.700 [notice] Opening Socks listener on 127.0.0.1:9050
Jun 26 21:06:22.701 [notice] Opened Socks listener connection (ready) on 127.0.0.1:9050
Jun 26 21:06:22.701 [warn] Directory /run/tor cannot be read: Permission denied
Jun 26 21:06:22.701 [warn] Before Tor can create a control socket in “/run/tor/control”, the directo
ry “/run/tor” needs to exist, and to be accessible only by the user and group account that is runnin
g Tor. (On some Unix systems, anybody who can list a socket can connect to it, so Tor is being care
ful.)

I also tried checking https://support.torproject.org/faq/staying-anonymous/
I got:
Secure Connection Failed

An error occurred during a connection to support.torproject.org. PR_END_OF_FILE_ERROR

Error code: PR_END_OF_FILE_ERROR

The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.
Please contact the web site owners to inform them of this problem.

You have to start the torbrowser-launcher with this you can install the newest browser.

Are you also using gnome?
Easiest way to start it is to do it with activities and search the torbrowser-launcher after installation you can use the tor browser icon to start the browser.

1 Like

Hi L.S.

I have launched: torbrowser-launcher

I got:
Invalid SSL certificate
http://aus1.torproject/torbrowser/update_3/release/linuxx86_64-gcc3/x/ALL
you may be using the wrong installation. Try Download again?

I clicked “yes”:
Error starting download
http://aus1.torproject/torbrowser/update_3/release/linuxx86_64-gcc3/x/ALL
Trying to Download over Tor are you sure TOr is configured correctly and running?

Are you sure Tor is configured correctly?

Just giving results of my attempt on the CLI

torbrowser-launcher
Tor Browser Launcher
By Micah Lee, licensed under MIT
version 0.3.6

Creating GnuPG homedir /home/mac/.local/share/torbrowser/gnupg_homedir
Downloading Tor Browser for the first time.
Downloading https://aus1.torproject.org/torbrowser/update_3/release/Linux_x86_64-gcc3/x/ALL
Invalid SSL certificate for:
https://aus1.torproject.org/torbrowser/update_3/release/Linux_x86_64-gcc3/x/ALL

You may be under attack.

Try the download again using Tor?
[mac@fedora ~] $> Tor Browser Launcher
By Micah Lee, licensed under MIT
version 0.3.6

Downloading Tor Browser for the first time.
Downloading over Tor
Downloading https://aus1.torproject.org/torbrowser/update_3/release/Linux_x86_64-gcc3/x/ALL
Error starting download:

https://aus1.torproject.org/torbrowser/update_3/release/Linux_x86_64-gcc3/x/ALL

Trying to download over Tor. Are you sure Tor is configured correctly and running?

Is the warning of “under attack”
relevent?

I’ve tested access to aus1.torproject.org over HTTPS with both curl and wget on Fedora 38 and I’m unable to reproduce the problem.

Perhaps you should use a VPN to bypass regional restrictions.

Hi Vladislav

I am based in London, so the installation should not have any local restrictions. Also
the download and access to my VPN provider also comes up with this error.

Is this possible a setting I have changed that is causing this.

I am getting errors while installing other software from the Software Center. It might be relevant to the current issue.

I get:
Aborted due to failure (While pulling runtime/org.freedesktop.Platform/x86_64/22.08 from remote flathub: Writing content object: Need more input)

Not sure what is happening

Do you want me to send fpaste?

Try this and post the output if the issue persists:

uname -a; rpm -V ca-certificates
sudo update-ca-trust; sudo update-crypto-policies --set DEFAULT
uname -a; rpm -V ca-certificates

=>
Linux fedora 6.3.8-200.fc38.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jun 15 02:15:40 UTC 2023 x86_64 GNU/Linux

sudo update-ca-trust; sudo update-crypto-policies --set DEFAULT
=>
Setting system policy to DEFAULT
Note: System-wide crypto policies are applied on application start-up.
It is recommended to restart the system for the change of policies
to fully take place.

After reboot nothing appears to have changed.
Same errors when download/installing

Hi Vladislav

I have been searching in the forum. Someone suggested to check /etc/resolv.conf

My resolv.conf is as follows:
nameserver 127.0.0.53
options edns0 trust-ad
search .

Does this look right? I changed nameserver to 8.8.8.8 I get a different error
$> torbrowser-launcher
Tor Browser Launcher
By Micah Lee, licensed under MIT
version 0.3.6

Downloading Tor Browser for the first time.
Downloading over Tor
Downloading https://aus1.torproject.org/torbrowser/update_3/release/Linux_x86_64-gcc3/x/ALL
Error starting download:

https://aus1.torproject.org/torbrowser/update_3/release/Linux_x86_64-gcc3/x/ALL

Trying to download over Tor. Are you sure Tor is configured correctly and running?

resolvectl is the command to check the DNS servers if you not changed it back to the resolv.conf

With resolvectl it shows you the dns for each link.

1 Like

yes I checked the URL in error message,

[quote=“aus1.torproject.org/torbrowser/update_3/release/Linux_x86_64-gcc3/x/ALL”[/quote]

I got: not found

My question is, does my resolv.conf look ok?
Name server looks like Netplan is being used.
Not sure how Netplan works in Fedora
But what I am also not sure is this entry:

 options edns0 trust-ad
search .

Never seen it in a resolv.conf in a Debian distro. Is this normal in a Fedora distro?

Yes, assuming the resolver service is working.

Sounds like the resolver is broken, try reinstalling it like this:
Connected to wifi but no Internet v2 - #4 by vgaetera

Followed instructions in vgaetera link that you gave

Results as follows:

$ sudo tee /etc/resolv.conf << EOF > /dev/null
nameserver 1.1.1.1
nameserver 8.8.8.8
EOF
- $ sudo dnf -y install systemd systemd-resolved

Dependencies resolved.
Nothing to do.
Complete!

 $ sudo dnf -y reinstall systemd systemd-resolved

Reinstalled:
systemd-253.5-1.fc38.x86_64 systemd-resolved-253.5-1.fc38.x86_64

Complete!

  • I enabled and restarted systemd-resolved.service
    Without errors.

  • Created a link file

  • Then started torbrowser-launcher
    Dependencies resolved.
    Nothing to do.
    Complete!

  • Removed and reinstalled torbrowser-launcher

$ sudo dnf install torbrowser-launcher

Complete!

-Started torbrowser-launcher
(Same error as before)
$> torbrowser-launcher
Tor Browser Launcher
By Micah Lee, licensed under MIT
version 0.3.6

Downloading Tor Browser for the first time.
Downloading over Tor
Downloading https://aus1.torproject.org/torbrowser/update_3/release/Linux_x86_64-gcc3/x/ALL
Error starting download:

Trying to download over Tor. Are you sure Tor is configured correctly and running?


BTW, I thought it’s worth mentioning, my internet connection is working, no problem with that. I can download from flat pack after applying update “https://bodhi.fedoraproject.org/updates/FEDORA-2023-464fae1680”.

Its just some programs like ProtonVPN, Tor that I have errors when installing.

Would be great if you give more info about you system.

I do not see which DE you are using? for example. Version etc.

I use F38 Gnome and had no issue to install the tor-browser as I proposed.