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

COW 0.9.8 版本报错 直连被拒 不能翻墙 cow 0.9.6 版本正常 #468

Open
graminc opened this issue Jun 25, 2016 · 7 comments
Open

Comments

@graminc
Copy link

graminc commented Jun 25, 2016

[Error] read tcp 192.168.0.xxx:59966->104.25.231.xxx:80: wsarecv: An existing connection was forcibly closed by the remote host.

HTTP Request GET www.xxx.co:80/AU0Dk

parse response

Using direct connection.

Generated by COW 0.9.8

以上只是一个举例,时常遇到此情况,网页显示都是类似情况。

cow 0.9.6 版本正常。

谢谢!

@fgggid
Copy link

fgggid commented Jun 25, 2016

I've tested in win7 x64 sp1, #465 can fix this

@graminc
Copy link
Author

graminc commented Jun 25, 2016

我使用的环境是 windows 7 x64 sp1.home basic 。 @fgggid

@fgggid fgggid mentioned this issue Jul 23, 2016
@lazureice
Copy link

请问能不能传一份0.9.6给我?
fgggid提供的方法不会用(

@graminc
Copy link
Author

graminc commented Aug 2, 2016

@lazureice 请到 https://github.com/graminc/cow 下载cow 0.9.6 客户端软件 总共5个文件没做任何修改,上传时间今天2016.08.02.周二。 苹果Mac系统我没有 32位版本,我没有cow 0.9.6 服务器端软件。

以cow-win64-0.9.6 为例
https://github.com/graminc/cow/raw/master/cow-win64-0.9.6.zip 直接下载
或者
https://github.com/graminc/cow 页面 点击 cow-win64-0.9.6.zip ,
进入https://github.com/graminc/cow/blob/master/cow-win64-0.9.6.zip 页面,
点击Download 按钮下载。

@lazureice
Copy link

感谢~回滚0.9.6果然正常了

@luboq
Copy link

luboq commented Sep 17, 2016

果然,切回0.9.6就正常了
@cyfdecyf 这是什么原因呐?还是更倾向于用最新版的

@cryptogun
Copy link

上文学城和早报也是这个提示。又想用最新的,还是自己动手丰衣足食吧。记录一下编译步骤:

git clone https://github.com/fgggid/cow --depth 1 -b develop --single-branch
git clone https://github.com/golang/crypto --depth 1
cd cow

go get
# 如果有报错,看看依赖安装路径在哪:
# 一般是在C:\Users\{username}\go\src\
# 把克隆的crypto文件夹移到go\src\golang.org\x\下面。
# 因为golang.org 被封了。需要手动下载移过去。

# 编译生成cow.exe
go build

# 替换原来的cow.exe,可以先备份再替换。替换前可能要在任务管理器里先kill掉cow.exe

其实关键代码就一句,如果返回信息里含有“was forcibly closed”,则返回True走代理。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants