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

[email protected]: download via aria2 failed #866

Closed
shoucandanghehe opened this issue Jul 16, 2024 · 2 comments
Closed

[email protected]: download via aria2 failed #866

shoucandanghehe opened this issue Jul 16, 2024 · 2 comments

Comments

@shoucandanghehe
Copy link

ERROR Download failed! (Error 22) HTTP response header was bad or unexpected
ERROR https://dl.kookapp.cn/assets/release/html_pc/kook_950/Kook_PC_Setup_v0.85.0.0_b2ZmaWNpYWwuc2l0ZS4uLi5wYw==.exe#/dl.7z
referer=https://dl.kookapp.cn/assets/release/html_pc/kook_950/Kook_PC_Setup_v0.85.0.0_b2ZmaWNpYWwuc2l0ZS4uLi5wYw==.exe#/
dir=C:\Users\17486\scoop\cache
out=kook#0.85.0.0#ab967e0.7z

ERROR & 'C:\Users\17486\scoop\apps\aria2\current\aria2c.exe' --input-file='C:\Users\17486\scoop\cache\kook.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=39148 --continue --summary-interval=0 --auto-save-interval=1

Copy link
Contributor

Cannot reproduce.

All files could be downloaded without any issue.
Problems with download could be caused by:

  • Network error
  • Blocked site (Great Firewall of China, Corporate restrictions, ...)
  • Antivirus settings blocking URL/downloaded file
  • Proxy configuration
  • Aria2 being unreliable (if you're facing problems with aria2, disable it by running scoop config aria2-enabled false and try again)

@shoucandanghehe
Copy link
Author

image
https://dl.kookapp.cn/assets/release/html_pc/kook_950/Kook_PC_Setup_v0.85.0.0_b2ZmaWNpYWwuc2l0ZS4uLi5wYw==.exe#/dl.7z
this link i got 403

Then I went to the official website to download it.
The download link contains an auth_key, maybe that's the problem
https://dl.kookapp.cn/assets/release/html_pc/kook_950/Kook_PC_Setup_v0.85.0.0_b2ZmaWNpYWwuc2l0ZS4uLi5wYw==.exe?auth_key=1721165894-25bb5e***2d*********-y06e****c-7*******c6feca7fecfe

Other discoveries
image
image
My Hong Kong server can download directly, but mainland China servers will got 403

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

No branches or pull requests

1 participant