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还是打不开 #492

Open
xixiranran opened this issue Aug 22, 2016 · 19 comments
Open

有的网站使用cow还是打不开 #492

xixiranran opened this issue Aug 22, 2016 · 19 comments

Comments

@xixiranran
Copy link

我之前使用自动切换列表https://raw.githubusercontent.com/gfwlist/gfwlist/master/gfwlist.txt
http://jixiuf.github.io/blog/%E7%94%A8cow-%E7%BF%BB%E5%A2%99%E7%9A%84%E9%85%8D%E7%BD%AE/
这个网站如果使用自动切换列表,那么是这样的:
image
如果是使用cow,那么是这样的:
image
如果是全局代理,那么才正常:
image

我 已经发现好几个网站都是这样了,但是出现第二张图片那也就说明其实全局是支持的,不过不能直接使用cow打开这种网站,该怎么解决呢?谢谢。

@xixiranran
Copy link
Author

http://jixiuf.github.io/about/
还有这个页面,不过是使用自动切换的列表还是使用cow都是下面这种界面。
image

@xixiranran
Copy link
Author

xixiranran commented Aug 22, 2016

我上面说的所有都是下面这种配置
image

有时候 使用这种配置反而又都出现无法访问,反而我使用下面这种配置感觉好一点,
image

这种配置遇见上面那类网站都会出现
image

@DrayChou
Copy link

可以试试删除 stat.txt 文件,或者查找下这个文件内容,找到这个域名编辑掉。
或者直接设置强制连接。

Jason [email protected] 於 2016年8月22日 週一 上午10:33寫道:

[image: image]
https://cloud.githubusercontent.com/assets/19594338/17842264/92d9908c-6853-11e6-9069-1e9bc7167770.png
我上面说的所有都是下面这种配置
[image: image]
https://cloud.githubusercontent.com/assets/19594338/17842265/9aca58f8-6853-11e6-9923-52b86fea111f.png

有时候 使用这种配置反而又都出现无法访问,反而我使用下面这种配置感觉好一点,
[image: image]
https://cloud.githubusercontent.com/assets/19594338/17842276/b333ded2-6853-11e6-8e53-02b19704ef92.png

这种配置遇见上面那类网站都会出现
[image: image]
https://cloud.githubusercontent.com/assets/19594338/17842279/be07fe4c-6853-11e6-8707-92f40ffceca3.png


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#492 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAuZtZFUqTxUkdjceLRtoRigBTfxavamks5qiQpugaJpZM4Jpdft
.

@xixiranran
Copy link
Author

谢谢你的回复,我现在用meow已经没有出现这种情况了,算是对cow的改良吧。

@DrayChou
Copy link

了解。
这种问题应该是 cow 监测的时候有返回连接正常的问题。
目前还不清楚为什么,希望是个例。

Jason [email protected] 於 2016年8月22日 週一 下午9:26寫道:

谢谢你的回复,我现在用meow已经没有出现这种情况了,算是对cow的改良吧。


You are receiving this because you commented.

Reply to this email directly, view it on GitHub
#492 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAuZtdxsYDGRYX3SWi3a5S0S_pMTSvmtks5qiaOFgaJpZM4Jpdft
.

@xixiranran
Copy link
Author

希望是个例吧,不过我今天还是遇见好几个网页都出现这种网页了。

@Kisesy
Copy link

Kisesy commented Aug 25, 2016

如果合并 #465 这个代码,应该可以解决这个问题

@xixiranran
Copy link
Author

你有对于win的修复这个问题的成品吗?我也不会合并什么代码

@Kisesy
Copy link

Kisesy commented Aug 25, 2016

cow.tar.gz

只有 Win32 版。。

@xixiranran
Copy link
Author

谢谢你,请问你这个是你自己重新编译过的吗?这个不是0.9.6版本的吧?因为他们说0.9.6版的没有这个问题,还有这个32位的在32位和64位系统上都可以使用对吧。
太谢谢你了,之前我因为cow的这个问题还有有些网站的图片有问题,所以使用meow,但是我发现meow对于一些俄文域名的网站打不开,
#495
不知道是什么原因,但是你刚才发给我的这个版本我试过了发现可以解决上面的所有问题,谢谢你。

@Kisesy
Copy link

Kisesy commented Aug 25, 2016

额,这个问题存在时间很长了,一直没解决,我就自学了Go语言,自己解决了,我是这样写的

func isErrConnReset(err error) bool {
    // fmt.Printf("calling isErrConnReset for err type: %v Error() %s\n",
    // reflect.TypeOf(err), err.Error())
    if ne, ok := err.(*net.OpError); ok {
        // fmt.Println("isErrConnReset net.OpError.Err type:", reflect.TypeOf(ne))
        if se, seok := ne.Err.(*os.SyscallError); seok {
            return se.Err == syscall.WSAECONNRESET || se.Err == syscall.ECONNRESET
        }
        if errno, enok := ne.Err.(syscall.Errno); enok {
            // I got these number by print. Only tested on XP.
            // fmt.Printf("isErrConnReset errno: %d\n", errno)
            return errno == 64 || errno == 10054
        }
    }
    return false
}

跟上面我提到的那个代码不一样,不过效果应该是一样的。。。
这个还合并了支持https的代码 #372 , 所以支持 proxy = https://xxx格式的代理

我用Go1.7 更新了下编译,速度应该是更快了
cow.tar.gz

@xixiranran
Copy link
Author

image
这儿不是本来就有这个https吗?有什么不一样呢?

@Kisesy
Copy link

Kisesy commented Aug 25, 2016

你看的是 meow 啊,cow 不支持

@xixiranran
Copy link
Author

哦,搞错了,那你觉得meow好还是cow好呢?我怎么觉得cow有点影响网速呢?你能解决meow那个问题吗?#495

@xixiranran
Copy link
Author

所以如果使用你刚才给我的那个的话,我就可以再配置文件里面加上像meow那个支持https的两行配置代码了是吧?

@xixiranran
Copy link
Author

image
我真的觉得cow有点影响网速,每次打开youtube的时候都会这样等待几秒,(除非之前访问过这个网页,他就会存在于stat文件里面,下次就会快一点)使用meow的时候就不会,但是meow有我上面说的那个对于一些俄文域名代理不了的问题,有谁能解决meow的这个问题吗?

@tywg001
Copy link

tywg001 commented Jan 5, 2017

哪里有meow的地址?我想看看

@xixiranran
Copy link
Author

@tywg001
Copy link

tywg001 commented Jan 5, 2017

@Jason4774 多谢

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

4 participants