Tor ubuntu ошибка загрузки 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?

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.

Probably related to issue #206

I’ve written a question on AskUbuntu.com about this:

I use torbrowser-launcher (package version 0.2.0-2 from the Wily/universe amd64 repository on Ubuntu 15.10) which runs Tor Browser 5.0.4.

Since today, after the update to 5.5a4-hardened became available, torbrowser-launcher does not start the browser any more but tries to update itself. This however fails due to a Download error: 404 Not Found as you can see in the two screenshots below. If I click Yes when it asks to switch to the default mirror, that doesn’t change anything. Still the same error. And on the next try, it will still complain about a non-default mirror.

enter image description here
enter image description here

When I run torbrowser-launcher in a terminal, I get this:

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

If I open the Tor Browser Settings from terminal torbrowser-launcher --settings, select a different mirror and to «search for updates on next launch», then click on Launch TorBrowser, I get the following dialogue and terminal output (first answering Start, second time answering Exit):

enter image description here

$ 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'>

What is wrong here and how can it be fixed?

Я использую 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 вернулся и работал.

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

blufeld

Level 1
Level 1
Posts: 30
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 blufeld on Fri Jan 27, 2023 4:00 pm, edited 1 time in total.

User avatar

MikeNovember

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

Re: Launching Tor Browser gives Download Error 404

Post

by MikeNovember » Wed Jan 11, 2023 9:09 am

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: 30
Joined: Sun Jan 08, 2023 11:40 am

Re: Launching Tor Browser gives Download Error 404

Post

by blufeld » Mon Jan 23, 2023 8:00 pm

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 » Mon Jan 30, 2023 5:59 pm

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

Понравилась статья? Поделить с друзьями:
  • Tor exe системная ошибка
  • Tor browser ошибка при установлении защищенного соединения
  • Tomcat логи ошибок
  • Tomcat 404 ошибка idea
  • Tomb raider системная ошибка