Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Whatsapp download doesn't work: 404 #13310

Open
3 tasks done
zoeleu opened this issue May 18, 2024 · 1 comment
Open
3 tasks done

[Bug]: Whatsapp download doesn't work: 404 #13310

zoeleu opened this issue May 18, 2024 · 1 comment
Labels

Comments

@zoeleu
Copy link

zoeleu commented May 18, 2024

Prerequisites

  • I have written a descriptive issue title.
  • I have searched all issues/PRs to ensure it has not already been reported or fixed.
  • I have verified that I am using the latest version of Scoop and corresponding bucket.

Package Name

whatsapp

Expected/Current Behaviour

It's not downloading, and returning an error.

Steps to Reproduce

PS C:\Users\Zoe> scoop install whatsapp
Installing '7zip' (24.05) [64bit] from 'main' bucket
7z2405-x64.msi (1.9 MB) [=====================================================================================] 100%
Checking hash of 7z2405-x64.msi ... ok.
Extracting 7z2405-x64.msi ... done.
Linking ~\scoop\apps\7zip\current => ~\scoop\apps\7zip\24.05
Creating shim for '7z'.
Creating shim for '7zFM'.
Making C:\Users\Zoe\scoop\shims\7zfm.exe a GUI binary.
Creating shim for '7zG'.
Making C:\Users\Zoe\scoop\shims\7zg.exe a GUI binary.
Creating shortcut for 7-Zip (7zFM.exe)
Persisting Codecs
Persisting Formats
Running post_install script...
'7zip' (24.05) was installed successfully!
Notes
-----
Add 7-Zip as a context menu option by running: "C:\Users\Zoe\scoop\apps\7zip\current\install-context.reg"
Installing 'whatsapp' (2.2326.10) [64bit] from 'extras' bucket
The remote server returned an error: (404) Not Found.
URL https://web.whatsapp.com/desktop/windows/release/x64/WhatsApp-2.2326.10-full.nupkg#/dl.7z is not valid

Possible Solution

Finding the correct URL

Scoop and Buckets Version

PS C:\Users\Zoe> scoop --version
Current Scoop version:
d337bb1f (HEAD -> master, tag: v0.4.2, origin/master, origin/HEAD) chore(release): Bump to version 0.4.2 (#5964)

'main' bucket:
d808d3cce (HEAD -> master, origin/master, origin/HEAD) nixpacks: Update to version 1.22.0

'extras' bucket:
4d5f0aa04 (HEAD -> master, origin/master, origin/HEAD) yuescript: Update to version 0.23.6

Scoop Config

PS C:\Users\Zoe> scoop config

last_update
-----------
2024-05-17T21:48:23.2514403-03:00

PowerShell Version

PS C:\Users\Zoe> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      5.1.19041.3031
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.19041.3031
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

Additional Softwares

No response

@zoeleu zoeleu added the bug label May 18, 2024
@MellowPhi
Copy link

WARN  Purging previous failed installation of whatsapp.
ERROR 'whatsapp' isn't installed correctly.
Removing older version (2.2326.10).
'whatsapp' was uninstalled.
WARN  Scoop uses 'aria2c' for multi-connection downloads.
WARN  Should it cause issues, run 'scoop config aria2-enabled false' to disable it.
WARN  To disable this warning, run 'scoop config aria2-warning-enabled false'.
Installing 'whatsapp' (2.2326.10) [64bit] from 'extras' bucket
Starting download with aria2 ...
Download: 05/22 16:27:31 [ERROR] CUID#8 - Download aborted. URI=https://web.whatsapp.com/desktop/windows/release/x64/WhatsApp-2.2326.10-fullDownload: Exception: [AbstractCommand.cc:351] errorCode=3 URI=https://web.whatsapp.com/desktop/windows/release/x64/WhatsApp-2.2326.10-full.nDownload: Download Results:
Download: gid   |stat|avg speed  |path/URI
Download: ======+====+===========+=======================================================
Download: 19dfba|ERR |       0B/s|C:/Users/Jon/scoop/cache/whatsapp#2.2326.10#https_web.whatsapp.com_desktop_windows_release_x64_WhatsApp-2.2326.10-full.nupkg_dl.7z
Download: Status Legend:
Download: (ERR):error occurred.
Download: aria2 will resume download if the transfer is restarted.
Download: If there are any errors, then see the log file. See '-l' option in help/man page for details.

ERROR Download failed! (Error 3) Resource was not found
ERROR https://web.whatsapp.com/desktop/windows/release/x64/WhatsApp-2.2326.10-full.nupkg#/dl.7z
   referer=https://web.whatsapp.com/desktop/windows/release/x64/WhatsApp-2.2326.10-full.nupkg#/
   dir=C:\Users\Jon\scoop\cache
   out=whatsapp#2.2326.10#https_web.whatsapp.com_desktop_windows_release_x64_WhatsApp-2.2326.10-full.nupkg_dl.7z

ERROR & 'C:\Users\Jon\scoop\apps\aria2\current\aria2c.exe' --input-file='C:\Users\Jon\scoop\cache\whatsapp.txt' --user-agent='Scoop/1.0 (+http://scoop.sh/) PowerShell/7.4 (Windows NT 10.0; Win64; x64; Core)' --allow-overwrite=true --auto-file-renaming=false --retry-wait=2 --split=5 --max-connection-per-server=5 --min-split-size=5M --console-log-level=warn --enable-color=false --no-conf=true --follow-metalink=true --metalink-preferred-protocol=https --min-tls-version=TLSv1.2 --stop-with-process=29252 --continue --summary-interval=0 --auto-save-interval=1

Please try again or create a new issue by using the following link and paste your console output:
https://github.com/ScoopInstaller/Extras/issues/new?title=whatsapp%402.2326.10%3a+download+via+aria2+failed

This is the error message I get if I have aria-2 installed and enabled.
When I disable it run the scoop install whatsapp I get the same error as @zoeleu

Scoop Config

last_update           scoop_branch scoop_repo                              aria2-enabled
-----------           ------------ ----------                              -------------
22/05/2024 4:03:17 PM master       https://github.com/ScoopInstaller/Scoop          True

Powershell Version

❯ $PSVersionTable

Name                           Value
----                           -----
PSVersion                      7.4.2
PSEdition                      Core
GitCommitId                    7.4.2
OS                             Microsoft Windows 10.0.22631
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants