Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
macOS 10.12 - urlopen error EOF occurred in violation of protocol (_ssl.c:590) #10782
Comments
|
Downloading :ytsubs works for me on Sierra with both the built-in Python and the one from Homebrew. Could you try:
|
|
Good to know it is not universal. There must be something misconfigured on my Mac.
I will keep investigating. |
|
FWIW, @terefang gave a workaround for similar issues at #4578 (comment). They're on Ubuntu, though. |
|
Switching the SSL/TLS protocol to
…appears to get further but the error returns after a few pages are downloaded. I have also attempted the fix in the original StackOverflow answer but downgrading the protocol makes no difference:
As an aside, this behaviour began after upgrading from macOS 10.11 to 10.12, Sierra. |
|
One more thing: YouTube use different servers for different regions. Could you paste the IP of accounts.google.com on your side?
|
|
I am in France, using the Internet service provider free.fr:
|
|
This appears to be an intermittent problem. Thank you for your time and help. I will re-open this report, if the problem reappears or I find a robust solution. |
|
I still hit this issue on my ubuntu 16.04, could anybody help to solve my issue, thanks very much. As follows show: |
|
@junmuzi: There were reports that proxychains sometimes break youtube-dl. Seems you use SOCKS5? Just use the built-in socks5 support from youtube-dl:
|
|
@yan12125: Thank you very much. I have re-tried, but it will stop, seems youtube-dl can not support socks5 agent. root@yingzi:~# youtube-dl --proxy socks5://127.0.0.1:1080 https://www.youtube.com/watch?v=BcWX6lyRxsE Somebody tell me it is due to the limit of youtube site. I don't know. :-) |
|
Then you need update it :) The latest version is 2017.07.02. The FAQ entry on update can help. |
|
@yan12125: |
Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2016.09.27. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.Before submitting an issue make sure you have:
What is the purpose of your issue?
Running the same command twice frequently results in differing numbers of pages being downloaded and parsed. It is rare to successfully fetch more than ten pages before an error or timeout occurs.
Run 1 of 2
Run 2 of 2
Description of your issue, suggested solution and other information
Downloading YouTube subscriptions fail on macOS 10.12 using a
homebrewinstalledyoutube-dl. The error appears to be related toopenssland maybe related to unsupported SSL/TLS protocols.The computer has the latest
opensslinstalled viabrewand it appears to be available topython:This error occurs on macOS 10.12 but not on the same computer running a virtual machine installed with macOS 10.11.
I suspect something within the recently released macOS 10.12 is the underlying cause.