socks.py raised EOFError with Shadowsocks #9656

Open
opened 2026-02-21 03:37:56 -05:00 by deekerman · 16 comments
Owner

Originally created by @wukongtea on GitHub (Jan 14, 2017).

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2017.01.10. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.
I've verified and I assure that I'm running youtube-dl 2017.01.10
Before submitting an issue make sure you have:
At least skimmed through README and most notably FAQ and BUGS sections
Searched the bugtracker for similar issues including closed ones
What is the purpose of your issue?
Bug report (encountered problems with youtube-dl)

i dont konw what is wrong, how can l dowload this vido?
The log output:
image
image
image

Originally created by @wukongtea on GitHub (Jan 14, 2017). **Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2017.01.10. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.** I've verified and I assure that I'm running youtube-dl 2017.01.10 **Before submitting an issue make sure you have:** At least skimmed through README and most notably FAQ and BUGS sections Searched the bugtracker for similar issues including closed ones **What is the purpose of your issue?** Bug report (encountered problems with youtube-dl) i dont konw what is wrong, how can l dowload this vido? **The log output:** ![image](https://cloud.githubusercontent.com/assets/25115961/21954877/0cd7b12c-da99-11e6-946c-7221ab2cc169.png) ![image](https://cloud.githubusercontent.com/assets/25115961/21954883/27466a3a-da99-11e6-8152-8a26cdcd0632.png) ![image](https://cloud.githubusercontent.com/assets/25115961/21954889/4c05b204-da99-11e6-95bf-da63af5c6fa7.png)
Author
Owner

@yan12125 commented on GitHub (Jan 14, 2017):

Which software is running at 127.0.0.1:443?

@yan12125 commented on GitHub (Jan 14, 2017): Which software is running at 127.0.0.1:443?
Author
Owner

@wukongtea commented on GitHub (Jan 14, 2017):

KCPtun

@wukongtea commented on GitHub (Jan 14, 2017): KCPtun
Author
Owner

@yan12125 commented on GitHub (Jan 14, 2017):

Which commands do you use for the server and the client? I'm too lazy to study how to use KCPTun :)

@yan12125 commented on GitHub (Jan 14, 2017): Which commands do you use for the server and the client? I'm too lazy to study how to use KCPTun :)
Author
Owner

@wukongtea commented on GitHub (Jan 15, 2017):

i want to use KCPtun make the vps speed up ,so i can use the shaowsocks to download or watch video fluently。if I don‘t use KCPtun ,just
youtube-dl.exe --proxy socks5://vps.xxx.xxx.xxx:443 --all-formats https://www.dramafever.com/zh-cn/drama/4972/15/Doctor_Romantic/
the error comes too, some people think it dosent work when you use shadowsocks to download video with youtube-dl ,beacasuse the website will refuse the request. like hulu.com ban thw VPS ip。
I want to know its true or not ? or can you fix it.
another question: youtube-dl doesnt work in the website v.qq.com
image

@wukongtea commented on GitHub (Jan 15, 2017): i want to use KCPtun make the vps speed up ,so i can use the shaowsocks to download or watch video fluently。if I don‘t use KCPtun ,just youtube-dl.exe --proxy socks5://vps.xxx.xxx.xxx:443 --all-formats https://www.dramafever.com/zh-cn/drama/4972/15/Doctor_Romantic/ the error comes too, some people think it dosent work when you use shadowsocks to download video with youtube-dl ,beacasuse the website will refuse the request. like hulu.com ban thw VPS ip。 I want to know its true or not ? or can you fix it. another question: youtube-dl doesnt work in the website v.qq.com ![image](https://cloud.githubusercontent.com/assets/25115961/21964037/447b5c50-db7f-11e6-8d12-a256c1fba932.png)
Author
Owner

@yan12125 commented on GitHub (Jan 15, 2017):

Well, so there is EOFError even if you don't use KCPTun but only Shadowsocks?

another question: youtube-dl doesnt work in the website v.qq.com

No, QQ videos are not supported yet. See #6831.

@yan12125 commented on GitHub (Jan 15, 2017): Well, so there is ```EOFError``` even if you don't use KCPTun but only Shadowsocks? > another question: youtube-dl doesnt work in the website v.qq.com No, QQ videos are not supported yet. See #6831.
Author
Owner

@wukongtea commented on GitHub (Jan 18, 2017):

Right,if only use shadowsocks, it also doesn't work ,and it take a long time to get the feedback information from the website。Maybe the website ban those vps ip from shadowsocks ,but without it cant visit those website 。You can use the youtube-dl try to download those videos with shadowsocks,you can find out those error。

@wukongtea commented on GitHub (Jan 18, 2017): Right,if only use shadowsocks, it also doesn't work ,and it take a long time to get the feedback information from the website。Maybe the website ban those vps ip from shadowsocks ,but without it cant visit those website 。You can use the youtube-dl try to download those videos with shadowsocks,you can find out those error。
Author
Owner

@yan12125 commented on GitHub (Jan 18, 2017):

I've set up shadowsocks server & client, both on my own PC. Seems everything works fine:

$ youtube-dl --proxy socks5://127.0.0.1:1080/ https://www.dramafever.com/zh-cn/drama/4972/15/Doctor_Romantic/   
[dramafever] Downloading main.js
[dramafever] Downloading Akamai AMP feed
ERROR: Currently unavailable in your country.

Did you use the latest Shadowsocks (2.9.1)?
By the way, from your log the error comes from the initialization stage of SOCKS5. Maybe people at https://github.com/shadowsocks/shadowsocks/issues can help you more.

@yan12125 commented on GitHub (Jan 18, 2017): I've set up shadowsocks server & client, both on my own PC. Seems everything works fine: ``` $ youtube-dl --proxy socks5://127.0.0.1:1080/ https://www.dramafever.com/zh-cn/drama/4972/15/Doctor_Romantic/ [dramafever] Downloading main.js [dramafever] Downloading Akamai AMP feed ERROR: Currently unavailable in your country. ``` Did you use the latest Shadowsocks (2.9.1)? By the way, from your log the error comes from the initialization stage of SOCKS5. Maybe people at https://github.com/shadowsocks/shadowsocks/issues can help you more.
Author
Owner

@wukongtea commented on GitHub (Jan 18, 2017):

image
I use my vps try download it directly without proxy , but i can not find 1080p.

@wukongtea commented on GitHub (Jan 18, 2017): ![image](https://cloud.githubusercontent.com/assets/25115961/22071470/3b959986-ddda-11e6-8f75-85b6cc123a35.png) I use my vps try download it directly without proxy , but i can not find 1080p.
Author
Owner

@wukongtea commented on GitHub (Jan 18, 2017):

OK thank you , How can I download the 1080P video, I cant find the best format 。

@wukongtea commented on GitHub (Jan 18, 2017): OK thank you , How can I download the 1080P video, I cant find the best format 。
Author
Owner

@yan12125 commented on GitHub (Jan 18, 2017):

Please open a new issue for viki videos. Also, please paste text logs instead of screenshots.

@yan12125 commented on GitHub (Jan 18, 2017): Please open a new issue for viki videos. Also, please paste text logs instead of screenshots.
Author
Owner

@wukongtea commented on GitHub (Jan 18, 2017):

Ok, I will , only 720 P in dramafever.
image
can I get the 1080p? thank you for your help.

@wukongtea commented on GitHub (Jan 18, 2017): Ok, I will , only 720 P in dramafever. ![image](https://cloud.githubusercontent.com/assets/25115961/22072254/b794e1fc-dddc-11e6-92bf-4e5a0c266b38.png) can I get the 1080p? thank you for your help.
Author
Owner

@yan12125 commented on GitHub (Jan 18, 2017):

This issue is for discussions about Shadowsocks and KCPTun. Please open new issues for other websites. But first, are you sure there are 1080P videos in those websites?

@yan12125 commented on GitHub (Jan 18, 2017): This issue is for discussions about Shadowsocks and KCPTun. Please open new issues for other websites. But first, are you sure there are 1080P videos in those websites?
Author
Owner

@wukongtea commented on GitHub (Jan 18, 2017):

need an vip account, may be use the cookies you can crack and get the root.

@wukongtea commented on GitHub (Jan 18, 2017): need an vip account, may be use the cookies you can crack and get the root.
Author
Owner

@wukongtea commented on GitHub (Jan 18, 2017):

image

@wukongtea commented on GitHub (Jan 18, 2017): ![image](https://cloud.githubusercontent.com/assets/25115961/22072709/1fd5f5ca-ddde-11e6-92dc-53191877ed20.png)
Author
Owner

@yan12125 commented on GitHub (Jan 18, 2017):

youtube-dl supports login to viki. See https://github.com/rg3/youtube-dl#authentication-options

@yan12125 commented on GitHub (Jan 18, 2017): youtube-dl supports login to viki. See https://github.com/rg3/youtube-dl#authentication-options
Author
Owner

@wukongtea commented on GitHub (Jan 18, 2017):

thank you I konw 。

@wukongtea commented on GitHub (Jan 18, 2017): thank you I konw 。
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/youtube-dl#9656
No description provided.