XX-net / XX-Net

A proxy tool to bypass GFW.
33.07k stars 7.69k forks source link

请教下,路由器上运行2.1.2出现问题。该怎么解决? #868

Open wctliu opened 9 years ago

wctliu commented 9 years ago

admin@RT-AC87U:/tmp/mnt/sda1/entware.arm/XX-Net# python2 launcher/start.py Aug 25 16:09:57 - [DEBUG] start confirm_xxnet_exit Aug 25 16:09:58 - [INFO] load ip range file:/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/ip_range.txt Aug 25 16:09:58 - [INFO] load google ip_list num:3000, gws num:3000 Aug 25 16:09:58 - [ERROR] start module gae_proxy fail:can't start new thread Traceback (most recent call last): File "/tmp/mnt/sda1/entware.arm/XX-Net/launcher/module_init.py", line 36, in start proc_handler[module]["imp"] = import(module, globals(), locals(), ['local', 'start'], -1) File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/start.py", line 13, in import local.proxy as client File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/proxy.py", line 83, in import proxy_handler File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/proxy_handler.py", line 24, in from connect_manager import https_manager,forwork_manager File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/connect_manager.py", line 42, in from google_ip import google_ip File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 565, in google_ip = Check_ip() File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 87, in init self.search_more_google_ip() File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 553, in search_more_google_ip p.start() File "/opt/lib/python2.7/threading.py", line 745, in start _start_new_thread(self.__bootstrap, ()) error: can't start new thread

Aug 25 16:09:58 - [INFO] start gae_proxy time cost 1380 Traceback (most recent call last): File "launcher/start.py", line 104, in main() File "launcher/start.py", line 83, in main web_control.start() File "/tmp/mnt/sda1/entware.arm/XX-Net/launcher/web_control.py", line 392, in start process.start() File "/opt/lib/python2.7/threading.py", line 745, in start _start_new_thread(self.bootstrap, ()) thread.error: can't start new thread Exception in thread Thread-1: Traceback (most recent call last): File "/opt/lib/python2.7/threading.py", line 810, in bootstrap_inner self.run() File "/opt/lib/python2.7/threading.py", line 763, in run self.target(_self.__args, *_self.kwargs) File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 527, in scan_ip_worker except check_ip.HoneypotError as e: AttributeError: 'NoneType' object has no attribute 'HoneypotError'

Exception in thread Thread-2: Traceback (most recent call last): File "/opt/lib/python2.7/threading.py", line 810, in bootstrap_inner self.run() File "/opt/lib/python2.7/threading.py", line 763, in run self.__target(_self.args, *_self.__kwargs) File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 527, in scan_ip_worker except check_ip.HoneypotError as e: AttributeError: 'NoneType' object has no attribute 'HoneypotError'

Exception in thread Thread-3: Traceback (most recent call last): File "/opt/lib/python2.7/threading.py", line 810, in bootstrap_inner self.run() File "/opt/lib/python2.7/threading.py", line 763, in run self.__target(_self.args, *_self.__kwargs) File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 527, in scan_ip_worker except check_ip.HoneypotError as e: AttributeError: 'NoneType' object has no attribute 'HoneypotError'

Exception in thread Thread-4: Traceback (most recent call last): File "/opt/lib/python2.7/threading.py", line 810, in bootstrap_inner self.run() File "/opt/lib/python2.7/threading.py", line 763, in run self.__target(_self.args, *_self.__kwargs) File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 527, in scan_ip_worker except check_ip.HoneypotError as e: AttributeError: 'NoneType' object has no attribute 'HoneypotError'

Exception in thread Thread-5: Traceback (most recent call last): File "/opt/lib/python2.7/threading.py", line 810, in bootstrap_inner self.run() File "/opt/lib/python2.7/threading.py", line 763, in run self.__target(_self.args, _self.kwargs) File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 527, in scan_ip_worker except check_ip.HoneypotError as e: AttributeError: 'NoneType' object has no attribute 'HoneypotError' Exception in thread Thread-6: Traceback (most recent call last): File "/opt/lib/python2.7/threading.py", line 810, in __bootstrap_inner self.run() File "/opt/lib/python2.7/threading.py", line 763, in run self.target(_self.__args, _self.__kwargs) File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 527, in scan_ip_worker except check_ip.HoneypotError as e: AttributeError: 'NoneType' object has no attribute 'HoneypotError'

Exception in thread Thread-7: Traceback (most recent call last): File "/opt/lib/python2.7/threading.py", line 810, in bootstrap_inner self.run() File "/opt/lib/python2.7/threading.py", line 763, in run self.__target(_self.args, *_self.__kwargs) File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 527, in scan_ip_worker except check_ip.HoneypotError as e: AttributeError: 'NoneType' object has no attribute 'HoneypotError'

Exception in thread Thread-8: Traceback (most recent call last): File "/opt/lib/python2.7/threading.py", line 810, in bootstrap_inner self.run() File "/opt/lib/python2.7/threading.py", line 763, in run self.__target(_self.args, _self.kwargs) File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 527, in scan_ip_worker except check_ip.HoneypotError as e: AttributeError: 'NoneType' object has no attribute 'HoneypotError' Exception in thread Thread-9: Traceback (most recent call last): File "/opt/lib/python2.7/threading.py", line 810, in __bootstrap_inner self.run() File "/opt/lib/python2.7/threading.py", line 763, in run self.target(_self.__args, _self.__kwargs) File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 527, in scan_ip_worker except check_ip.HoneypotError as e: AttributeError: 'NoneType' object has no attribute 'HoneypotError'

Stopping all modules before exit! Aug 25 16:09:59 - [ERROR] stop module gae_proxy fail:'imp' Traceback (most recent call last): File "/tmp/mnt/sda1/entware.arm/XX-Net/launcher/module_init.py", line 70, in stop _start = proc_handler[module]["imp"].start KeyError: 'imp'

Aug 25 16:09:59 - [INFO] begin to exit web control

wctliu commented 9 years ago

补充一下。添加了自定义模块。把XX-Net里面的模块带入后再运行。结果似乎差不多的。仍然出错。

admin@RT-AC87U:/tmp/mnt/sda1/entware.arm/XX-Net/launcher# python start.py Aug 25 17:01:33 - [DEBUG] start confirm_xxnet_exit Aug 25 17:01:33 - [INFO] load ip range file:/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/ip_range.txt Aug 25 17:01:34 - [INFO] load google ip_list num:3000, gws num:3000 Aug 25 17:01:34 - [ERROR] start module gae_proxy fail:can't start new thread Traceback (most recent call last): File "/tmp/mnt/sda1/entware.arm/XX-Net/launcher/module_init.py", line 36, in start proc_handler[module]["imp"] = import(module, globals(), locals(), ['local', 'start'], -1) File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/start.py", line 13, in import local.proxy as client File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/proxy.py", line 83, in import proxy_handler File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/proxy_handler.py", line 24, in from connect_manager import https_manager,forwork_manager File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/connect_manager.py", line 42, in from google_ip import google_ip File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 565, in google_ip = Check_ip() File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 87, in init self.search_more_google_ip() File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 553, in search_more_google_ip p.start() File "/opt/lib/python2.7/threading.py", line 745, in start _start_new_thread(self.__bootstrap, ()) error: can't start new thread

Aug 25 17:01:34 - [INFO] start gae_proxy time cost 1408 Traceback (most recent call last): File "start.py", line 104, in main() File "start.py", line 83, in main web_control.start() File "/tmp/mnt/sda1/entware.arm/XX-Net/launcher/web_control.py", line 392, in start process.start() File "/opt/lib/python2.7/threading.py", line 745, in start _start_new_thread(self.bootstrap, ()) thread.error: can't start new thread Exception in thread Thread-1: Traceback (most recent call last): File "/opt/lib/python2.7/threading.py", line 810, in bootstrap_inner self.run() File "/opt/lib/python2.7/threading.py", line 763, in run self.target(_self.__args, *_self.kwargs) File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 527, in scan_ip_worker except check_ip.HoneypotError as e: AttributeError: 'NoneType' object has no attribute 'HoneypotError'

Exception in thread Thread-2: Traceback (most recent call last): File "/opt/lib/python2.7/threading.py", line 810, in bootstrap_inner self.run() File "/opt/lib/python2.7/threading.py", line 763, in run self.__target(_self.args, _self.kwargs) File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 527, in scan_ip_worker except check_ip.HoneypotError as e: AttributeError: 'NoneType' object has no attribute 'HoneypotError' Exception in thread Thread-3: Traceback (most recent call last): File "/opt/lib/python2.7/threading.py", line 810, in __bootstrap_inner self.run() File "/opt/lib/python2.7/threading.py", line 763, in run self.target(_self.__args, _self.__kwargs) File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 527, in scan_ip_worker except check_ip.HoneypotError as e: AttributeError: 'NoneType' object has no attribute 'HoneypotError'

Exception in thread Thread-4: Traceback (most recent call last): File "/opt/lib/python2.7/threading.py", line 810, in bootstrap_inner self.run() File "/opt/lib/python2.7/threading.py", line 763, in run self.__target(_self.args, *_self.__kwargs) File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 527, in scan_ip_worker except check_ip.HoneypotError as e: AttributeError: 'NoneType' object has no attribute 'HoneypotError'

Exception in thread Thread-7: Traceback (most recent call last): File "/opt/lib/python2.7/threading.py", line 810, in bootstrap_inner self.run() File "/opt/lib/python2.7/threading.py", line 763, in run self.__target(_self.args, _self.kwargs) File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 527, in scan_ip_worker except check_ip.HoneypotError as e: AttributeError: 'NoneType' object has no attribute 'HoneypotError' Exception in thread Thread-9: Traceback (most recent call last): File "/opt/lib/python2.7/threading.py", line 810, in __bootstrap_inner self.run() File "/opt/lib/python2.7/threading.py", line 763, in run self.target(_self.__args, _self.__kwargs) File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 527, in scan_ip_worker except check_ip.HoneypotError as e: AttributeError: 'NoneType' object has no attribute 'HoneypotError'

Exception in thread Thread-6: Traceback (most recent call last): File "/opt/lib/python2.7/threading.py", line 810, in bootstrap_inner self.run() File "/opt/lib/python2.7/threading.py", line 763, in run self.__target(_self.args, _self.kwargs) File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 527, in scan_ip_worker except check_ip.HoneypotError as e: AttributeError: 'NoneType' object has no attribute 'HoneypotError' Exception in thread Thread-8: Traceback (most recent call last): File "/opt/lib/python2.7/threading.py", line 810, in __bootstrap_inner self.run() File "/opt/lib/python2.7/threading.py", line 763, in run self.target(_self.__args, _self.__kwargs) File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 527, in scan_ip_worker except check_ip.HoneypotError as e: AttributeError: 'NoneType' object has no attribute 'HoneypotError'

Exception in thread Thread-5: Traceback (most recent call last): File "/opt/lib/python2.7/threading.py", line 810, in bootstrap_inner self.run() File "/opt/lib/python2.7/threading.py", line 763, in run self.__target(_self.args, *_self.__kwargs) File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 527, in scan_ip_worker except check_ip.HoneypotError as e: AttributeError: 'NoneType' object has no attribute 'HoneypotError'

Stopping all modules before exit! Aug 25 17:01:35 - [ERROR] stop module gae_proxy fail:'imp' Traceback (most recent call last): File "/tmp/mnt/sda1/entware.arm/XX-Net/launcher/module_init.py", line 70, in stop _start = proc_handler[module]["imp"].start KeyError: 'imp'

Aug 25 17:01:35 - [INFO] begin to exit web control

lele2010lele commented 9 years ago

请问什么是在路由器上运行?我想学学,谢谢

xxnet commented 9 years ago

看看是什么python 版本?怀疑是python版本太低了

2015-08-26 9:13 GMT+08:00 lele2010lele notifications@github.com:

请问什么是在路由器上运行?我想学学,谢谢

— Reply to this email directly or view it on GitHub https://github.com/XX-net/XX-Net/issues/868#issuecomment-134783294.

wctliu commented 9 years ago

路由器是华硕的AC87U 固件是梅林378.53。平台是Entware。安装的python版本是2.7.10.我也试着换过Optware,似乎也不行。

xxnet commented 9 years ago

重新下载一个完整的安装包解压试试,确认不是文件损坏

在 2015年8月26日 下午12:27,wctliu notifications@github.com写道:

路由器是华硕的AC87U 固件是梅林378.53。平台是Entware。安装的python版本是2.7.10.我也试着换过Optware,似乎也不行。

— Reply to this email directly or view it on GitHub https://github.com/XX-net/XX-Net/issues/868#issuecomment-134825133.

wctliu commented 9 years ago

重新下载了安装包,也是一样的错误。还有什么办法没?

admin@RT-AC87U:/tmp/mnt/sda1/entware.arm/XX-Net/launcher# python2 start.py Aug 26 07:06:42 - [DEBUG] start confirm_xxnet_exit Aug 26 07:06:43 - [INFO] load ip range file:/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/ip_range.txt Aug 26 07:06:43 - [INFO] load google ip_list num:3000, gws num:3000 Aug 26 07:06:43 - [DEBUG] sort ip time:30ms Aug 26 07:06:43 - [ERROR] start module gae_proxy fail:can't start new thread Traceback (most recent call last): File "/tmp/mnt/sda1/entware.arm/XX-Net/launcher/module_init.py", line 36, in start proc_handler[module]["imp"] = import(module, globals(), locals(), ['local', 'start'], -1) File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/start.py", line 13, in import local.proxy as client File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/proxy.py", line 83, in import proxy_handler File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/proxy_handler.py", line 24, in from connect_manager import https_manager,forwork_manager File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/connect_manager.py", line 42, in from google_ip import google_ip File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 565, in google_ip = Check_ip() File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 87, in init self.search_more_google_ip() File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 553, in search_more_google_ip p.start() File "/opt/lib/python2.7/threading.py", line 745, in start _start_new_thread(self.__bootstrap, ()) error: can't start new thread

Aug 26 07:06:43 - [INFO] start gae_proxy time cost 1398 Traceback (most recent call last): File "start.py", line 104, in main() File "start.py", line 83, in main web_control.start() File "/tmp/mnt/sda1/entware.arm/XX-Net/launcher/web_control.py", line 392, in start process.start() File "/opt/lib/python2.7/threading.py", line 745, in start _start_new_thread(self.bootstrap, ()) thread.error: can't start new thread Exception in thread Thread-1: Traceback (most recent call last): File "/opt/lib/python2.7/threading.py", line 810, in bootstrap_inner self.run() File "/opt/lib/python2.7/threading.py", line 763, in run self.target(_self.__args, *_self.kwargs) File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 527, in scan_ip_worker except check_ip.HoneypotError as e: AttributeError: 'NoneType' object has no attribute 'HoneypotError'

Exception in thread Thread-2: Traceback (most recent call last): File "/opt/lib/python2.7/threading.py", line 810, in bootstrap_inner self.run() File "/opt/lib/python2.7/threading.py", line 763, in run self.__target(_self.args, *_self.__kwargs) File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 527, in scan_ip_worker except check_ip.HoneypotError as e: AttributeError: 'NoneType' object has no attribute 'HoneypotError'

Exception in thread Thread-3: Traceback (most recent call last): File "/opt/lib/python2.7/threading.py", line 810, in bootstrap_inner self.run() File "/opt/lib/python2.7/threading.py", line 763, in run self.__target(_self.args, *_self.__kwargs) File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 527, in scan_ip_worker except check_ip.HoneypotError as e: AttributeError: 'NoneType' object has no attribute 'HoneypotError'

Exception in thread Thread-4: Traceback (most recent call last): File "/opt/lib/python2.7/threading.py", line 810, in bootstrap_inner self.run() File "/opt/lib/python2.7/threading.py", line 763, in run self.__target(_self.args, *_self.__kwargs) File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 527, in scan_ip_worker except check_ip.HoneypotError as e: AttributeError: 'NoneType' object has no attribute 'HoneypotError'

Exception in thread Thread-5: Traceback (most recent call last): File "/opt/lib/python2.7/threading.py", line 810, in bootstrap_inner self.run() File "/opt/lib/python2.7/threading.py", line 763, in run self.__target(_self.args, *_self.__kwargs) File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 527, in scan_ip_worker except check_ip.HoneypotError as e: AttributeError: 'NoneType' object has no attribute 'HoneypotError'

Exception in thread Thread-6: Traceback (most recent call last): File "/opt/lib/python2.7/threading.py", line 810, in bootstrap_inner self.run() File "/opt/lib/python2.7/threading.py", line 763, in run self.__target(_self.args, *_self.__kwargs) File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 527, in scan_ip_worker except check_ip.HoneypotError as e: AttributeError: 'NoneType' object has no attribute 'HoneypotError'

Exception in thread Thread-7: Traceback (most recent call last): File "/opt/lib/python2.7/threading.py", line 810, in bootstrap_inner self.run() File "/opt/lib/python2.7/threading.py", line 763, in run self.__target(_self.args, *_self.__kwargs) File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 527, in scan_ip_worker except check_ip.HoneypotError as e: AttributeError: 'NoneType' object has no attribute 'HoneypotError'

Exception in thread Thread-8: Traceback (most recent call last): File "/opt/lib/python2.7/threading.py", line 810, in bootstrap_inner self.run() File "/opt/lib/python2.7/threading.py", line 763, in run self.__target(_self.args, *_self.__kwargs) File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 527, in scan_ip_worker except check_ip.HoneypotError as e: AttributeError: 'NoneType' object has no attribute 'HoneypotError'

Exception in thread Thread-9: Traceback (most recent call last): File "/opt/lib/python2.7/threading.py", line 810, in bootstrap_inner self.run() File "/opt/lib/python2.7/threading.py", line 763, in run self.__target(_self.args, *_self.__kwargs) File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 527, in scan_ip_worker except check_ip.HoneypotError as e: AttributeError: 'NoneType' object has no attribute 'HoneypotError'

Exception in thread Thread-10: Traceback (most recent call last): File "/opt/lib/python2.7/threading.py", line 810, in bootstrap_inner self.run() File "/opt/lib/python2.7/threading.py", line 763, in run self.__target(_self.args, *_self.__kwargs) File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 527, in scan_ip_worker except check_ip.HoneypotError as e: AttributeError: 'NoneType' object has no attribute 'HoneypotError'

Exception in thread Thread-12: Traceback (most recent call last): File "/opt/lib/python2.7/threading.py", line 810, in bootstrap_inner self.run() File "/opt/lib/python2.7/threading.py", line 763, in run self.__target(_self.args, *_self.__kwargs) File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 527, in scan_ip_worker except check_ip.HoneypotError as e: AttributeError: 'NoneType' object has no attribute 'HoneypotError'

Exception in thread Thread-13: Traceback (most recent call last): File "/opt/lib/python2.7/threading.py", line 810, in bootstrap_inner self.run() File "/opt/lib/python2.7/threading.py", line 763, in run self.__target(_self.args, *_self.__kwargs) File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 527, in scan_ip_worker except check_ip.HoneypotError as e: AttributeError: 'NoneType' object has no attribute 'HoneypotError'

Exception in thread Thread-16: Traceback (most recent call last): File "/opt/lib/python2.7/threading.py", line 810, in bootstrap_inner self.run() File "/opt/lib/python2.7/threading.py", line 763, in run self.__target(_self.args, *_self.__kwargs) File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 527, in scan_ip_worker except check_ip.HoneypotError as e: AttributeError: 'NoneType' object has no attribute 'HoneypotError'

Exception in thread Thread-15: Traceback (most recent call last): File "/opt/lib/python2.7/threading.py", line 810, in bootstrap_inner self.run() File "/opt/lib/python2.7/threading.py", line 763, in run self.__target(_self.args, *_self.__kwargs) File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 527, in scan_ip_worker except check_ip.HoneypotError as e: AttributeError: 'NoneType' object has no attribute 'HoneypotError'

Exception in thread Thread-14: Traceback (most recent call last): File "/opt/lib/python2.7/threading.py", line 810, in bootstrap_inner self.run() File "/opt/lib/python2.7/threading.py", line 763, in run self.__target(_self.args, _self.kwargs) File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 527, in scan_ip_worker except check_ip.HoneypotError as e: AttributeError: 'NoneType' object has no attribute 'HoneypotError' Exception in thread Thread-17: Traceback (most recent call last): File "/opt/lib/python2.7/threading.py", line 810, in __bootstrap_inner self.run() File "/opt/lib/python2.7/threading.py", line 763, in run self.target(_self.__args, _self.kwargs) File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 527, in scan_ip_worker except check_ip.HoneypotError as e: AttributeError: 'NoneType' object has no attribute 'HoneypotError' Exception in thread Thread-11: Traceback (most recent call last): File "/opt/lib/python2.7/threading.py", line 810, in __bootstrap_inner self.run() File "/opt/lib/python2.7/threading.py", line 763, in run self.target(_self.__args, *_self.__kwargs) File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 527, in scan_ip_worker except check_ip.HoneypotError as e: AttributeError: 'NoneType' object has no attribute 'HoneypotError'

Stopping all modules before exit! Aug 26 07:06:44 - [ERROR] stop module gae_proxy fail:'imp' Traceback (most recent call last): File "/tmp/mnt/sda1/entware.arm/XX-Net/launcher/module_init.py", line 70, in stop _start = proc_handler[module]["imp"].start KeyError: 'imp'

Aug 26 07:06:44 - [INFO] begin to exit web control

xxnet commented 9 years ago

试试把gae_proxy/local/google_ip.py 里的527行后面的内容删除:

        except check_ip.HoneypotError as e:
            self.report_bad_ip(ip_str)
            connect_control.fall_into_honeypot()
            continue

2015-08-26 15:08 GMT+08:00 wctliu notifications@github.com:

重新下载了安装包,也是一样的错误。还有什么办法没?

admin@RT-AC87U:/tmp/mnt/sda1/entware.arm/XX-Net/launcher# python2 start.py Aug 26 07:06:42 - [DEBUG] start confirm_xxnet_exit Aug 26 07:06:43 - [INFO] load ip range file:/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/ip_range.txt Aug 26 07:06:43 - [INFO] load google ip_list num:3000, gws num:3000 Aug 26 07:06:43 - [DEBUG] sort ip time:30ms Aug 26 07:06:43 - [ERROR] start module gae_proxy fail:can't start new thread Traceback (most recent call last): File "/tmp/mnt/sda1/entware.arm/XX-Net/launcher/module_init.py", line 36, in start proc_handler[module]["imp"] = import(module, globals(), locals(), ['local', 'start'], -1) File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/start.py", line 13, in import local.proxy as client File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/proxy.py", line 83, in import proxy_handler File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/proxy_handler.py", line 24, in from connect_manager import https_manager,forwork_manager File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/connect_manager.py", line 42, in from google_ip import google_ip File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 565, in google_ip = Check_ip() File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 87, in init self.search_more_google_ip() File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 553, in search_more_google_ip p.start() File "/opt/lib/python2.7/threading.py", line 745, in start _start_new_thread(self.__bootstrap, ()) error: can't start new thread

Aug 26 07:06:43 - [INFO] start gae_proxy time cost 1398 Traceback (most recent call last): File "start.py", line 104, in main() File "start.py", line 83, in main

web_control.start() File "/tmp/mnt/sda1/entware.arm/XX-Net/launcher/web_control.py", line 392, in start process.start() File "/opt/lib/python2.7/threading.py", line 745, in start _start_new_thread(self.bootstrap, ()) thread.error: can't start new thread Exception in thread Thread-1: Traceback (most recent call last): File "/opt/lib/python2.7/threading.py", line 810, in bootstrap_inner self.run() File "/opt/lib/python2.7/threading.py", line 763, in run self.target(_self.__args, *_self.kwargs) File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 527, in scan_ip_worker except check_ip.HoneypotError as e: AttributeError: 'NoneType' object has no attribute 'HoneypotError'

Exception in thread Thread-2: Traceback (most recent call last): File "/opt/lib/python2.7/threading.py", line 810, in bootstrap_inner self.run() File "/opt/lib/python2.7/threading.py", line 763, in run self.__target(_self.args, *_self.__kwargs) File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 527, in scan_ip_worker except check_ip.HoneypotError as e: AttributeError: 'NoneType' object has no attribute 'HoneypotError'

Exception in thread Thread-3: Traceback (most recent call last): File "/opt/lib/python2.7/threading.py", line 810, in bootstrap_inner self.run() File "/opt/lib/python2.7/threading.py", line 763, in run self.__target(_self.args, *_self.__kwargs) File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 527, in scan_ip_worker except check_ip.HoneypotError as e: AttributeError: 'NoneType' object has no attribute 'HoneypotError'

Exception in thread Thread-4: Traceback (most recent call last): File "/opt/lib/python2.7/threading.py", line 810, in bootstrap_inner self.run() File "/opt/lib/python2.7/threading.py", line 763, in run self.__target(_self.args, *_self.__kwargs) File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 527, in scan_ip_worker except check_ip.HoneypotError as e: AttributeError: 'NoneType' object has no attribute 'HoneypotError'

Exception in thread Thread-5: Traceback (most recent call last): File "/opt/lib/python2.7/threading.py", line 810, in bootstrap_inner self.run() File "/opt/lib/python2.7/threading.py", line 763, in run self.__target(_self.args, *_self.__kwargs) File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 527, in scan_ip_worker except check_ip.HoneypotError as e: AttributeError: 'NoneType' object has no attribute 'HoneypotError'

Exception in thread Thread-6: Traceback (most recent call last): File "/opt/lib/python2.7/threading.py", line 810, in bootstrap_inner self.run() File "/opt/lib/python2.7/threading.py", line 763, in run self.__target(_self.args, *_self.__kwargs) File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 527, in scan_ip_worker except check_ip.HoneypotError as e: AttributeError: 'NoneType' object has no attribute 'HoneypotError'

Exception in thread Thread-7: Traceback (most recent call last): File "/opt/lib/python2.7/threading.py", line 810, in bootstrap_inner self.run() File "/opt/lib/python2.7/threading.py", line 763, in run self.__target(_self.args, *_self.__kwargs) File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 527, in scan_ip_worker except check_ip.HoneypotError as e: AttributeError: 'NoneType' object has no attribute 'HoneypotError'

Exception in thread Thread-8: Traceback (most recent call last): File "/opt/lib/python2.7/threading.py", line 810, in bootstrap_inner self.run() File "/opt/lib/python2.7/threading.py", line 763, in run self.__target(_self.args, *_self.__kwargs) File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 527, in scan_ip_worker except check_ip.HoneypotError as e: AttributeError: 'NoneType' object has no attribute 'HoneypotError'

Exception in thread Thread-9: Traceback (most recent call last): File "/opt/lib/python2.7/threading.py", line 810, in bootstrap_inner self.run() File "/opt/lib/python2.7/threading.py", line 763, in run self.__target(_self.args, *_self.__kwargs) File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 527, in scan_ip_worker except check_ip.HoneypotError as e: AttributeError: 'NoneType' object has no attribute 'HoneypotError'

Exception in thread Thread-10: Traceback (most recent call last): File "/opt/lib/python2.7/threading.py", line 810, in bootstrap_inner self.run() File "/opt/lib/python2.7/threading.py", line 763, in run self.__target(_self.args, *_self.__kwargs) File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 527, in scan_ip_worker except check_ip.HoneypotError as e: AttributeError: 'NoneType' object has no attribute 'HoneypotError'

Exception in thread Thread-12: Traceback (most recent call last): File "/opt/lib/python2.7/threading.py", line 810, in bootstrap_inner self.run() File "/opt/lib/python2.7/threading.py", line 763, in run self.__target(_self.args, *_self.__kwargs) File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 527, in scan_ip_worker except check_ip.HoneypotError as e: AttributeError: 'NoneType' object has no attribute 'HoneypotError'

Exception in thread Thread-13: Traceback (most recent call last): File "/opt/lib/python2.7/threading.py", line 810, in bootstrap_inner self.run() File "/opt/lib/python2.7/threading.py", line 763, in run self.__target(_self.args, *_self.__kwargs) File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 527, in scan_ip_worker except check_ip.HoneypotError as e: AttributeError: 'NoneType' object has no attribute 'HoneypotError'

Exception in thread Thread-16: Traceback (most recent call last): File "/opt/lib/python2.7/threading.py", line 810, in bootstrap_inner self.run() File "/opt/lib/python2.7/threading.py", line 763, in run self.__target(_self.args, *_self.__kwargs) File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 527, in scan_ip_worker except check_ip.HoneypotError as e: AttributeError: 'NoneType' object has no attribute 'HoneypotError'

Exception in thread Thread-15: Traceback (most recent call last): File "/opt/lib/python2.7/threading.py", line 810, in bootstrap_inner self.run() File "/opt/lib/python2.7/threading.py", line 763, in run self.__target(_self.args, *_self.__kwargs) File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 527, in scan_ip_worker except check_ip.HoneypotError as e: AttributeError: 'NoneType' object has no attribute 'HoneypotError'

Exception in thread Thread-14: Traceback (most recent call last): File "/opt/lib/python2.7/threading.py", line 810, in bootstrap_inner self.run() File "/opt/lib/python2.7/threading.py", line 763, in run self.__target(_self.args, _self.kwargs) File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 527, in scan_ip_worker except check_ip.HoneypotError as e: AttributeError: 'NoneType' object has no attribute 'HoneypotError' Exception in thread Thread-17: Traceback (most recent call last): File "/opt/lib/python2.7/threading.py", line 810, in __bootstrap_inner self.run() File "/opt/lib/python2.7/threading.py", line 763, in run self.target(_self.__args, _self.kwargs) File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 527, in scan_ip_worker except check_ip.HoneypotError as e: AttributeError: 'NoneType' object has no attribute 'HoneypotError' Exception in thread Thread-11: Traceback (most recent call last): File "/opt/lib/python2.7/threading.py", line 810, in __bootstrap_inner self.run() File "/opt/lib/python2.7/threading.py", line 763, in run self.target(_self.__args, *_self.__kwargs) File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 527, in scan_ip_worker except check_ip.HoneypotError as e: AttributeError: 'NoneType' object has no attribute 'HoneypotError'

Stopping all modules before exit! Aug 26 07:06:44 - [ERROR] stop module gae_proxy fail:'imp' Traceback (most recent call last): File "/tmp/mnt/sda1/entware.arm/XX-Net/launcher/module_init.py", line 70, in stop _start = proc_handler[module]["imp"].start KeyError: 'imp'

Aug 26 07:06:44 - [INFO] begin to exit web control

— Reply to this email directly or view it on GitHub https://github.com/XX-net/XX-Net/issues/868#issuecomment-134872369.

wctliu commented 9 years ago

只是注释掉这四行吗?似乎还是有问题。

admin@RT-AC87U:/tmp/mnt/sda1/entware.arm/XX-Net/launcher# python2 start.py Aug 26 12:35:21 - [DEBUG] start confirm_xxnet_exit Aug 26 12:35:22 - [INFO] load ip range file:/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/ip_range.txt Aug 26 12:35:22 - [INFO] load google ip_list num:3000, gws num:3000 Aug 26 12:35:22 - [ERROR] start module gae_proxy fail:can't start new thread Traceback (most recent call last): File "/tmp/mnt/sda1/entware.arm/XX-Net/launcher/module_init.py", line 36, in start proc_handler[module]["imp"] = import(module, globals(), locals(), ['local', 'start'], -1) File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/start.py", line 13, in import local.proxy as client File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/proxy.py", line 83, in import proxy_handler File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/proxy_handler.py", line 24, in from connect_manager import https_manager,forwork_manager File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/connect_manager.py", line 42, in from google_ip import google_ip File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 565, in google_ip = Check_ip() File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 87, in init self.search_more_google_ip() File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 553, in search_more_google_ip p.start() File "/opt/lib/python2.7/threading.py", line 745, in start _start_new_thread(self.__bootstrap, ()) error: can't start new thread

Aug 26 12:35:22 - [INFO] start gae_proxy time cost 1301 Traceback (most recent call last): File "start.py", line 104, in main() File "start.py", line 83, in main web_control.start() File "/tmp/mnt/sda1/entware.arm/XX-Net/launcher/web_control.py", line 392, in start process.start() File "/opt/lib/python2.7/threading.py", line 745, in start _start_new_thread(self.bootstrap, ()) thread.error: can't start new thread Exception in thread Thread-1: Traceback (most recent call last): File "/opt/lib/python2.7/threading.py", line 810, in bootstrap_inner self.run() File "/opt/lib/python2.7/threading.py", line 763, in run self.target(_self.__args, *_self.kwargs) File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 532, in scan_ip_worker xlog.exception("google_ip.runJob fail:%s", e) AttributeError: 'NoneType' object has no attribute 'exception'

Exception in thread Thread-2: Traceback (most recent call last): File "/opt/lib/python2.7/threading.py", line 810, in bootstrap_inner self.run() File "/opt/lib/python2.7/threading.py", line 763, in run self.__target(_self.args, *_self.__kwargs) File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 532, in scan_ip_worker xlog.exception("google_ip.runJob fail:%s", e) AttributeError: 'NoneType' object has no attribute 'exception'

Exception in thread Thread-4: Traceback (most recent call last): File "/opt/lib/python2.7/threading.py", line 810, in bootstrap_inner self.run() File "/opt/lib/python2.7/threading.py", line 763, in run self.__target(_self.args, *_self.__kwargs) File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 532, in scan_ip_worker xlog.exception("google_ip.runJob fail:%s", e) AttributeError: 'NoneType' object has no attribute 'exception'

Exception in thread Thread-5: Traceback (most recent call last): File "/opt/lib/python2.7/threading.py", line 810, in bootstrap_inner self.run() File "/opt/lib/python2.7/threading.py", line 763, in run self.__target(_self.args, *_self.__kwargs) File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 532, in scan_ip_worker xlog.exception("google_ip.runJob fail:%s", e) AttributeError: 'NoneType' object has no attribute 'exception'

Exception in thread Thread-6: Traceback (most recent call last): File "/opt/lib/python2.7/threading.py", line 810, in bootstrap_inner self.run() File "/opt/lib/python2.7/threading.py", line 763, in run self.__target(_self.args, *_self.__kwargs) File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 532, in scan_ip_worker xlog.exception("google_ip.runJob fail:%s", e) AttributeError: 'NoneType' object has no attribute 'exception'

Exception in thread Thread-7: Traceback (most recent call last): File "/opt/lib/python2.7/threading.py", line 810, in bootstrap_inner self.run() File "/opt/lib/python2.7/threading.py", line 763, in run self.__target(_self.args, _self.kwargs) File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 532, in scan_ip_worker xlog.exception("google_ip.runJob fail:%s", e) AttributeError: 'NoneType' object has no attribute 'exception' Exception in thread Thread-8: Traceback (most recent call last): File "/opt/lib/python2.7/threading.py", line 810, in __bootstrap_inner self.run() File "/opt/lib/python2.7/threading.py", line 763, in run self.target(_self.__args, _self.__kwargs) File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 532, in scan_ip_worker xlog.exception("google_ip.runJob fail:%s", e) AttributeError: 'NoneType' object has no attribute 'exception'

Exception in thread Thread-9: Traceback (most recent call last): File "/opt/lib/python2.7/threading.py", line 810, in bootstrap_inner self.run() File "/opt/lib/python2.7/threading.py", line 763, in run self.__target(_self.args, *_self.__kwargs) File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 532, in scan_ip_worker xlog.exception("google_ip.runJob fail:%s", e) AttributeError: 'NoneType' object has no attribute 'exception'

Exception in thread Thread-3: Traceback (most recent call last): File "/opt/lib/python2.7/threading.py", line 810, in bootstrap_inner self.run() File "/opt/lib/python2.7/threading.py", line 763, in run self.__target(_self.args, *_self.__kwargs) File "/tmp/mnt/sda1/entware.arm/XX-Net/gae_proxy/local/google_ip.py", line 532, in scan_ip_worker xlog.exception("google_ip.runJob fail:%s", e) AttributeError: 'NoneType' object has no attribute 'exception'

Stopping all modules before exit! Aug 26 12:35:23 - [ERROR] stop module gae_proxy fail:'imp' Traceback (most recent call last): File "/tmp/mnt/sda1/entware.arm/XX-Net/launcher/module_init.py", line 70, in stop _start = proc_handler[module]["imp"].start KeyError: 'imp'

Aug 26 12:35:23 - [INFO] begin to exit web control ^Z^X.

xuanxuaner commented 8 years ago

运行起来了吗?请教