Tor browser ошибка загрузки 404

I’m trying to install Tor browser from this article over here.
I’m using methon no. 2: Install Tor browser launcher using APT (Alternate Method).

I’m using Ubuntu 22.04 LTS, so I’ve made sure the Universe repository is enabled.
sudo add-apt-repository universe && sudo apt update

After that, I’ve installed the Tor browser launcher like this:
sudo apt install torbrowser-launcher
It was all fine. No hurdles on the way.

I understand that this is not the browser itself. Tor browser launcher is just the installer. So, I’ve run the launcher using the following command:
torbrowser-launcher
and while this command was executed, an Error 404 was displayed. The second file was not there to be downloaded.

my_login@huawei-matebook-d16:~$ torbrowser-launcher
Tor Browser Launcher
By Micah Lee, licensed under MIT
version 0.3.3
https://github.com/micahflee/torbrowser-launcher
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
Downloading Tor Browser for the first time.
Downloading https://aus1.torproject.org/torbrowser/update_3/release/Linux_x86_64-gcc3/x/en-US
Latest version: 12.0.2
Downloading https://dist.torproject.org/torbrowser/12.0.2/tor-browser-linux64-12.0.2_en-US.tar.xz.asc
Download Error: 404

This file simply doesn’t exist under the specified url address.
https://dist.torproject.org/torbrowser/12.0.2/tor-browser-linux64-12.0.2_en-US.tar.xz.asc

I went to this site: https://dist.torproject.org/torbrowser/12.0.2/ and there is no such file there: https://dist.torproject.org/torbrowser/12.0.2/tor-browser-linux64-12.0.2_en-US.tar.xz.asc.
There is only this file:https://dist.torproject.org/torbrowser/12.0.2/tor-browser-linux64-12.0.2_ALL.tar.xz.asc.

What should I do now?
Is the installer broken?
I’m reluctant to use flatpack. I already have this snaps I have to deal with and apt installer. I don’t want to install software using third way of doing this. I want to use a working apt installer method.

I it possible to edit this url path somewhere, to point Tor launcher to existing tor-browser-linux64-12.0.2_ALL.tar.xz.asc file?

Ubuntu 19

When using the Tor Browser on Ubuntu/KDE, you may occasionally encounter the “Download Error: 404”. This error typically means that the requested URL was not found on the server. If you’re experiencing this issue, don’t worry. This article will guide you through several methods to resolve this issue.

  1. Solution 1: Reinstall Tor Browser
  2. Solution 2: Modify Tor Browser Launcher Configuration
  3. Solution 3: Download and Install Latest Version of Tor Browser
  4. Additional Steps

Solution 1: Reinstall Tor Browser

The first solution involves removing the existing Tor Browser installation and reinstalling it. Here’s how:

  1. Open a terminal window. You can do this by pressing Ctrl+Alt+T on your keyboard.
  2. Type the following command to remove the existing Tor Browser installation:
sudo apt remove tor torbrowser-launcher -y

In this command, sudo allows you to run commands with administrative privileges, apt is the package handling utility in Ubuntu, remove is the command to remove an installed package, and -y is used to automatically answer yes to all prompts.

  1. Next, reinstall Tor Browser by running the following command:
sudo apt install tor torbrowser-launcher -y

Here, install is the command to install a new package.

  1. After the installation is complete, launch Tor Browser from the application menu and check if the error persists.

Solution 2: Modify Tor Browser Launcher Configuration

The second solution involves modifying the language setting in the Tor Browser launcher configuration file. Here’s how:

  1. Open a terminal window.
  2. Run the following command:
sudo sed -i 's|self.language =.*|self.language = "ALL"|g' /usr/lib/python3/dist-packages/torbrowser_launcher/common.py

In this command, sed is a stream editor for filtering and transforming text, -i is used to edit files in place, s is the substitute command, and g is used to replace all occurrences of the search string.

  1. Launch Tor Browser again and check if the error is resolved.

Solution 3: Download and Install Latest Version of Tor Browser

The third solution is to download the latest version of Tor Browser from the official Tor Project website and install it manually. Here’s how:

  1. Download the latest version of Tor Browser from the official Tor Project website.
  2. Extract the downloaded archive to a location of your choice.
  3. Open a terminal and navigate to the extracted Tor Browser directory.
  4. Run the following command to register Tor Browser as an application:
./start-tor-browser.desktop --register-app

Here, ./ is used to execute a file in the current directory, and --register-app is used to register Tor Browser as an application.

  1. Launch Tor Browser from the application menu and see if the error is fixed.

Additional Steps

If none of the above solutions work, you can try the following additional steps:

  1. Remove the following directories by running the following commands:
rm -r ~/.cache/torbrowser
rm -r ~/.local/share/torbrowser
rm -r ~/.config/torbrowser

In these commands, rm is the remove command, -r is used to remove directories and their contents recursively.

  1. Launch Tor Browser again and check if the error persists.

Note: Be aware that removing the directories mentioned above may result in the loss of your settings and bookmarks. Make sure to back up any important data before proceeding.

It’s worth mentioning that there is an ongoing bug report related to this issue on Launchpad. You can monitor the progress of the bug report for any updates or fixes.

By following the steps outlined in this article, you should be able to resolve the “Download Error: 404” issue with Tor Browser on Ubuntu/KDE. If you’re still experiencing issues, don’t hesitate to seek further assistance from the Tor community or Ubuntu forums.

The «Download Error: 404» typically means that the requested URL was not found on the server. It indicates that the file or page you are trying to download or access is not available.

The «Download Error: 404» can occur on Tor Browser due to various reasons, such as an outdated or corrupted installation, network connectivity issues, or the requested file or page being removed or moved on the server.

There are several solutions you can try to fix the «Download Error: 404» on Tor Browser. You can reinstall Tor Browser, modify the Tor Browser launcher configuration, download and install the latest version of Tor Browser manually, or remove certain directories associated with Tor Browser. Please refer to the article above for detailed steps on each solution.

Reinstalling Tor Browser using the provided solution will not delete your bookmarks and settings. However, if you choose to remove certain directories associated with Tor Browser as an additional step, it may result in the loss of your settings and bookmarks. It is advisable to back up any important data before proceeding with those steps.

You can find the latest version of Tor Browser on the official Tor Project website. Visit their website at https://www.torproject.org/ and navigate to the «Download» section to access the latest version available for your operating system.

If you are still experiencing issues with the «Download Error: 404» on Tor Browser, you can seek further assistance from the Tor community or Ubuntu forums. These communities have knowledgeable members who may be able to provide additional guidance or solutions to resolve your specific issue.

Я использую torbrowser-launcher (версия пакета 0.2.0-2 из репозитория Wily/universe amd64 15.10), которая запускает Tor Browser 5.0.4.

С сегодняшнего дня, после обновления до 5.5a4-закаленной стало доступно, torbrowser-launcher больше не запускает браузер, но пытается обновить себя. Однако это не удается из-за ошибки загрузки: 404 Not Found, как вы можете видеть на двух скриншотах ниже. Если я нажимаю » Да", когда он просит переключиться на зеркало по умолчанию, это ничего не меняет. Все та же ошибка. И при следующей попытке он все равно будет жаловаться на зеркало не по умолчанию.

Когда я бегу torbrowser-launcher в терминале я получаю это:

Tor Browser Launcher
By Micah Lee, licensed under MIT
version 0.2.0
https://github.com/micahflee/torbrowser-launcher
Updating over Tor
Checked for update within 24 hours, skipping
TBB is out of date, attempting to upgrade to 5.5a4-hardened
Downloading https://dist.torproject.org/torbrowser/5.5a4-hardened/sha256sums.txt
Traceback (most recent call last):
  File "/usr/bin/torbrowser-launcher", line 30, in <module>
    torbrowser_launcher.main()
  File "/usr/lib/python2.7/dist-packages/torbrowser_launcher/__init__.py", line 69, in main
    app = Launcher(common, url_list)
  File "/usr/lib/python2.7/dist-packages/torbrowser_launcher/launcher.py", line 130, in __init__
    self.build_ui()
  File "/usr/lib/python2.7/dist-packages/torbrowser_launcher/launcher.py", line 284, in build_ui
    self.start(None)
  File "/usr/lib/python2.7/dist-packages/torbrowser_launcher/launcher.py", line 293, in start
    self.run_task()
  File "/usr/lib/python2.7/dist-packages/torbrowser_launcher/launcher.py", line 318, in run_task
    self.download('signature', self.common.paths['sha256_url'], self.common.paths['sha256_file'])
  File "/usr/lib/python2.7/dist-packages/torbrowser_launcher/launcher.py", line 454, in download
    agent = SOCKS5Agent(reactor, VerifyTorProjectCert(self.common.paths['torproject_pem']), proxyEndpoint=torEndpoint)
  File "/usr/lib/python2.7/dist-packages/txsocksx/http.py", line 58, in __init__
    super(_SOCKSAgent, self).__init__(*a, **kw)
  File "/usr/lib/python2.7/dist-packages/txsocksx/http.py", line 37, in __init__
    'contextFactory must implement IPolicyForHTTPS')
NotImplementedError: contextFactory must implement IPolicyForHTTPS

Если я открою настройки браузера Tor из терминала torbrowser-launcher --settings, выберите другое зеркало и для «поиска обновлений при следующем запуске», затем нажмите » Launch TorBrowser", я получаю следующее диалоговое окно и вывод терминала (первый ответ » Пуск", второй ответ » Выход"):

$ torbrowser-launcher --settings
Tor Browser Launcher
By Micah Lee, licensed under MIT
version 0.2.0
https://github.com/micahflee/torbrowser-launcher
$ Tor Browser Launcher
By Micah Lee, licensed under MIT
version 0.2.0
https://github.com/micahflee/torbrowser-launcher
Updating over Tor
Checking for update
Downloading https://www.torproject.org/projects/torbrowser/RecommendedTBBVersions
Checking to see if update is needed
TBB is out of date, attempting to upgrade to 5.5a4-hardened
Downloading https://www.oignon.net/dist/torbrowser/5.5a4-hardened/sha256sums.txt
Download error: [<twisted.python.failure.Failure <class 'service_identity.exceptions.VerificationError'>>] <class 'twisted.web._newclient.ResponseNeverReceived'>
Downloading https://www.oignon.net/dist/torbrowser/5.5a4-hardened/sha256sums.txt.asc
Download error: [<twisted.python.failure.Failure <class 'service_identity.exceptions.VerificationError'>>] <class 'twisted.web._newclient.ResponseNeverReceived'>
Downloading https://www.oignon.net/dist/torbrowser/5.5a4-hardened/tor-browser-linux64-5.5a4-hardened_en-US.tar.xz
Download error: [<twisted.python.failure.Failure <class 'service_identity.exceptions.VerificationError'>>] <class 'twisted.web._newclient.ResponseNeverReceived'>
Verifying signature
Starting download over again
Downloading https://www.oignon.net/dist/torbrowser/5.5a4-hardened/tor-browser-linux64-5.5a4-hardened_en-US.tar.xz
Download error: [<twisted.python.failure.Failure <class 'service_identity.exceptions.VerificationError'>>] <class 'twisted.web._newclient.ResponseNeverReceived'>

Это просто временная проблема на стороне сервера или я должен / должен ли я что-то сделать, чтобы это исправить? Я хочу, чтобы мой Tor Browser вернулся и работал.

I’m on Ubuntu 22.04, latest update. Installed the torbrowser-launcher from the official repo.

Doing this changes should make the torbrowser-launcher works as expected. But before you do, you must remove this directories ~/.cache/torbrowser, ~/.local/share/torbrowser, ~/.config/torbrowser as they save information for the launcher and the fix won’t work using those.

Be aware that if you have a working Tor Browser installation, you will lose your settings and working installations. Using this fix for the torbrowser-launcher doesn’t take into account existing installations, but gives an idea on why the launcher fails to download the current version.

First change this line on /usr/lib/python3/dist-packages/torbrowser_launcher/common.py on line 171, you will need root access to make changes to this file:

if hasattr(self, 'settings') and self.settings['force_en-US']:
    language = 'en-US'
else:
    #language = self.language
    language = "ALL"

Commented out the variable language and set it again with the value "ALL", that way the launcher will look for the correct signatures and tarballs files in the mirror.

Also made a change in line 277 of the same file, this time when setting up the variables to the install location, the launcher will refer to the language setting and set it as part of the directory installation, but the actual package downloaded by the launcher will refer to the directory as tor-browser and not by tor-browser_ALL as the launcher would expect it to do:

"tbb": {
    "changelog": tbb_local \
    + "/tbb/" \
    + self.architecture \
    + "/tor-browser" \
    + "/Browser/TorBrowser/Docs/ChangeLog.txt",
    #+ "/tor-browser_"
    #+ language
    "dir": tbb_local + "/tbb/" + self.architecture,
    "dir_tbb": tbb_local \
    + "/tbb/" \
    + self.architecture \
    + "/tor-browser",
    #+ "/tor-browser_"
    #+ language,
    "start": tbb_local \
    + "/tbb/" \
    + self.architecture \
    + "/tor-browser" \
    + "/start-tor-browser.desktop",
    #+ "/tor-browser_"
    #+ language
},

Here there are three entries that must be changed. All of them refers to /tor-browser_ + language as part of the installation directory. It must be changed to /tor-browser and attention on the second entry as it must end with ,.

This fix is terrible, it doesn’t remove the language setting at all, just fixes it in order to make it work with what is available in the mirror. I guess we need to wait for the devs to make this fix on the repo package, by that time those changes will be rewritten and hopefully still works.

Hope this helps.

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.

blufeld

Level 1
Level 1
Posts: 44
Joined: Sun Jan 08, 2023 11:40 am

[Solved] Launching Tor Browser gives Download Error 404

LM 21.1 xfce Vera: Launching newly installed TorBrowswer gives Download Error 404. TB can’t download updates upon initialization. Seems to be a bug. Maybe download sources are misconfigured.

Last edited by LockBot on Sun Jul 09, 2023 10:00 pm, edited 2 times in total.

Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.

User avatar

MikeNovember

Level 7
Level 7
Posts: 1595
Joined: Fri Feb 28, 2020 7:37 am
Location: Nice, Paris, France

Re: Launching Tor Browser gives Download Error 404

Post

by MikeNovember »

Hi,

Workaround, use «AnonFirefox» viewtopic.php?f=42&t=358889

Regards,

MN

_____________________________
Linux Mint 20.3 Mate host with 5.4 kernel and Ubuntu Pro enabled, VMware Workstation Player with Windows 10 Pro guest, ASUS G74SX (i7-2670QM, 16 GB RAM, GTX560M with 3GB RAM, 1TB SSD)

blufeld

Level 1
Level 1
Posts: 44
Joined: Sun Jan 08, 2023 11:40 am

Re: Launching Tor Browser gives Download Error 404

Post

by blufeld »

Code: Select all

grok@grok-pc:~$ sudo apt-get install torbrowser-launcher
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
torbrowser-launcher is already the newest version (0.3.3-6ubuntu1.22.04.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
grok@grok-pc:~$ torbrowser-launcher
Tor Browser Launcher
By Micah Lee, licensed under MIT
version 0.3.3
https://github.com/micahflee/torbrowser-launcher
Downloading Tor Browser for the first time.
Downloading https://aus1.torproject.org/torbrowser/update_3/release/Linux_x86_64-gcc3/x/en-US
libGL error: MESA-LOADER: failed to open i915: /usr/lib/dri/i915_dri.so: cannot open shared object file: No such 
file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libGL error: failed to load driver: i915
Latest version: 12.0.2
Downloading https://dist.torproject.org/torbrowser/12.0.2/tor-browser-linux64-12.0.2_en-US.tar.xz.asc
Download Error: 404

Last edited by karlchen on Tue Jan 24, 2023 7:02 am, edited 1 time in total.

Reason: replaced [c] [/c] tags (online for single line output or command) by [code] [/code] tags (1 line to n lines of output or many commands)

Gmen2oo3

Level 1
Level 1
Posts: 16
Joined: Mon Aug 13, 2018 5:29 pm

Re: [Solved] Launching Tor Browser gives Download Error 404

Post

by Gmen2oo3 »

Thanks for the info, however I recently upgraded to Vera 21.1 and noticed that Tor is not responding. I unstalled Tor and re-installed which it did fine, but now when I run tor it comes up downloads and verifies and then the window closes and the browser is not there. has anybody seen this issue?? still learning linux

Понравилась статья? Поделить с друзьями:
  • Torchlight 2 ошибка брандмауэра виндовс 10
  • Topre рефрижератор ошибка f3
  • Tor ошибка 503
  • Topre ошибка l12
  • Torchlight 2 ошибка msvcr100 dll