-
-
Notifications
You must be signed in to change notification settings - Fork 304
Closed
Description
I tried to download a youtube video >3 hrs long. I've set my timeout value to 3600, basically I want podsync to just let it download the video. However, it just timeoutted within around 1 minute.
time="2022-03-19T01:17:03-04:00" level=info msg="! downloading episode https://youtube.com/watch?v={{truncated}}" episode_id={{truncated}} index=0
time="2022-03-19T01:18:17-04:00" level=error msg="youtube-dl error: /tmp/podsync-{{truncated}}.%(ext)s" error="failed to execute youtube-dl: exit status 1"
I've also extracted the error log from youtube-dl and here's the extract of the log
[debug] Command-line config: ['--format', 'bestvideo[height<=1440][ext=mp4][vcodec^=avc1]+bestaudio[ext=m4a]/best[height<=1440][ext=mp4][vcodec^=avc1]/best[ext=mp4]/best', '--write-sub', '--embed-subs', '--sub-lang', 'en.*,zh.*', '-vvv', '--output', '/tmp/podsync-{{truncated}}.%(ext)s', 'https://youtube.com/watch?v={{truncated}}']
...
[download] 4.7% of 5.61GiB at 8.87MiB/s ETA 10:16ERROR: unable to download video data: <urlopen error [Errno -3] Try again>
Traceback (most recent call last):
File \"/usr/lib/python3.9/urllib/request.py\", line 1346, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
File \"/usr/lib/python3.9/http/client.py\", line 1279, in request
self._send_request(method, url, body, headers, encode_chunked)
File \"/usr/lib/python3.9/http/client.py\", line 1325, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File \"/usr/lib/python3.9/http/client.py\", line 1274, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File \"/usr/lib/python3.9/http/client.py\", line 1034, in _send_output
self.send(msg)
File \"/usr/lib/python3.9/http/client.py\", line 974, in send
self.connect()
File \"/usr/lib/python3.9/http/client.py\", line 1441, in connect
super().connect()
File \"/usr/lib/python3.9/http/client.py\", line 945, in connect
self.sock = self._create_connection(
File \"/usr/lib/python3.9/socket.py\", line 823, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
File \"/usr/lib/python3.9/socket.py\", line 954, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Try again
I tried to run youtube-dl directly in the container with
docker exec -it {{container name}} youtube-dl {{options copied from log}}
and it did not timeout so I suspect that it has nothing to do with youtube-dl but podsync.
Thanks a lot.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels