Traceback (most recent call last):

 "/usr/lib/python3.4/site-packages/docker/client.py", line 92, in _raise_for_status
response.raise_for_status()

 "/usr/lib/python3.4/site-packages/requests/models.py", line 831, in raise_for_status
raise HTTPError(http_error_msg, response=self)requests.exceptions.HTTPError: 500 Server Error: Internal Server Error
Traceback (most recent call last):


 "/usr/local/bin/youtube-dl", line 11, in <module>

sys.exit(main())


 "/usr/local/lib/python2.7/dist-packages/youtube_dl/__init__.py", line 474, in main

_real_main(argv)


 "/usr/local/lib/python2.7/dist-packages/youtube_dl/__init__.py", line 464, in _real_main

retcode = ydl.download(all_urls)


 "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 2019, in download

url, force_generic_extractor=self.params.get('force_generic_extractor', False))


 "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 797, in extract_info

ie_result = ie.extract(url)


 "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 532, in extract

ie_result = self._real_extract(url)


 "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 1798, in _real_extract

video_webpage, urlh = self._download_webpage_handle(url, video_id)


 "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 277, in _download_webpage_handle

*args, **compat_kwargs(kwargs))


 "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 665, in _download_webpage_handle

urlh = self._request_webpage(url_or_request, video_id, note, errnote, fatal, data=data, headers=headers, query=query, expected_status=expected_status)


 "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 632, in _request_webpage

return self._downloader.urlopen(url_or_request)


 "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 2238, in urlopen

return self._opener.open(req, timeout=self._socket_timeout)


 "/usr/lib/python2.7/urllib2.py", line 429, in open

response = self._open(req, data)


 "/usr/lib/python2.7/urllib2.py", line 447, in _open

'_open', req)


 "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain

result = func(*args)


 "/usr/local/lib/python2.7/dist-packages/youtube_dl/utils.py", line 2736, in https_open

req, **kwargs)


 "/usr/lib/python2.7/urllib2.py", line 1195, in do_open

h.request(req.get_method(), req.get_selector(), req.data, headers)


 "/usr/lib/python2.7/httplib.py", line 1058, in request

self._send_request(method, url, body, headers)


 "/usr/lib/python2.7/httplib.py", line 1098, in _send_request

self.endheaders(body)


 "/usr/lib/python2.7/httplib.py", line 1054, in endheaders

self._send_output(message_body)


 "/usr/lib/python2.7/httplib.py", line 892, in _send_output

self.send(msg)


 "/usr/lib/python2.7/httplib.py", line 854, in send

self.connect()


 "/usr/local/lib/python2.7/dist-packages/youtube_dl/utils.py", line 2702, in connect

self.sock.connect((self.host, self.port))


 "/usr/local/lib/python2.7/dist-packages/youtube_dl/socks.py", line 270, in connect

self._make_proxy(socket.socket.connect, address)


 "/usr/local/lib/python2.7/dist-packages/youtube_dl/socks.py", line 266, in _make_proxy

setup_funcs[self._proxy.type](address)


 "/usr/local/lib/python2.7/dist-packages/youtube_dl/socks.py", line 167, in _setup_socks4

version, resp_code, dstport, dsthost = compat_struct_unpack('!BBHI', self.recvall(8))


 "/usr/local/lib/python2.7/dist-packages/youtube_dl/socks.py", line 126, in recvall

raise EOFError('{0} bytes missing'.format(cnt - len(data)))
EOFError: 8 bytes missing
