SeaHOH / GotoX

本地自动代理,修改自 goagent。
721 stars 147 forks source link

GWS 扫描失效 #268

Open SeaHOH opened 1 year ago

SeaHOH commented 1 year ago

我这也出现有点类似上面的错误 但是看上去好像没什么影响, 依然能正常工作... 感觉是扫IP时出现问题

14:43:13 E [picker gws] pick_ip_worker 发生错误:tuple index out of range
Traceback (most recent call last):
  File "C:\GotoX\local\GIPManager.py", line 846, in get_ip_info
    ssl_sock.do_handshake()
  File "C:\GotoX\local\compat\openssl.py", line 84, in do_handshake
    self.__iowait(self._connection.do_handshake)
  File "C:\GotoX\local\compat\openssl.py", line 42, in __iowait
    return io_func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\GotoX\python\site-packages\pyOpenSSL-23.2.0-py3-none-any.egg\OpenSSL\SSL.py", line 2182, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "C:\GotoX\python\site-packages\pyOpenSSL-23.2.0-py3-none-any.egg\OpenSSL\SSL.py", line 1794, in _raise_ssl_error
    raise ZeroReturnError()
OpenSSL.SSL.ZeroReturnError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\GotoX\local\GIPManager.py", line 962, in pick_ip_worker
    domain, ssl_time, type = self.get_ip_info(ip)
                             ^^^^^^^^^^^^^^^^^^^^
  File "C:\GotoX\local\GIPManager.py", line 859, in get_ip_info
    if not retry and (e.args == zero_EOF_error or e.args[0] in zero_errno):
                                                  ~~~~~~^^^
IndexError: tuple index out of range

我又看了下, 应该是扫gws有问题, 一个月都没扫到1个gws IP, 不太正常... 我在ip.use文件里填了以前扫的gws IP, 是可以正常使用的.

Originally posted by @Flandre-Scarlet in https://github.com/SeaHOH/GotoX/issues/267#issuecomment-1612090099

SeaHOH commented 1 year ago

终于看到其他案例了,我这里失效的时间更早。 暂时先修复个基础的 bug,扫描功能要等之后移除 GAE 时一起修复。