moonshawdo / checkgoogleip

主要是用来检查哪些IP可以用在goagent上面
Apache License 2.0
581 stars 238 forks source link

移动宽带跑出来的ip.txt中的记录放到goagent中,还是不行 #10

Closed viquu closed 9 years ago

viquu commented 10 years ago

goagent 3.1.23 将效果放到goagent中就是不成功,郁闷了

moonshawdo commented 10 years ago

goagent是报连接不成功,还是报ssl证书出错? 可以尝试运行多几次脚本 我的是电信宽带,跑出来的ip基本上都可以用,我现在还用着3.1.18,或者你发你的ip.txt到我邮箱moonshawdo@gmail.com,我这边测试一下看看。

viquu commented 10 years ago

昨晚扫到了2个IP,但是昨晚不能用,今天到家打开电脑,居然可以用了。 但是现在又不行了。

INFO - [Sep 12 22:58:07] resolve common.IPLIST_MAP names=['google_cn', 'google_hk', 'google_talk', 'google_ipv6'] to iplist
INFO - [Sep 12 22:58:07] resolve name=google_talk host to iplist=['173.194.72.125', '173.194.64.125']
WARNING - [Sep 12 22:58:08] google_cn resolved too short iplist=['173.194.73.50', '173.194.45.104'], switch to google_hk
INFO - [Sep 12 22:58:08] 127.0.0.1:60418 "STRIP CONNECT pki.google.com:443 HTTP/1.1" - -
ERROR - [Sep 12 22:58:08] ssl.wrap_socket(connection=<socket at 0x10670fa10 fileno=8 sock=127.0.0.1:8087 peer=127.0.0.1:60418>) failed: [Errno 8] _ssl.c:504: EOF occurred in violation of protocol
Traceback (most recent call last):
  File "/Users/XXXX/Downloads/goagent-goagent-0455800/local/proxylib.py", line 931, in handle
    ssl_sock = ssl.wrap_socket(handler.connection, keyfile=certfile, certfile=certfile, server_side=True)
  File "./packages.egg/macosx/gevent/ssl.py", line 383, in wrap_socket
    ciphers=ciphers)
  File "./packages.egg/macosx/gevent/ssl.py", line 94, in __init__
    self.do_handshake()
  File "./packages.egg/macosx/gevent/ssl.py", line 305, in do_handshake
    return self._sslobj.do_handshake()
SSLError: [Errno 8] _ssl.c:504: EOF occurred in violation of protocol
causlayer commented 10 years ago

我的也出现了这个情况,适当增加下ip库吧,比gogo tester的ip量少很多,应该可以缓解避免这样的问题发生,对于linux 和 mac 用户来说这个东西很好。