[GH-ISSUE #907] Can't use yt-dlp with any protocols #252

Closed
opened 2026-10-14 03:16:48 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @r00936569 on GitHub (Jul 24, 2024).
Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/907

Describe the bug
Trying to setup yt-dlp to use amnezia server as proxy.
yt-dlp is a CLI program to download primarly videos from many sites.

To Reproduce
Steps to reproduce the behavior:

  1. Setup Amnezia VPN ShadowSocks protocol
  2. Run yt-dlp on any site, e.g. youtube: yt-dlp --proxy socks5://USER:PASSWORD@IP:PORT https://www.youtube.com/watch?v=dQw4w9WgXcQ

Expected behavior
File is downloading

Log files

[youtube] Extracting URL: https://www.youtube.com/watch?v=dQw4w9WgXcQ
[youtube] dQw4w9WgXcQ: Downloading webpage
WARNING: [youtube] Unable to download webpage: (<yt_dlp.networking._requests.SocksHTTPSConnection object at 0x000001FBC2D9C070>, 'Connection to www.youtube.com timed out. (connect timeout=20.0)')
[youtube] dQw4w9WgXcQ: Downloading ios player API JSON
WARNING: [youtube] (<yt_dlp.networking._requests.SocksHTTPSConnection object at 0x000001FBC2F178E0>, 'Connection to www.youtube.com timed out. (connect timeout=20.0)'). Retrying (1/3)...
[youtube] dQw4w9WgXcQ: Downloading ios player API JSON
WARNING: [youtube] (<yt_dlp.networking._requests.SocksHTTPSConnection object at 0x000001FBC2F52A60>, 'Connection to www.youtube.com timed out. (connect timeout=20.0)'). Retrying (2/3)...
[youtube] dQw4w9WgXcQ: Downloading ios player API JSON

Screenshots
スクリーンショット 2024-07-24 184729

Desktop (please complete the following information):

  • OS: Windows 10
  • Version: 1909

Server (please complete the following information):

  • OS: Ubuntu 22.04

Additional context
Works fine with other non-amnezia proxies

Originally created by @r00936569 on GitHub (Jul 24, 2024). Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/907 **Describe the bug** Trying to setup yt-dlp to use amnezia server as proxy. yt-dlp is a CLI program to download primarly videos from many sites. **To Reproduce** Steps to reproduce the behavior: 1. Setup Amnezia VPN ShadowSocks protocol 2. Run yt-dlp on any site, e.g. youtube: `yt-dlp --proxy socks5://USER:PASSWORD@IP:PORT https://www.youtube.com/watch?v=dQw4w9WgXcQ` **Expected behavior** File is downloading **Log files** ``` [youtube] Extracting URL: https://www.youtube.com/watch?v=dQw4w9WgXcQ [youtube] dQw4w9WgXcQ: Downloading webpage WARNING: [youtube] Unable to download webpage: (<yt_dlp.networking._requests.SocksHTTPSConnection object at 0x000001FBC2D9C070>, 'Connection to www.youtube.com timed out. (connect timeout=20.0)') [youtube] dQw4w9WgXcQ: Downloading ios player API JSON WARNING: [youtube] (<yt_dlp.networking._requests.SocksHTTPSConnection object at 0x000001FBC2F178E0>, 'Connection to www.youtube.com timed out. (connect timeout=20.0)'). Retrying (1/3)... [youtube] dQw4w9WgXcQ: Downloading ios player API JSON WARNING: [youtube] (<yt_dlp.networking._requests.SocksHTTPSConnection object at 0x000001FBC2F52A60>, 'Connection to www.youtube.com timed out. (connect timeout=20.0)'). Retrying (2/3)... [youtube] dQw4w9WgXcQ: Downloading ios player API JSON ``` **Screenshots** ![スクリーンショット 2024-07-24 184729](https://github.com/user-attachments/assets/646ddab3-9e9f-4cc5-9b43-c88da60dd346) **Desktop (please complete the following information):** - OS: Windows 10 - Version: 1909 **Server (please complete the following information):** - OS: Ubuntu 22.04 **Additional context** Works fine with other non-amnezia proxies
Author
Owner

@Nethius commented on GitHub (Aug 6, 2024):

If you are using SOCKS5 from the services tab, try connecting without authentication

<!-- gh-comment-id:2271976448 --> @Nethius commented on GitHub (Aug 6, 2024): If you are using SOCKS5 from the services tab, try connecting without authentication
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
amnezia-vpn/amnezia-client#252
No description provided.