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

"CLI Backend download failed" with proxy #172

Open
6 of 9 tasks
Bolb389 opened this issue Jan 31, 2024 · 0 comments
Open
6 of 9 tasks

"CLI Backend download failed" with proxy #172

Bolb389 opened this issue Jan 31, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@Bolb389
Copy link

Bolb389 commented Jan 31, 2024

Please follow the guide below

  • You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
  • Put an x into all the boxes [ ] relevant to your issue (like that [x])
  • Use Preview tab to see how your issue will actually look like

WARNING

All invalid issues will be rejected!!


Before going further

  • If your problem is a bug with youtube-dl or a request for new site support please report it here

  • Make sure you are using the latest yt-dlg version (Click the Settings icon and then About to view the current version)

  • Make sure you are using the latest youtube-dl version (Click the Settings icon and then Update to update to the latest youtube-dl version)

  • Make sure you searched the bugtracker for similar issues including closed ones

  • Make sure to read the FAQs file
    link dead, I read this one instead

    • I think my problem is NOT with youtube-dl
    • I've verified and i assure that I'm running yt-dlg 1.8.5
    • I assure that i am using the latest version of youtube-dl see bug bellow
    • Searched bugtracker
    • I've read the FAQs file

What is the purpose of your issue?

  • Bug report
  • Feature request (request for a new functionality)
  • Question
  • Other

Please remove any sections between (---) if they are not related to your issue


Bug report

If the problem occurs when downloading a URL please provide the full verbose output as follows:

  1. Restart yt-dlg
  2. Go to Options > Extra tab
  3. Enable Debug youtube-dl
  4. Go to Options > Advanced tab and Clear your log content
  5. Try to download the URL
  6. Copy the whole log content and insert it between the ``` part below
2024-01-31 11:19:41,135-DEBUG-Worker_1-Failed to start process: ['C:\\Users\\user\\AppData\\Roaming\\yt-dlg\\yt-dlp.exe', '--newline', '--proxy', 'http://10.202.1.239:8080', '--user-agent', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:122.0) Gecko/20100101 Firefox/122.', '-i', '-o', 'C:\\Users\\user\\%(title)s.%(ext)s', '-v', '--ignore-config', '--hls-prefer-native', 'https://tube-numerique-educatif.apps.education.fr/w/ux9nBPMugDxBEbm1Y6SjoL']
2024-01-31 11:19:41,135-DEBUG-Worker_1-[WinError 2] Le fichier spécifié est introuvable

What operating system do you use ?

Windows 11 Education 23H2

List of actions to perform to reproduce the problem:

  1. .. connect your computer to a network wich need a proxy to access internet
  2. .. remove or rename the folder AppData\Roaming\yt-dlg (to simulate a new install)
  3. .. Open yt-dlg
  4. .. Access Options > Download
  5. .. In Network:Proxy, set the proxy, eg. http://10.202.1.239:8080
  6. .. Click "Close" to go back to main window
  7. .. Add an url to download , and click "Add"
  8. .. Click on the Start button

What is the expected behaviour ?

yt-dlg should download the CLI-backend (yt-dlp.exe), then download the video.

What happens instead ?

yt-dlg fail to dowload the CLI-backend (yt-dlp.exe), and then failed to download the video :

The following messages are displayed :
Downloading latest cli backend. Please Wait...
CLI Backend download failed []
Downloaded 0 URL(s) in 0 day(s) 0 minute(s) 0 second(s)
(popup) "Downloads completed"


What operating system do you use ?

Windows 11 Education 23H2


When I use youtube-dlg with a proxy, it fail to download the CLI backend, and the video.
But if I put yt-dlp.exe myself in the directory C:\Users\user\AppData\Roaming\yt-dlg\ , it is working fine (even with the proxy), the video is downloaded.

So it seems the problem is only with the download of yt-dlp.exe. Maybe the proxy is only used when downloading a video, not when downloading yt-dlp.exe ? If yes, is it possible to add support of the proxy for the download of yt-dlp.exe ?

Have a nice day :-)

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

No branches or pull requests

2 participants