XX-net / XX-Net

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

mac点击start之后不显示托盘图标,控制页显示请检查浏览器代理设置 #5019

Open drawwon opened 7 years ago

drawwon commented 7 years ago

mac点击start之后不显示托盘图标 控制页显示:请检查浏览器代理设置 osx版本:10.12.3 xx-net版本:3.2.9

Feb 16 23:25:24.797 - [INFO] SSL use version:TLSv1 Feb 16 23:25:24.800 - [INFO] OpenSSL support alpn Feb 16 23:25:24.803 - [INFO] load ip range file:/Users/apple/Downloads/XX-Net-3.2.9/code/default/gae_proxy/local/ip_range.txt Feb 16 23:25:24.830 - [INFO] load google ip_list num:347, gws num:347 Feb 16 23:25:24.839 - [INFO] OpenSSL support alpn Feb 16 23:25:24.839 - [DEBUG] get ip:218.253.0.234 t:119 Feb 16 23:25:24.843 - [DEBUG] get ip:61.238.203.57 t:130 Feb 16 23:25:24.847 - [DEBUG] ## GAEProxy set keep_running: True Feb 16 23:25:24.848 - [INFO] ------------------------------------------------------ Feb 16 23:25:24.848 - [INFO] Python Version : 2.7.10 Feb 16 23:25:24.857 - [INFO] OS : Release:10.12.3; Version:('', '', '') Machine:x86_64 Feb 16 23:25:24.857 - [INFO] Listen Address : 127.0.0.1:8087 Feb 16 23:25:24.857 - [INFO] GAE APPID : Feb 16 23:25:24.857 - [INFO] Pac Server : http://127.0.0.1:8086/proxy.pac Feb 16 23:25:24.857 - [INFO] ------------------------------------------------------ Feb 16 23:25:24.904 - [INFO] try auto import CA command:osascript -e 'do shell script "security delete-certificate -Z 10DD9C108CB460A837194A98BC7A2ABD84E5EE8D;security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain ../../../../data/gae_proxy/CA.crt" with administrator privileges' Feb 16 23:25:24.969 - [DEBUG] network is ok, cost:229 ms Feb 16 23:25:25.042 - [DEBUG] create_ssl update ip:61.238.203.57 time:132 h2:0 Feb 16 23:25:25.348 - [DEBUG] get ip:113.171.253.146 t:140 Feb 16 23:25:25.382 - [DEBUG] create_ssl update ip:218.253.0.234 time:454 h2:0 Feb 16 23:25:25.848 - [DEBUG] get ip:37.8.144.205 t:142 Feb 16 23:25:26.046 - [DEBUG] get ip:203.233.126.22 t:143 Feb 16 23:25:26.067 - [DEBUG] create_ssl update ip:37.8.144.205 time:141 h2:0 Feb 16 23:25:26.265 - [DEBUG] create_ssl update ip:203.233.126.22 time:146 h2:0 Feb 16 23:25:30.397 - [INFO] GAE CONNECT xxnet-update.appspot.com:443 Feb 16 23:25:30.408 - [DEBUG] GAE CONNECT Direct GET https://xxnet-update.appspot.com/update.json?uuid=f7321b77-21cb-43ed-8a59-4729bf2a5284&version=3.2.9&platform=Darwin-16.4.0-x86_64-i386-64bit Feb 16 23:25:30.665 - [INFO] DIRECT t:256 s:1674 200 xxnet-update.appspot.com /update.json?uuid=f7321b77-21cb-43ed-8a59-4729bf2a5284&version=3.2.9&platform=Darwin-16.4.0-x86_64-i386-64bit Feb 16 23:25:32.453 - [DEBUG] 113.171.253.146 fail:error(' certficate is none',) Feb 16 23:25:32.453 - [DEBUG] report_connect_fail:113.171.253.146 Feb 16 23:25:35.892 - [DEBUG] GAEProxy web_control 127.0.0.1:53090 POST /config?cmd=get_config Feb 16 23:25:35.893 - [DEBUG] GAEProxy Web_control 127.0.0.1:53092 GET /scan_ip?cmd=get_range Feb 16 23:25:35.893 - [INFO] load ip range file:/Users/apple/Downloads/XX-Net-3.2.9/code/default/gae_proxy/local/ip_range.txt

jzp820927 commented 7 years ago

证书导入了嘛?直接用代理访问一个网站试试,能不能访问

leonchau commented 7 years ago

我的也是如此,显示一个python的进程,还关不掉,只能在进程管理里删除

leonchau commented 7 years ago

Last login: Wed Mar 1 18:17:23 on ttys000 bogon:~ leon$ /Applications/XX-Net-3.2.9/start ; exit; Python 2.7.10 XX-Net version:default logout Saving session... ...copying shared history... ...saving history...truncating history files... ...completed.

[Process completed]

用了sudo ./start 也不行!

jzp820927 commented 7 years ago

python code/default/launcher/start.py 终端直接运行上面的命令,行不行?

leonchau commented 7 years ago

screen shot 2017-03-02 at 16 14 31 screen shot 2017-03-02 at 16 15 28 还是不行,右上角没有图标啊~

jzp820927 commented 7 years ago

图标就别管了,看日志,已经正常运行了,应该可以用。你试试就知道了。

leonchau commented 7 years ago

screen shot 2017-03-02 at 17 32 07 screen shot 2017-03-02 at 17 33 00 都没有右上角的x,怎么点选自动代理 刚才试了下,还是不行

leonchau commented 7 years ago

screen shot 2017-03-02 at 17 37 54 你看!

jzp820927 commented 7 years ago

用命令行运行时没有图标的,因为现在直接运行不成功,所以让你在终端运行试试。 你是怎么配置的代理?有没有导入证书?

leonchau commented 7 years ago

代理不知道在哪里配置,证书是导进去了!请看截图,代理文档里就说直接使用右上角的图标选择智能代理呀,莫非还有其他的设置方法?请大神告知:)thx screen shot 2017-03-06 at 12 24 21

jzp820927 commented 7 years ago

google 搜索“mac 配置 系统 代理”

leonchau commented 7 years ago

screen shot 2017-03-07 at 12 12 14 我是配置错误了吗? screen shot 2017-03-07 at 12 14 11 还是我要按照这个网页上的这个代理配置,端口号怎么写按网页上,还是分开

jzp820927 commented 7 years ago

看你配置的截图,没啥问题,IP 是 127.0.0.1,端口号:8087 . 现在具体是啥问题?

linfuyan commented 7 years ago

image

mac 10.12.3 xx-net 3.2.9

进去运行 start,就出现上面的。然后就没有了...

是什么原因呢

jzp820927 commented 7 years ago

@linfuyan python code/default/launcher/start.py 终端直接运行上面的命令,行不行?

linfuyan commented 7 years ago

image

出现这个算跑成功了吗?从昨晚上扫描IP,到现在这样。

但是代理还是跑不上。

重启了一下,跑起来了!

jzp820927 commented 7 years ago

是的,这个就是跑成功了。不要关闭终端,不然 XX 也一起关了,最小化终端,设置系统代理,或者浏览器代理,就可以用了。

linfuyan commented 7 years ago

好的 多谢 @jzp820927