haipproxy icon indicating copy to clipboard operation
haipproxy copied to clipboard

squid_update.py获取代理池出现问题

Open hlafsnio opened this issue 7 years ago • 0 comments

按照步骤安装完对应的环境后,首先执行

$ sudo python3 squid_update.py
:0: UserWarning: You do not have a working installation of the service_identity module: 'cannot import name 'opentype''.  Please install it from <https://pypi.python.org/pypi/service_identity> and make sure all of its dependencies are satisfied.  Without the service_identity module, Twisted can perform only rudimentary TLS client hostname verification.  Many valid certificate/hostname mappings may be rejected.
2018-12-29 21:00:58 [client] INFO: the updating task is starting...
2018-12-29 21:00:58 [client] INFO: no proxies got at this turn
2018-12-29 21:00:58 [client] INFO: update squid conf successfully
2018-12-29 21:02:58 [schedule] INFO: Running job Every 2 minutes do update_conf() (last run: [never], next run: 2018-12-29 21:02:58)
2018-12-29 21:02:58 [client] INFO: no proxies got at this turn
2018-12-29 21:02:58 [client] INFO: update squid conf successfully
2018-12-29 21:04:58 [schedule] INFO: Running job Every 2 minutes do update_conf() (last run: 2018-12-29 21:02:58, next run: 2018-12-29 21:04:58)
2018-12-29 21:04:58 [client] INFO: no proxies got at this turn
2018-12-29 21:04:58 [client] INFO: update squid conf successfully


并没有获取到ip...感觉是自己没有理解squid的作用,是由它去下载ip池吗...还是我哪里步骤错误了....

hlafsnio avatar Dec 29 '18 13:12 hlafsnio