XX-net / XX-Net

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

mac,提示请检查浏览器代理设置,但是没看到右上角的"X"图标 #3053

Open linlang opened 8 years ago

linlang commented 8 years ago

问题描述: 请在此描述你遇到的问题,必要时贴出相关的日志信息。


诊断信息: sys-platform: x86_64, Darwin-14.5.0-x86_64-i386-64bit os-system: Darwin os-version: Darwin Kernel Version 14.5.0: Mon Jan 11 18:48:35 PST 2016; root:xnu-2782.50.2~1/RELEASE_X86_64 os-release: 14.5.0 os-detail: Release:10.10.5; Version:('', '', '') Machine:x86_64 architecture: 64bit, browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/601.5.17 (KHTML, like Gecko) Version/9.1 Safari/601.5.17 xxnet-version: 2.9.6

python-version: 2.7.2

ipv6-status: 0 gws-ip-num: total:1241 good:69 network-status: OK connected-link: new:4 used:22 scan-ip-thread-num: 50 ip-quality: 1055 block-stat: OK proxy_state: Fail ca_state: Fail Appid_Working: true Appids_Out_Of_Quota: false Appids_Not_Exist: false Using_Public_Appid: false

guoye-zhang commented 8 years ago

请问是从哪个版本开始遇到这个问题的? 请发一下启动后终端中的日志。

linlang commented 8 years ago

你好,我的版本是2.9.6,系统是10.10.5 /XX-Net-2.9.6/start.command ; exit; Apr 25 18:26:09.112 - [INFO] start XX-Net get_version_fail Apr 25 18:26:09.112 - [DEBUG] start confirm_xxnet_exit Apr 25 18:26:09.114 - [DEBUG] good, xxnet:8087 cleared! Apr 25 18:26:09.115 - [DEBUG] good, xxnet:8085 clear! Apr 25 18:26:09.115 - [DEBUG] finished confirm_xxnet_exit Apr 25 18:26:09.613 - [DEBUG] network is ok, cost:471 ms Apr 25 18:26:09.615 - [INFO] SSL use version:TLSv1 Apr 25 18:26:09.616 - [INFO] load ip range file:/Users/Linyoung/Downloads/XX-Net-2.9.6/gae_proxy/local/ip_range.txt Apr 25 18:26:09.649 - [INFO] load google ip_list num:1596, gws num:1596 Apr 25 18:26:09.664 - [DEBUG] ## GAEProxy set keep_running: True Apr 25 18:26:09.665 - [INFO] ------------------------------------------------------ Apr 25 18:26:09.665 - [INFO] Python Version : 2.7.2 Apr 25 18:26:09.668 - [INFO] OS : Release:10.10.5; Version:('', '', '') Machine:x86_64 Apr 25 18:26:09.668 - [INFO] Listen Address : 127.0.0.1:8087 Apr 25 18:26:09.668 - [INFO] GAE APPID : zuiqiangshudu|suoshiios Apr 25 18:26:09.668 - [INFO] Pac Server : http://127.0.0.1:8086/proxy.pac

guoye-zhang commented 8 years ago

之前有x图标是什么版本请问你记得吗? 日志能否再稍微加长一点?启动后十秒应该足够了,应该会有些警告或异常。

linlang commented 8 years ago

你好,这个软件我第一次用。 Last login: Mon Apr 25 18:56:38 on ttys003 /Users/Linyoung/Downloads/XX-Net-2.9.6/start.command ; exit; MacBook-Pro:~ Linyoung$ /Users/Linyoung/Downloads/XX-Net-2.9.6/start.command ; exit; Apr 25 18:56:48.060 - [INFO] start XX-Net get_version_fail Apr 25 18:56:48.060 - [DEBUG] start confirm_xxnet_exit Apr 25 18:56:48.061 - [DEBUG] good, xxnet:8087 cleared! Apr 25 18:56:48.062 - [DEBUG] good, xxnet:8085 clear! Apr 25 18:56:48.062 - [DEBUG] finished confirm_xxnet_exit Apr 25 18:56:48.616 - [DEBUG] network is ok, cost:471 ms Apr 25 18:56:48.619 - [INFO] SSL use version:TLSv1 Apr 25 18:56:48.624 - [INFO] load ip range file:/Users/Linyoung/Downloads/XX-Net-2.9.6/gae_proxy/local/ip_range.txt Apr 25 18:56:48.669 - [INFO] load google ip_list num:1659, gws num:1659 Apr 25 18:56:48.687 - [DEBUG] ## GAEProxy set keep_running: True Apr 25 18:56:48.690 - [INFO] ------------------------------------------------------ Apr 25 18:56:48.690 - [INFO] Python Version : 2.7.2 Apr 25 18:56:48.699 - [INFO] OS : Release:10.10.5; Version:('', '', '') Machine:x86_64 Apr 25 18:56:48.699 - [INFO] Listen Address : 127.0.0.1:8087 Apr 25 18:56:48.699 - [INFO] GAE APPID : zuiqiangshudu|suoshiios Apr 25 18:56:48.699 - [INFO] Pac Server : http://127.0.0.1:8086/proxy.pac Apr 25 18:56:48.699 - [INFO] ------------------------------------------------------ Apr 25 18:56:48.737 - [INFO] GoAgent CA exist Apr 25 18:56:48.738 - [INFO] server 127.0.0.1:8087 started. Apr 25 18:56:48.738 - [INFO] server 127.0.0.1:8086 started. Apr 25 18:56:48.790 - [INFO] module gae_proxy started Apr 25 18:56:48.790 - [INFO] start gae_proxy time cost:727 ms WARNING:root:Load Crypto.Cipher.ARC4 Failed, Use Pure Python Instead. Apr 25 18:56:48.823 - [INFO] use config_path:/Users/Linyoung/Downloads/XX-Net-2.9.6/data/x_tunnel/client.json Apr 25 18:56:48.823 - [INFO] Use proxy:127.0.0.1:8087 Apr 25 18:56:48.823 - [DEBUG] x-tunnel no account Apr 25 18:56:48.824 - [WARNING] x-tunnel session not start Apr 25 18:56:48.824 - [INFO] server 127.0.0.1:1080 started. Apr 25 18:56:48.824 - [INFO] Socks5 server listen:127.0.0.1:1080. Apr 25 18:56:48.924 - [INFO] module x_tunnel started Apr 25 18:56:48.924 - [INFO] start x_tunnel time cost:133 ms Apr 25 18:56:48.924 - [INFO] begin to start web control Apr 25 18:56:48.924 - [INFO] server 127.0.0.1:8085 started. Apr 25 18:56:48.925 - [INFO] launcher web control started. Apr 25 18:56:49.805 - [DEBUG] launcher web_control 127.0.0.1:60285 GET /config?cmd=get_config Apr 25 18:56:49.875 - [DEBUG] launcher web_control 127.0.0.1:60285 GET /config?cmd=get_config Apr 25 18:56:50.110 - [INFO] get uuid:adcfc10d-8e48-49bf-af92-5bc79dd23a51 Apr 25 18:56:50.135 - [INFO] GAE CONNECT xxnet-update.appspot.com:443 Apr 25 18:56:50.156 - [DEBUG] GAE CONNECT Direct GET https://xxnet-update.appspot.com/update.json?uuid=adcfc10d-8e48-49bf-af92-5bc79dd23a51&version=get_version_fail&platform=Darwin-14.5.0-x86_64-i386-64bit Apr 25 18:56:50.162 - [DEBUG] get ip:210.139.253.250 t:141 Apr 25 18:56:50.447 - [DEBUG] create_ssl update ip:210.139.253.250 time:183 Apr 25 18:56:50.466 - [DEBUG] get ip:1.255.33.110 t:170 Apr 25 18:56:50.682 - [DEBUG] create_ssl update ip:1.255.33.110 time:146 Apr 25 18:56:50.724 - [INFO] DIRECT t:567 s:1674 200 xxnet-update.appspot.com /update.json?uuid=adcfc10d-8e48-49bf-af92-5bc79dd23a51&version=get_version_fail&platform=Darwin-14.5.0-x86_64-i386-64bit Apr 25 18:56:50.725 - [INFO] download https://raw.githubusercontent.com/XX-net/XX-Net/master/README.md to /Users/Linyoung/Downloads/XX-Net-2.9.6/data/downloads/README.md, retry:0 Apr 25 18:56:50.769 - [DEBUG] get ip:1.255.22.42 t:182 Apr 25 18:56:50.999 - [DEBUG] get ip:101.78.13.16 t:194 Apr 25 18:56:51.063 - [DEBUG] create_ssl update ip:1.255.22.42 time:196 Apr 25 18:56:51.074 - [DEBUG] get ip:61.86.203.33 t:201 Apr 25 18:56:51.103 - [DEBUG] get ip:58.123.102.224 t:203 Apr 25 18:56:51.205 - [DEBUG] get ip:111.107.254.185 t:213 Apr 25 18:56:51.310 - [DEBUG] get ip:106.162.200.38 t:229 Apr 25 18:56:51.353 - [DEBUG] create_ssl update ip:61.86.203.33 time:185 Apr 25 18:56:51.364 - [DEBUG] create_ssl update ip:58.123.102.224 time:169 Apr 25 18:56:51.414 - [DEBUG] get ip:202.248.151.106 t:231 Apr 25 18:56:51.449 - [DEBUG] get ip:121.78.71.116 t:246 Apr 25 18:56:51.519 - [DEBUG] get ip:211.124.13.167 t:261 Apr 25 18:56:51.620 - [DEBUG] create_ssl update ip:111.107.254.185 time:274 Apr 25 18:56:51.685 - [DEBUG] create_ssl update ip:101.78.13.16 time:449 Apr 25 18:56:51.705 - [DEBUG] create_ssl update ip:106.162.200.38 time:263 Apr 25 18:56:51.838 - [DEBUG] create_ssl update ip:121.78.71.116 time:259 Apr 25 18:56:51.901 - [DEBUG] create_ssl update ip:211.124.13.167 time:242 Apr 25 18:56:51.997 - [ERROR] check_update fail:TypeError("'NoneType' object is not subscriptable",) Apr 25 18:56:51.999 - [ERROR] Except stack:Traceback (most recent call last): File "/Users/Linyoung/Downloads/XX-Net-2.9.6/launcher/update.py", line 248, in check_update if LooseVersion(current_version) < LooseVersion(versions[1][1]): TypeError: 'NoneType' object is not subscriptable

Apr 25 18:56:55.419 - [DEBUG] 202.248.151.106 fail:timeout('timed out',) Apr 25 18:56:55.420 - [DEBUG] report_connect_fail:202.248.151.106 Apr 25 18:57:04.806 - [INFO] scan_ip add ip:81.175.29.156 time:775 Apr 25 18:57:10.422 - [DEBUG] ip:202.248.151.106 real fail Apr 25 18:57:17.965 - [INFO] scan_ip add ip:186.207.162.166 time:1501 Apr 25 18:57:24.518 - [INFO] scan_ip add ip:85.14.28.224 time:566 Apr 25 18:57:24.915 - [INFO] scan_ip add ip:181.64.130.96 time:751 Apr 25 18:57:33.712 - [INFO] scan_ip add ip:94.20.252.174 time:987 Apr 25 18:57:40.915 - [INFO] scan_ip add ip:167.206.252.116 time:814 Apr 25 18:57:42.815 - [DEBUG] 210.139.253.250 close:host pool alive_timeout Apr 25 18:57:42.815 - [DEBUG] ssl_closed 210.139.253.250 Apr 25 18:57:44.072 - [DEBUG] app head fail status:404 Apr 25 18:57:44.072 - [WARNING] 106.162.200.38 head suoshiios request fail:Exception('app check fail 404',) Apr 25 18:57:44.072 - [DEBUG] 106.162.200.38 close:HEAD Apr 25 18:57:44.073 - [DEBUG] ssl_closed 106.162.200.38 Apr 25 18:57:44.079 - [DEBUG] app head fail status:404 Apr 25 18:57:44.080 - [WARNING] 111.107.254.185 head suoshiios request fail:Exception('app check fail 404',) Apr 25 18:57:44.080 - [DEBUG] 111.107.254.185 close:HEAD Apr 25 18:57:44.080 - [DEBUG] ssl_closed 111.107.254.185 Apr 25 18:57:44.082 - [DEBUG] app head fail status:404 Apr 25 18:57:44.082 - [WARNING] 1.255.22.42 head suoshiios request fail:Exception('app check fail 404',) Apr 25 18:57:44.082 - [DEBUG] 1.255.22.42 close:HEAD Apr 25 18:57:44.083 - [DEBUG] ssl_closed 1.255.22.42 Apr 25 18:57:44.349 - [DEBUG] app head fail status:404 Apr 25 18:57:44.349 - [WARNING] 101.78.13.16 head suoshiios request fail:Exception('app check fail 404',) Apr 25 18:57:44.349 - [DEBUG] 101.78.13.16 close:HEAD Apr 25 18:57:44.350 - [DEBUG] ssl_closed 101.78.13.16 Apr 25 18:57:44.685 - [DEBUG] get ip:210.139.253.250 t:183 Apr 25 18:57:44.784 - [DEBUG] get ip:1.255.22.42 t:196 Apr 25 18:57:44.887 - [DEBUG] get ip:106.162.200.38 t:263 Apr 25 18:57:44.992 - [DEBUG] get ip:111.107.254.185 t:274 Apr 25 18:57:45.000 - [DEBUG] create_ssl update ip:210.139.253.250 time:206 Apr 25 18:57:45.044 - [DEBUG] create_ssl update ip:1.255.22.42 time:170 Apr 25 18:57:45.093 - [DEBUG] get ip:27.90.189.152 t:276 Apr 25 18:57:45.100 - [DEBUG] app head fail status:404 Apr 25 18:57:45.100 - [WARNING] 211.124.13.167 head suoshiios request fail:Exception('app check fail 404',) Apr 25 18:57:45.100 - [DEBUG] 211.124.13.167 close:HEAD Apr 25 18:57:45.101 - [DEBUG] ssl_closed 211.124.13.167 Apr 25 18:57:45.292 - [DEBUG] create_ssl update ip:106.162.200.38 time:277 Apr 25 18:57:45.455 - [DEBUG] create_ssl update ip:111.107.254.185 time:319 Apr 25 18:57:45.522 - [DEBUG] app head fail status:404 Apr 25 18:57:45.522 - [WARNING] 121.78.71.116 head suoshiios request fail:Exception('app check fail 404',) Apr 25 18:57:45.522 - [DEBUG] 121.78.71.116 close:HEAD Apr 25 18:57:45.522 - [DEBUG] ssl_closed 121.78.71.116 Apr 25 18:57:45.525 - [DEBUG] create_ssl update ip:27.90.189.152 time:279 Apr 25 18:57:57.208 - [INFO] scan_ip add ip:186.215.92.88 time:1274 Apr 25 18:58:25.407 - [INFO] scan_ip add ip:189.63.251.183 time:851 Apr 25 18:58:26.677 - [INFO] scan_ip add ip:167.206.252.170 time:578 Apr 25 18:58:33.359 - [INFO] scan_ip add ip:200.10.226.153 time:804 Apr 25 18:58:38.240 - [DEBUG] app head fail status:404 Apr 25 18:58:38.240 - [WARNING] 27.90.189.152 head suoshiios request fail:Exception('app check fail 404',) Apr 25 18:58:38.240 - [DEBUG] 27.90.189.152 close:HEAD Apr 25 18:58:38.240 - [DEBUG] ssl_closed 27.90.189.152 Apr 25 18:58:38.251 - [DEBUG] app head fail status:404 Apr 25 18:58:38.251 - [WARNING] 111.107.254.185 head suoshiios request fail:Exception('app check fail 404',) Apr 25 18:58:38.251 - [DEBUG] 111.107.254.185 close:HEAD Apr 25 18:58:38.252 - [DEBUG] ssl_closed 111.107.254.185 Apr 25 18:58:38.829 - [DEBUG] get ip:211.124.13.167 t:242 Apr 25 18:58:38.933 - [DEBUG] get ip:121.78.71.116 t:259 Apr 25 18:58:39.036 - [DEBUG] get ip:27.90.189.152 t:279 Apr 25 18:58:39.138 - [DEBUG] get ip:122.251.255.158 t:296 Apr 25 18:58:39.243 - [DEBUG] get ip:203.139.206.215 t:300 Apr 25 18:58:39.269 - [DEBUG] create_ssl update ip:211.124.13.167 time:286 Apr 25 18:58:39.347 - [DEBUG] get ip:59.18.44.20 t:301 Apr 25 18:58:39.347 - [DEBUG] create_ssl update ip:121.78.71.116 time:279 Apr 25 18:58:39.431 - [DEBUG] create_ssl update ip:27.90.189.152 time:265 Apr 25 18:58:39.451 - [DEBUG] get ip:59.190.145.219 t:317 Apr 25 18:58:39.532 - [DEBUG] create_ssl update ip:122.251.255.158 time:254 Apr 25 18:58:39.556 - [DEBUG] get ip:111.107.254.185 t:319 Apr 25 18:58:39.626 - [DEBUG] create_ssl update ip:203.139.206.215 time:240 Apr 25 18:58:39.758 - [DEBUG] create_ssl update ip:59.18.44.20 time:282 Apr 25 18:58:39.845 - [DEBUG] create_ssl update ip:59.190.145.219 time:267 Apr 25 18:58:39.898 - [DEBUG] create_ssl update ip:111.107.254.185 time:229 Apr 25 18:58:56.901 - [INFO] scan_ip add ip:118.98.76.181 time:475 Apr 25 18:58:58.760 - [INFO] scan_ip add ip:64.53.1.231 time:776 Apr 25 18:58:58.825 - [INFO] scan_ip add ip:189.90.243.40 time:802 Apr 25 18:58:59.670 - [INFO] scan_ip add ip:189.199.105.49 time:666 Apr 25 18:59:04.645 - [INFO] scan_ip add ip:196.27.66.242 time:753 Apr 25 18:59:25.263 - [INFO] scan_ip add ip:67.218.93.36 time:579 Apr 25 18:59:28.003 - [INFO] scan_ip add ip:64.71.249.88 time:572

guoye-zhang commented 8 years ago

最近我对mac状态栏图标做了较大修改,之后收到了几个类似的报告,但一直没有找到原因,没法重现出这个问题。

日志中没看到什么异常,请问能否修改一下代码,帮我调试一下?

具体是把launcher/start.py的70行开始的

try:
    import mac_tray as sys_tray
except:
    from non_tray import sys_tray

替换为

import mac_tray as sys_tray

注意一下缩进,确保这一行前面只有四个空格。

然后执行,把日志发上来。