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

WARNING: unable to set language: #3588

Closed
analogged opened this issue Aug 25, 2014 · 3 comments
Closed

WARNING: unable to set language: #3588

analogged opened this issue Aug 25, 2014 · 3 comments

Comments

@analogged
Copy link

@analogged analogged commented Aug 25, 2014

I am running into a problem when running this on only 1 of my servers. All my servers are located and use IPs announced to the same Geo area.

Below are my various outputs.

[~]# youtube-dl --version
2014.08.25.3

[~]# youtube-dl https://www.youtube.com/watch?v=My2FRPA3Gf8
[youtube] Setting language
[youtube] Confirming age
ERROR: Unable to confirm age: ; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.

[~]# youtube-dl --verbose https://www.youtube.com/watch?v=My2FRPA3Gf8
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'https://www.youtube.com/watch?v=My2FRPA3Gf8']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.08.25.3
[debug] Python version 2.6.2 - Linux-2.6.18-371.9.1.el5-x86_64-with-redhat-5.10-Final
[debug] Proxy map: {}
[youtube] Setting language
WARNING: unable to set language:
[youtube] My2FRPA3Gf8: Downloading webpage
[youtube] My2FRPA3Gf8: Downloading video info webpage
ERROR: unable to download video info webpage: ; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 209, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1242, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/usr/local/python.2.6.2/lib/python2.6/urllib2.py", line 389, in open
response = meth(req, response)
File "/usr/local/python.2.6.2/lib/python2.6/urllib2.py", line 502, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/local/python.2.6.2/lib/python2.6/urllib2.py", line 427, in error
return self._call_chain(_args)
File "/usr/local/python.2.6.2/lib/python2.6/urllib2.py", line 361, in _call_chain
result = func(_args)
File "/usr/local/python.2.6.2/lib/python2.6/urllib2.py", line 510, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)

[~]# youtube-dl -j https://www.youtube.com/watch?v=My2FRPA3Gf8
WARNING: unable to set language:
ERROR: Unable to download webpage: ; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.

[~]# youtube-dl --verbose -j https://www.youtube.com/watch?v=My2FRPA3Gf8
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', '-j', 'https://www.youtube.com/watch?v=My2FRPA3Gf8']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.08.25.3
[debug] Python version 2.6.2 - Linux-2.6.18-371.9.1.el5-x86_64-with-redhat-5.10-Final
[debug] Proxy map: {}
WARNING: unable to set language:
ERROR: Unable to download webpage: ; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 209, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1242, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/usr/local/python.2.6.2/lib/python2.6/urllib2.py", line 389, in open
response = meth(req, response)
File "/usr/local/python.2.6.2/lib/python2.6/urllib2.py", line 502, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/local/python.2.6.2/lib/python2.6/urllib2.py", line 427, in error
return self._call_chain(_args)
File "/usr/local/python.2.6.2/lib/python2.6/urllib2.py", line 361, in _call_chain
result = func(_args)
File "/usr/local/python.2.6.2/lib/python2.6/urllib2.py", line 510, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)

@phihag
Copy link
Contributor

@phihag phihag commented Aug 25, 2014

Mmm, are these errors reproducible? All downloads work fine for me. It looks like an error on YouTube's site.

@analogged
Copy link
Author

@analogged analogged commented Aug 26, 2014

I have found out that my issue was because youtube had been displaying my servers main IP 429 http errors. I have several IP that are all routed to the server, is there a way i would be able to utilize my other addresses ?

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Jun 6, 2015

@jaimeMF jaimeMF closed this Jun 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.