Coder Social home page Coder Social logo

最新版启动错误(v3.3.5) about gotox HOT 9 CLOSED

seahoh avatar seahoh commented on June 24, 2024
最新版启动错误(v3.3.5)

from gotox.

Comments (9)

SeaHOH avatar SeaHOH commented on June 24, 2024

修复了,你重新下载试一下。

from gotox.

cixi666 avatar cixi666 commented on June 24, 2024

还是不行 ,网页有进显示Nothing matches the given URI 同样的ip段在3.34版本中运行正常

===================================================================
 GotoX  版 本 : 3.3.5 (python/3.5.3 gevent/1.2.1 pyOpenSSL/16.2.0)

 GAE 远程验证 : 已启用

  监 听 地 址 : 自动代理 - 127.0.0.1:8087
                GAE 代理 - 127.0.0.1:8086

  代 理 认 证 : 无需认证

  调 试 信 息 : INFO

  链 接 模 式 : 远程 - TLSv1.2 / gevent + OpenSSL
                本地 - SSLv23 / gevent

  网 络 配 置 : ipv4

  IP 数 据 库 : CN IP from 17mon-20170301, range count: 3415

  安 装 证 书 : 设置代理后访问 http://gotox.go/
================================================================================
==
13:18:24 I IP 列表 'google_cn' 解析结果:iplist=['203.208.39.241', '203.208.48.8
7', '203.208.41.51', '203.208.43.119', '203.208.39.209', '203.208.39.248', '203.
208.51.51', '203.208.39.211', '203.208.41.52', '203.208.43.88', '203.208.41.47',
 '216.58.193.195', '203.208.43.111', '203.208.43.79', '203.208.51.48', '203.208.
48.79', '203.208.43.120', '203.208.41.183', '203.208.39.212', '203.208.39.239',
'203.208.51.52', '203.208.51.88', '203.208.48.95', '203.208.41.55', '203.208.51.
79', '203.208.43.127', '74.125.28.160', '203.208.39.210', '203.208.41.175', '203
.208.41.50', '203.208.43.87', '203.208.39.255', '203.208.39.244', '203.208.51.50
', '203.208.41.56', '203.208.41.63', '203.208.39.240', '203.208.51.95', '203.208
.39.247', '203.208.39.242', '203.208.41.49', '203.208.39.208', '203.208.41.184',
 '203.208.43.95', '203.208.39.243', '203.208.41.191', '203.208.41.48', '203.208.
51.87', '203.208.51.49', '203.208.48.88']
Traceback (most recent call last):
  File "C:\Users\ku888_000\Desktop\GotoX-3.3.5-cp35-win32\python\site-packages\g
event-1.2.1-cp35-win32.egg\gevent\greenlet.py", line 536, in run
    result = self._run(*self.args, **self.kwargs)
  File "C:\Users\ku888_000\Desktop\GotoX-3.3.5-cp35-win32\local\HTTPUtil.py", li
ne 447, in create_ssl_connection
    return self._create_ssl_connection(address, hostname, cache_key, timeout, No
ne, test, test)
  File "C:\Users\ku888_000\Desktop\GotoX-3.3.5-cp35-win32\local\HTTPUtil.py", li
ne 384, in _create_ssl_connection
    server_hostname = None if host and isip(host) else host.encode()
AttributeError: 'NoneType' object has no attribute 'encode'
Tue Mar 28 13:18:25 2017 <Greenlet at 0x3877490: <bound method HTTPUtil.create_s
sl_connection of <local.HTTPUtil.HTTPUtil object at 0x02DF5B30>>(('172.217.27.12
6', 443), 'google_gws', 'google_gws:443', 1.21, <queue.Queue object at 0x03795D1
0>)> failed with AttributeError

Traceback (most recent call last):
  File "C:\Users\ku888_000\Desktop\GotoX-3.3.5-cp35-win32\local\HTTPUtil.py", li
ne 384, in _create_ssl_connection
    server_hostname = None if host and isip(host) else host.encode()
AttributeError: 'NoneType' object has no attribute 'encode'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ku888_000\Desktop\GotoX-3.3.5-cp35-win32\python\site-packages\g
event-1.2.1-cp35-win32.egg\gevent\greenlet.py", line 536, in run
    result = self._run(*self.args, **self.kwargs)
  File "C:\Users\ku888_000\Desktop\GotoX-3.3.5-cp35-win32\local\HTTPUtil.py", li
ne 447, in create_ssl_connection
    return self._create_ssl_connection(address, hostname, cache_key, timeout, No
ne, test, test)
  File "C:\Users\ku888_000\Desktop\GotoX-3.3.5-cp35-win32\local\HTTPUtil.py", li
ne 432, in _create_ssl_connection
    set_connect_finish(ip)
  File "C:\Users\ku888_000\Desktop\GotoX-3.3.5-cp35-win32\local\HTTPUtil.py", li
ne 227, in set_connect_finish
    connect_limiter[ip].get()
  File "C:\Users\ku888_000\Desktop\GotoX-3.3.5-cp35-win32\local\common\__init__.
py", line 101, in __getitem__
    raise KeyError(key)
KeyError: '216.58.203.232'
Tue Mar 28 13:18:25 2017 <Greenlet at 0x38777b0: <bound method HTTPUtil.create_s
sl_connection of <local.HTTPUtil.HTTPUtil object at 0x02DF5B30>>(('216.58.203.23
2', 443), 'google_gws', 'google_gws:443', 1.21, <queue.Queue object at 0x03795D1
0>)> failed with KeyError

13:18:26 W 172.217.25.228 _create_ssl_connection 'www.youtube.com' 返回 timeout(
'timed out',),重试
13:18:27 W 216.58.203.232 _create_ssl_connection 'www.youtube.com' 返回 timeout(
'timed out',),重试
13:18:27 W 172.217.26.125 create_ssl_connection 'https://www.youtube.com/watch?v
=EIHk1C-LPtQ&spfreload=10' 失败:timeout('timed out',)
13:18:28 W 172.217.26.125 _create_ssl_connection 'www.youtube.com' 返回 timeout(
'timed out',),重试
13:18:29 W 172.217.27.124 _create_ssl_connection 'www.youtube.com' 返回 timeout(
'timed out',),重试
13:18:29 W 172.217.27.33 create_ssl_connection 'https://www.youtube.com/watch?v=
EIHk1C-LPtQ&spfreload=10' 失败:timeout('timed out',)
13:18:29 W do_DIRECT "GET https://www.youtube.com/watch?v=EIHk1C-LPtQ&spfreload=
10" 失败,返回 404

from gotox.

SeaHOH avatar SeaHOH commented on June 24, 2024

麻烦你运行一下 python/python.exe,输入以下命令看看结果

'str' is 'str'

from gotox.

cixi666 avatar cixi666 commented on June 24, 2024

Python 3.5.3 (v3.5.3:1880cb95a742, Jan 16 2017, 15:51:26) [MSC v.1900 32 bit (In
tel)] on win32
Type "help", "copyright", "credits" or "license" for more information.

'str' is 'str'
True

from gotox.

SeaHOH avatar SeaHOH commented on June 24, 2024

这回应该好了,不过想不通,有点奇怪。

from gotox.

cixi666 avatar cixi666 commented on June 24, 2024

启动错误没了。好多网站都打不开,好像没走代理。

14:27:28 W 104.116.243.162 _create_connection 'www.dw.com' 返回 timeout('timed o
ut',),重试
14:27:28 W 104.116.243.161 create_connection 'http://www.dw.com/zh' 失败:timeou
t('timed out',)
14:27:29 W 104.116.243.162 _create_connection 'www.dw.com' 返回 timeout('timed o
ut',),重试
14:27:29 W 104.116.243.161 create_connection 'http://www.dw.com/zh' 失败:timeou
t('timed out',)
14:27:29 W do_DIRECT "GET http://www.dw.com/zh" 失败,尝试使用 "GAE" 规则。
14:27:32 W 216.58.203.210 _request "POST GAE-http://www.dw.com:80/zh" 失败:time
out('The read operation timed out',)
14:27:32 I 'http://www.dw.com/zh' 返回包含重定向 '/zh/%E5%9C%A8%E7%BA%BF%E6%8A%A
5%E5%AF%BC/s-9058'
14:27:32 I 172.217.26.95 "GAE GET http://www.dw.com/zh HTTP/1.1" 301 26
14:27:34 W 104.116.243.162 _create_connection 'www.dw.com' 返回 timeout('timed o
ut',),重试
14:27:34 W 104.116.243.161 create_connection 'http://www.dw.com/zh/%E5%9C%A8%E7%
BA%BF%E6%8A%A5%E5%AF%BC/s-9058' 失败:timeout('timed out',)
14:27:34 W 104.116.243.162 _request "GET http://www.dw.com/zh/%E5%9C%A8%E7%BA%BF
%E6%8A%A5%E5%AF%BC/s-9058" 失败:ConnectionResetError(10054, '远程主机强迫关闭了
一个现有的连接。', None, 10054, None)
14:27:41 W 212.58.246.78 _request "GET http://bbc.co.uk/chinese/" 失败:Connecti
onResetError(10054, '远程主机强迫关闭了一个现有的连接。', None, 10054, None)
14:27:47 I 54.192.159.194 "FWD CONNECT d2epwh5sm67a3s.cloudfront.net:443 HTTP/1.
1" - -
14:27:55 W 104.116.243.170 _create_connection 'chinese.rfi.fr' 返回 timeout('tim
ed out',),重试
14:27:55 W 104.116.243.160 create_connection 'http://chinese.rfi.fr/' 失败:time
out('timed out',)
14:27:55 W 104.116.243.170 _request "GET http://chinese.rfi.fr/" 失败:Connectio
nResetError(10054, '远程主机强迫关闭了一个现有的连接。', None, 10054, None)

from gotox.

SeaHOH avatar SeaHOH commented on June 24, 2024

终于想通了,这都是同样的原因造成的错误,我错误理解了 is 的用法。
现已将所有代码清查了一遍,这回是真的好了。:)

你可以将常用的需要翻的网址加入自动规则,这样就不必每次都由程序临时进行判断,反应会快些。
而且有些时候自动尝试不一定管用。

from gotox.

cixi666 avatar cixi666 commented on June 24, 2024

现在好了,辛苦了。

from gotox.

SeaHOH avatar SeaHOH commented on June 24, 2024

感谢反馈,不然我还不知道错了这么多。

from gotox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.