这是indexloc提供的服务,不要输入任何密码
Skip to content

Yandex Music Failed to establish a new connection: [Errno 101] Network is unreachable #15063

@xDShot

Description

@xDShot

Checklist

Region

Russia

Provide a description that is worded well enough to be understood

Can't download from Yandex Music using stable or nightly builds. Tried switching network, still same.

[xdshot@pbody-pc tmp]$ ./yt-dlp_linux --cookies-from-browser chrome https://music.yandex.ru/album/2490420/track/21710005
[yandexmusic:track] Extracting URL: https://music.yandex.ru/album/2490420/track/21710005
[yandexmusic:track] 21710005: Downloading track JSON
Extracting cookies from chrome
Extracted 2404 cookies from chrome
[yandexmusic:track] 21710005: Downloading track location url JSON
[yandexmusic:track] 21710005: Downloading track location JSON
ERROR: [yandexmusic:track] 21710005: Unable to download JSON metadata: <urllib3.connection.HTTPConnection object at 0x7f1ddc213b60>: Failed to establish a new connection: [Errno 101] Network is unreachable (caused by TransportError('<urllib3.connection.HTTPConnection object at 0x7f1ddc213b60>: Failed to establish a new connection: [Errno 101] Network is unreachable'))
[xdshot@pbody-pc tmp]$

Provide verbose output that clearly demonstrates the problem

  • Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
  • If using API, add 'verbose': True to YoutubeDL params instead
  • Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output

[debug] Command-line config: ['-vU', '--cookies-from-browser', 'chrome', 'https://music.yandex.ru/album/2490420/track/21710005']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version nightly@2025.11.12.005349 from yt-dlp/yt-dlp-nightly-builds (linux_exe)
[debug] Python 3.13.9 (CPython x86_64 64bit) - Linux-6.17.7-arch1-2-x86_64-with-glibc2.42 (OpenSSL 3.5.4 30 Sep 2025, glibc 2.42)
[debug] exe versions: ffmpeg 8.0 (setts), ffprobe 8.0, rtmpdump 2.4
[debug] Optional libraries: Cryptodome-3.23.0, brotli-1.2.0, certifi-2025.10.05, curl_cffi-0.13.0, mutagen-1.47.0, requests-2.32.5, secretstorage-3.4.1, sqlite3-3.51.0, urllib3-2.5.0, websockets-15.0.1, yt_dlp_ejs-0.3.1
[debug] JS runtimes: deno-2.5.5
[debug] Proxy map: {}
Extracting cookies from chrome
[debug] Extracting cookies from: "/home/xdshot/.config/google-chrome/Default/Cookies"
[Cookies] Loading cookie      0/  2699[debug] detected desktop environment: GNOME
[debug] Chosen keyring: GNOMEKEYRING
Extracted 2404 cookies from chrome
[debug] cookie version breakdown: {'v10': 0, 'v11': 2699, 'other': 0, 'unencrypted': 0}
[debug] Request Handlers: urllib, requests, websockets, curl_cffi
[debug] Plugin directories: none
[debug] Loaded 1844 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp-nightly-builds/releases/latest
Latest version: nightly@2025.11.12.005349 from yt-dlp/yt-dlp-nightly-builds
yt-dlp is up to date (nightly@2025.11.12.005349 from yt-dlp/yt-dlp-nightly-builds)
[yandexmusic:track] Extracting URL: https://music.yandex.ru/album/2490420/track/21710005
[yandexmusic:track] 21710005: Downloading track JSON
[yandexmusic:track] 21710005: Downloading track location url JSON
[yandexmusic:track] 21710005: Downloading track location JSON
ERROR: [yandexmusic:track] 21710005: Unable to download JSON metadata: <urllib3.connection.HTTPConnection object at 0x7fd8b3961160>: Failed to establish a new connection: [Errno 101] Network is unreachable (caused by TransportError('<urllib3.connection.HTTPConnection object at 0x7fd8b3961160>: Failed to establish a new connection: [Errno 101] Network is unreachable'))
  File "yt_dlp/extractor/common.py", line 762, in extract
  File "yt_dlp/extractor/yandexmusic.py", line 119, in _real_extract
  File "yt_dlp/extractor/yandexmusic.py", line 43, in _download_json
  File "yt_dlp/extractor/common.py", line 1150, in download_content
  File "yt_dlp/extractor/common.py", line 1108, in download_handle
  File "yt_dlp/extractor/yandexmusic.py", line 37, in _download_webpage_handle
  File "yt_dlp/extractor/common.py", line 973, in _download_webpage_handle
  File "yt_dlp/extractor/common.py", line 922, in _request_webpage

  File "urllib3/connection.py", line 198, in _new_conn
  File "urllib3/util/connection.py", line 85, in create_connection
  File "urllib3/util/connection.py", line 73, in create_connection
OSError: [Errno 101] Network is unreachable

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "yt_dlp/networking/_requests.py", line 324, in _send
  File "requests/sessions.py", line 589, in request
  File "requests/sessions.py", line 703, in send
  File "requests/adapters.py", line 644, in send
  File "urllib3/connectionpool.py", line 841, in urlopen
  File "urllib3/util/retry.py", line 449, in increment
  File "urllib3/util/util.py", line 39, in reraise
  File "urllib3/connectionpool.py", line 787, in urlopen
  File "urllib3/connectionpool.py", line 493, in _make_request
  File "urllib3/connection.py", line 494, in request
  File "http/client.py", line 1333, in endheaders
  File "http/client.py", line 1093, in _send_output
  File "http/client.py", line 1037, in send
  File "urllib3/connection.py", line 325, in connect
  File "urllib3/connection.py", line 213, in _new_conn
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fd8b3961160>: Failed to establish a new connection: [Errno 101] Network is unreachable

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "yt_dlp/extractor/common.py", line 909, in _request_webpage
  File "yt_dlp/YoutubeDL.py", line 4252, in urlopen
  File "yt_dlp/networking/common.py", line 117, in send
  File "yt_dlp/networking/_helper.py", line 194, in wrapper
  File "yt_dlp/networking/common.py", line 359, in send
  File "yt_dlp/networking/_requests.py", line 352, in _send
yt_dlp.networking.exceptions.TransportError: <urllib3.connection.HTTPConnection object at 0x7fd8b3961160>: Failed to establish a new connection: [Errno 101] Network is unreachable

Metadata

Metadata

Assignees

No one assigned

    Labels

    site-bugIssue with a specific websitetriageUntriaged issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions