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

GWS 扫描失效 #268

Open
SeaHOH opened this issue Jun 29, 2023 · 1 comment
Open

GWS 扫描失效 #268

SeaHOH opened this issue Jun 29, 2023 · 1 comment
Labels

Comments

@SeaHOH
Copy link
Owner

SeaHOH commented Jun 29, 2023

我这也出现有点类似上面的错误
但是看上去好像没什么影响, 依然能正常工作...
感觉是扫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 #267 (comment)

SeaHOH added a commit that referenced this issue Jun 29, 2023
#268 ZeroReturnError 处理
@SeaHOH
Copy link
Owner Author

SeaHOH commented Jun 29, 2023

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

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

No branches or pull requests

1 participant