Comments (8)
+1 for this. I've just installed fresh... issue persists for any channel I try.
EDIT:
Scratch that. I removed the config and video folder and redeployed. I think it's just due to a really large channel and TubeSync trying to download EVERYTHING. I hadn't set it to a 7 day limit.
After the re-deploy I got the same issue, but only when I set it to download EVERYthing on a massive channel.
After setting it to a 7 day limit, which seemed to require me to re-dploy as I found no way to cancel all the downloads that were occurring, it seems to be working.
I'd suggest the default be '7 days' when setting up a new channel and not No Cap, or a defaults section that would allow you to specify custom defaults, so it's then safe to just add channels without going through the list of options.
from tubesync.
I just put in a palylist with 7 videos, still get same issues. https://www.youtube.com/playlist?list=PLPe5oHlbIf0z5_wzsSn8ySWuNttCH7P-f
from tubesync.
I'm going to try deleting everything and bringing it in fresh
from tubesync.
@romale23 First please make sure you're running the latest release from yesterday (v0.13.4). Given the channel you've pasted works fine for me if that still isn't working your error basically means "YouTube returned a 404 when it shouldn't have" which might be something like YouTube has limited or otherwise blocked your IP.
There are some tools to debug this, in a shell type this:
$ docker exec -ti tubesync python3 /app/manage.py youtube-dl-info "https://www.youtube.com/channel/UCF-uND-dn42ty_EEGBHy_9w/videos"
If this is working correctly it should return a huge blob of JSON to the terminal, which is the index of the media on the channel. If something else happens (like a 404) then it's not tubesync or yt-dlp
but likely an issue with your connection to YouTube itself.
from tubesync.
I'm guessing this means youtube is somehow blocking mean.
Showing information for URL: https://www.youtube.com/channel/UCF-uND-dn42ty_EEGBHy_9w/videos
2024-02-27 12:36:24,708 [tubesync/WARNING] [youtube:tab] <urllib3.connection.HTTPSConnection object at 0x7fd83722a290>: Failed to establish a new connection: [Errno 111] Connection refused. Retrying (1/3)...
2024-02-27 12:36:24,709 [tubesync/WARNING] [youtube:tab] <urllib3.connection.HTTPSConnection object at 0x7fd837228650>: Failed to establish a new connection: [Errno 111] Connection refused. Retrying (2/3)...
2024-02-27 12:36:24,710 [tubesync/WARNING] [youtube:tab] <urllib3.connection.HTTPSConnection object at 0x7fd83724c410>: Failed to establish a new connection: [Errno 111] Connection refused. Retrying (3/3)...
2024-02-27 12:36:24,710 [tubesync/WARNING] [youtube:tab] Unable to download webpage: <urllib3.connection.HTTPSConnection object at 0x7fd83724dbd0>: Failed to establish a new connection: [Errno 111] Connection refused (caused by TransportError('<urllib3.connection.HTTPSConnection object at 0x7fd83724dbd0>: Failed to establish a new connection: [Errno 111] Connection refused')). Giving up after 3 retries
2024-02-27 12:36:24,712 [tubesync/WARNING] [youtube:tab] <urllib3.connection.HTTPSConnection object at 0x7fd83724d990>: Failed to establish a new connection: [Errno 111] Connection refused. Retrying (1/3)...
2024-02-27 12:36:24,713 [tubesync/WARNING] [youtube:tab] <urllib3.connection.HTTPSConnection object at 0x7fd83724f210>: Failed to establish a new connection: [Errno 111] Connection refused. Retrying (2/3)...
2024-02-27 12:36:24,714 [tubesync/WARNING] [youtube:tab] <urllib3.connection.HTTPSConnection object at 0x7fd83724dd50>: Failed to establish a new connection: [Errno 111] Connection refused. Retrying (3/3)...
2024-02-27 12:36:24,719 [tubesync/ERROR] ERROR: [youtube:tab] UCF-uND-dn42ty_EEGBHy_9w: Unable to download API page: <urllib3.connection.HTTPSConnection object at 0x7fd837b15790>: Failed to establish a new connection: [Errno 111] Connection refused (caused by TransportError('<urllib3.connection.HTTPSConnection object at 0x7fd837b15790>: Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback (most recent call last):
File "/app/manage.py", line 18, in
main()
File "/app/manage.py", line 14, in main
execute_from_command_line(sys.argv)
File "/usr/local/lib/python3.11/dist-packages/django/core/management/init.py", line 419, in execute_from_command_line
utility.execute()
File "/usr/local/lib/python3.11/dist-packages/django/core/management/init.py", line 413, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/local/lib/python3.11/dist-packages/django/core/management/base.py", line 354, in run_from_argv
self.execute(*args, **cmd_options)
File "/usr/local/lib/python3.11/dist-packages/django/core/management/base.py", line 398, in execute
output = self.handle(*args, **options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/sync/management/commands/youtube-dl-info.py", line 17, in handle
info = get_media_info(url)
^^^^^^^^^^^^^^^^^^^
File "/app/sync/youtube.py", line 89, in get_media_info
raise YouTubeError(f'Failed to extract_info for "{url}": No metadata was '
sync.youtube.YouTubeError: Failed to extract_info for "https://www.youtube.com/channel/UCF-uND-dn42ty_EEGBHy_9w/videos": No metadata was returned by youtube-dl, check for error messages in the logs above. This task will be retried later with an exponential backoff.
from tubesync.
No that's nothing to do with YouTube, that log shows your tubesync container can't access the internet at all with a connection refused error. Check your firewalls and other likely networking options.
from tubesync.
So, feedback: GOT IT!!!!
meeb: Thank you so much for you help. I hate bothering people like yourself because i don't know how all this works well enough. Your last post told me what to look for and i found it :D
it was the dns server in /etc/resolv.conf
For anyone else looking this up this is what i put in there instead of the 127.whatever.whatever.whatever (i don't remember)
GNU nano 7.2 /etc/docker/daemon.json {
"dns": ["10.1.2.3", "8.8.8.8"]
}
from tubesync.
Heh, absolutely no problem at all. Thanks for posting the solution in case others stumble over this. The default resolver was probably 127.0.0.53. Having this fail could either be an issue with your Docker setup, or with systemd-resolved on the host machine which you might want to investigate further.
from tubesync.
Related Issues (20)
- Wrong naming format used HOT 4
- Regex has max length HOT 2
- Using NFS share for "/downloads" crashes the container HOT 3
- Idea: Choose target time for index/incrememntal sync HOT 2
- v0.13.5 docker doesn't exist HOT 3
- Failed to extract_info HOT 6
- Memory usage during db migration HOT 3
- Some files don't download and throw an error: "failed to download media to disk, expected outfile does not exist" HOT 5
- FEATURE REQUEST: Bulk editing in the Django admin control panel HOT 2
- Problems When TubeSync Attempts To Use A Colon ':' in a file name. HOT 3
- Emoji causes conflicts with Kodi HOT 6
- Unable to download any videos, all videos being marked skipped. HOT 2
- Add {episode} for episode numbers in file names, to avoid conflicts in Kodi's episode number scraping HOT 7
- Feature Request in navigation and control over when a daily sync is HOT 3
- {resolution} results in the output of 'premium' when TubeSync downloads a Premium source. HOT 4
- All sources stuck on "Task will run immediately" HOT 1
- Odd problem opening main page HOT 2
- Is there a way to not have the folders Video and Audio? HOT 2
- Fails to install Dependencies. HOT 1
- cannot write mode RGBA as JPEG - Thumbnail downloading HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tubesync.