Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18

Thread: docker and IP config

  1. #11
    Join Date
    Jun 2008
    Location
    Prescott, AZ
    Posts
    1,175

    Default Re: docker and IP config

    Thanks everyone! I did uninstall docker, but it didn't fix the problem. For some reason, there seems to be an IP issue with only one app:

    Code:
    ~/Videos> youtube-dl https://www.youtube.com/watch?v=OKUUomFA5hQ
    [youtube] OKUUomFA5hQ: Downloading webpage
    ERROR: Unable to download webpage: <urlopen error no host given> (caused by URLError('no host given',))
    ~/Videos>
    I'm not sure what that output means.

  2. #12
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,803
    Blog Entries
    14

    Default Re: docker and IP config

    That downloads the mp4 fine here. On TW, that is.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  3. #13
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,143
    Blog Entries
    2

    Default Re: docker and IP config

    Quote Originally Posted by PattiMichelle View Post
    Thanks everyone! I did uninstall docker, but it didn't fix the problem. For some reason, there seems to be an IP issue with only one app:

    Code:
    ~/Videos> youtube-dl https://www.youtube.com/watch?v=OKUUomFA5hQ
    [youtube] OKUUomFA5hQ: Downloading webpage
    ERROR: Unable to download webpage: <urlopen error no host given> (caused by URLError('no host given',))
    ~/Videos>
    I'm not sure what that output means.
    A quick Google search turns up hits, they all say to update your app to the latest version (apparently it's a bug which shows up from time to time)
    The following is supposed to fix your problem.
    Code:
    youtube-dl -U
    Next, better to open a new thread for a new problem.

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  4. #14
    Join Date
    Jun 2008
    Location
    Prescott, AZ
    Posts
    1,175

    Default Re: docker and IP config

    Yes, I've been doing that for a while - no results. At one point I uncovered an odd IP address (something like 174.xxx.xxx.xxx), which I can't replicate now, which I thought was coming from docker. Thanks for helping me verify it wasn't docker.

    But it *is* a "something is wrong with my system" issue, so I think it belongs here... to demonstrate, I removed youtubedl from YaST and...
    Code:
    ~> sudo curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl
    [sudo] password for root: 
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
      0     3    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
      0     3    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
    100   599    0   599    0     0    304      0 --:--:--  0:00:01 --:--:--   304
    100 1724k  100 1724k    0     0   623k      0  0:00:02  0:00:02 --:--:-- 3224k
    ~> sudo chmod a+rx /usr/local/bin/youtube-dl
    ~> youtube-dl -v https://www.youtube.com/watch?v=OKUUomFA5hQ
    [debug] System config: []
    [debug] User config: []
    [debug] Custom config: []
    [debug] Command-line args: [u'-v', u'https://www.youtube.com/watch?v=OKUUomFA5hQ']
    [debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
    [debug] youtube-dl version 2018.12.17
    [debug] Python version 2.7.13 (CPython) - Linux-4.12.14-lp150.12.70-default-x86_64-with-glibc2.2.5
    [debug] exe versions: ffmpeg 3.4.4, ffprobe 3.4.4
    [debug] Proxy map: {'http': 'http://', u'https': 'http://'}
    [youtube] OKUUomFA5hQ: Downloading webpage
    ERROR: Unable to download webpage: <urlopen error no host given> (caused by URLError('no host given',))
      File "/home/patti/bin/youtube-dl/youtube_dl/extractor/common.py", line 605, in _request_webpage
        return self._downloader.urlopen(url_or_request)
      File "/home/patti/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2212, in urlopen
        return self._opener.open(req, timeout=self._socket_timeout)
      File "/home/patti/vapor-2.6.0/lib/python2.7/urllib2.py", line 429, in open
        response = self._open(req, data)
      File "/home/patti/vapor-2.6.0/lib/python2.7/urllib2.py", line 447, in _open
        '_open', req)
      File "/home/patti/vapor-2.6.0/lib/python2.7/urllib2.py", line 407, in _call_chain
        result = func(*args)
      File "/home/patti/bin/youtube-dl/youtube_dl/utils.py", line 1140, in https_open
        req, **kwargs)                                                                                                                                  
      File "/home/patti/vapor-2.6.0/lib/python2.7/urllib2.py", line 1164, in do_open                                                                    
        raise URLError('no host given')
    ~>

  5. #15
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,143
    Blog Entries
    2

    Default Re: docker and IP config

    It's still a coding error, and apparently it's re-appeared even in its latest version.

    This is the youtube-dl project
    https://github.com/ytdl-org/youtube-dl

    Looks like the latest version in the project is 2019.8.13, and that is also the version available in openSUSE and what you likely installed directly from yt-dl.org...
    First,
    You might install youtube-dl in another machine (even a virtual machine) and try downloading again just to verify the unlikelihood it's something unique to your installation,
    Then if you still see the problem, I'd recommend you create a issue at the github project (You'll get fastest response that way)

    EDIT -
    Try running as a normal User, and don't sudo.
    Of course, you'll have to d/l to a subdirectory of /home.
    Am wondering if you might be encountering an AppArmor issue which might restrict web applications from running with root permissions.

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  6. #16
    Join Date
    Jun 2008
    Location
    Prescott, AZ
    Posts
    1,175

    Default Re: docker and IP config

    ...so that means it's a system issue? (not a youtbe-dl issue) Docker did generate the 172.xxx.xxx.xxx IP, which ifconfig -a verifies is gone, and only my current machine is listed in my hosts file. Very odd! I use the standard opensuse yt-dl on all my systems. I wonder if I should try an online update to 15.1?

  7. #17
    Join Date
    Jun 2008
    Location
    Prescott, AZ
    Posts
    1,175

    Default Re: docker and IP config

    It's only this one LEAP machine which is having issues (my main machine). My other two laptops don't have issues with yt-dl. So I'm pretty sure there's an obscure problem with my system setup on this particular machine. However, I'm not linux-savvy enough to diagnose (beyond looking at /etc/hosts for irregularities). I have occasionally used openvpn on this system, and I'm wondering if openvpn interacted badly with the YaST System Configurator files, or something, so that yt-dl gets confused. Now that I recall, it was about the time I started using openvpn that the yt-dl issue arose.

    I guess I'll let it go for now. Everyone, thanks for the replies.


    Quote Originally Posted by tsu2 View Post
    It's still a coding error, and apparently it's re-appeared even in its latest version.

    This is the youtube-dl project
    https://github.com/ytdl-org/youtube-dl

    Looks like the latest version in the project is 2019.8.13, and that is also the version available in openSUSE and what you likely installed directly from yt-dl.org...
    First,
    You might install youtube-dl in another machine (even a virtual machine) and try downloading again just to verify the unlikelihood it's something unique to your installation,
    Then if you still see the problem, I'd recommend you create a issue at the github project (You'll get fastest response that way)

    EDIT -
    Try running as a normal User, and don't sudo.
    Of course, you'll have to d/l to a subdirectory of /home.
    Am wondering if you might be encountering an AppArmor issue which might restrict web applications from running with root permissions.

    TSU

  8. #18
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,143
    Blog Entries
    2

    Default Re: docker and IP config

    Quote Originally Posted by PattiMichelle View Post
    It's only this one LEAP machine which is having issues (my main machine). My other two laptops don't have issues with yt-dl. So I'm pretty sure there's an obscure problem with my system setup on this particular machine. However, I'm not linux-savvy enough to diagnose (beyond looking at /etc/hosts for irregularities). I have occasionally used openvpn on this system, and I'm wondering if openvpn interacted badly with the YaST System Configurator files, or something, so that yt-dl gets confused. Now that I recall, it was about the time I started using openvpn that the yt-dl issue arose.

    I guess I'll let it go for now. Everyone, thanks for the replies.
    It doesn't appear to be a network configuration issue, it's almost certainly an application issue.
    You might try uninstalling the application and then re-installing.
    Since I highly doubt that the problem is in a configuration file, you shouldn't need to consider purging the remnants of the old install before installing new.
    If you haven't been uninstalling before installing new from yt-dl, you might not have removed the problem so the new install might have been corrupted by whatever was in the previous install.

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •