question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Hi. I’m just trying to run it on my nas. But I got some problem downloading any video.

Details

An error has occurred:
Failed pre-check for video info: Error: Command failed with exit code 1: /app/node_modules/youtube-dl/bin/youtube-dl --dump-json -o users/admin/video/%(title)s.mp4 --write-info-json --print-json -f bestvideo+bestaudio --merge-output-format mp4 --write-thumbnail http://www.youtube.com/watch?v=Y-lS-_4mbvc

Logs

2021-02-19T12:50:10.773Z ERROR: Error during parsing: Error: Command failed with exit code 1: /app/node_modules/youtube-dl/bin/youtube-dl --dump-json http://www.youtube.com/watch?v=Y-lS-_4mbvc
2021-02-19T12:50:10.774Z ERROR: failed to parse for urls starting with https://www.youtube.com/watch?v=Y-lS-_4mbvc&t=111s
2021-02-19T12:50:11.757Z ERROR: Error during parsing: Error: Command failed with exit code 1: /app/node_modules/youtube-dl/bin/youtube-dl --dump-json http://www.youtube.com/watch?v=Y-lS-_4mbvc
2021-02-19T12:50:11.758Z ERROR: failed to parse for urls starting with https://www.youtube.com/watch?v=Y-lS-_4mbvc&t=111
2021-02-19T12:50:12.037Z ERROR: Error during parsing: Error: Command failed with exit code 1: /app/node_modules/youtube-dl/bin/youtube-dl --dump-json http://www.youtube.com/watch?v=Y-lS-_4mbvc
2021-02-19T12:50:12.038Z ERROR: failed to parse for urls starting with https://www.youtube.com/watch?v=Y-lS-_4mbvc&t=1
2021-02-19T12:50:12.188Z ERROR: Error during parsing: Error: Command failed with exit code 1: /app/node_modules/youtube-dl/bin/youtube-dl --dump-json http://www.youtube.com/watch?v=Y-lS-_4mbvc
2021-02-19T12:50:12.189Z ERROR: failed to parse for urls starting with https://www.youtube.com/watch?v=Y-lS-_4mbvc&t=11
2021-02-19T12:50:12.691Z ERROR: Error during parsing: Error: Command failed with exit code 1: /app/node_modules/youtube-dl/bin/youtube-dl --dump-json http://www.youtube.com/watch?v=Y-lS-_4mbvc
2021-02-19T12:50:12.692Z ERROR: failed to parse for urls starting with https://www.youtube.com/watch?v=Y-lS-_4mbvc&t=
2021-02-19T12:50:12.805Z ERROR: Error during parsing: Error: Command failed with exit code 1: /app/node_modules/youtube-dl/bin/youtube-dl --dump-json http://www.youtube.com/watch?v=Y-lS-_4mbvc
2021-02-19T12:50:12.805Z ERROR: failed to parse for urls starting with https://www.youtube.com/watch?v=Y-lS-_4mbvc&t
2021-02-19T12:50:18.578Z ERROR: Error during parsing: Error: Command failed with exit code 1: /app/node_modules/youtube-dl/bin/youtube-dl --dump-json http://www.youtube.com/watch?v=Y-lS-_4mbvc
2021-02-19T12:50:18.579Z ERROR: failed to parse for urls starting with https://www.youtube.com/watch?v=Y-lS-_4mbvc&
2021-02-19T12:50:19.468Z ERROR: Error during parsing: Error: Command failed with exit code 1: /app/node_modules/youtube-dl/bin/youtube-dl --dump-json http://www.youtube.com/watch?v=Y-lS-_4mbvc
2021-02-19T12:50:19.468Z ERROR: failed to parse for urls starting with https://www.youtube.com/watch?v=Y-lS-_4mbvc
2021-02-19T12:50:28.869Z ERROR: Error while retrieving info on video with URL https://www.youtube.com/watch?v=Y-lS-_4mbvc with the following message: Error: Command failed with exit code 1: /app/node_modules/youtube-dl/bin/youtube-dl --dump-json -o users/admin/video/%(title)s.mp4 --write-info-json --print-json -f bestvideo+bestaudio --merge-output-format mp4 --write-thumbnail http://www.youtube.com/watch?v=Y-lS-_4mbvc
2021-02-19T12:50:28.870Z ERROR: ERROR: Unable to download webpage: <urlopen error [Errno -3] Try again> (caused by URLError(gaierror(-3, 'Try again'),))

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
tghdevcommented, Feb 21, 2021

I think that my nas didn’t be blocked the connection to YouTube. Because I check the firewall settings and trying to download the youtube video by the application(Download Station) on my nas. They are working well.

Check if you allow the Docker subnet in your firewall. Download station is already on the host network, while containers use the bridge.

0reactions
SeanChangXcommented, Feb 23, 2021

我認為我的nas並未阻止與YouTube的連接。因為我檢查了防火牆設置並嘗試通過nas上的應用程序(下載站)下載youtube視頻。他們工作得很好。

檢查防火牆中是否允許Docker子網。下載站已經在主機網絡上,而容器則使用網橋。

I have tried to run the container on the host. And it can be work. I check the firewall has already been allowed the Docker subnet. How can I run it on the bridge? Is there another problem I didn’t solve?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Docker Package | Synology Inc.
A lightweight software containerization solution powered by Docker Inc. Synology delivers more packages for deployment on your NAS, such as Redmine or ...
Read more >
How to use Docker on a Synology NAS in 2022 - WunderTech
1. Move the docker-compose. · 2. Ensure you can SSH into your Synology NAS. · 3. Navigate to the docker folder location on...
Read more >
Using an ASUSTOR NAS with Docker
Docker containers can be executed on almost any hardware platform, including, but not limited to physical machines, virtual machines, public cloud services and ......
Read more >
Running Docker Containers on Synology NAS - Linux Hint
Synology NAS has official support for Docker. Docker can be an alternative to virtual machines. If you don't have enough memory to run...
Read more >
Can you run NAS system in a docker on Ubuntu? - Reddit
19 votes, 30 comments. I have a homeserver with Ubuntu installed. I don't want to install a NAS OS. Can I run NAS...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found