XX-net / XX-Net

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

mac下最新chrome出现问题 #5187

Open causlayer opened 7 years ago

causlayer commented 7 years ago

Mac版本是10.12.3 (16D32),chrome版本是59.0.3047.0 dev (64-bit) 错误是: 无法访问此网站

网址为 http://127.0.0.1:8085/ 的网页可能暂时无法连接,或者它已永久性地移动到了新网址。 ERR_MANDATORY_PROXY_CONFIGURATION_FAILED

情况是刚更新了chrome出现了错误,当chrome选择pac状态时不行http://127.0.0.1:8086/proxy.pac。 我也搜了一下以往的帖子也有出现这个问题的,基本是proxy.pac不全导致的,可我的proxy.pac文件是正常的,没有问题,否则在其它浏览器也不能正常访问,因为平时就用chrome,其它浏览器不是太习惯,请帮忙看看如何解决,谢谢

denotepython commented 7 years ago

可能端口被占用,我打开shawdowsocks后就会冲突

jzp820927 commented 7 years ago

意思是打不开 http://127.0.0.1:8085/ 地址?

denotepython commented 7 years ago

嗯,包括notebook使用等,都会有端口冲突

jzp820927 commented 7 years ago

那就检查下是否有端口占用,终端窗口输入下面的命令看看 netstat -tlnp|grep 8087

denotepython commented 7 years ago

@jzp820927 以为你是楼主了,我关闭ss就好了

jzp820927 commented 7 years ago

好吧,我是不是楼主,有什么关系麽?

causlayer commented 7 years ago

我使用http://127.0.0.1:8086/proxy.pac还是有问题,我打印了一下,帮忙看下,谢谢 我现在只能使用xx-net自动切换或xx-net,pac方式无法使用。 -> % ./start -hungup Python 2.7.10 XX-Net version:default Mar 27 08:05:12.238 - [INFO] import build-in openssl fail:AttributeError("'module' object has no attribute 'SSL_ST_INIT'",) Mar 27 08:05:12.299 - [INFO] start XX-Net 3.3.0 Mar 27 08:05:12.299 - [DEBUG] start confirm_xxnet_exit Mar 27 08:05:12.304 - [DEBUG] good, xxnet:8087 cleared! Mar 27 08:05:12.308 - [DEBUG] good, xxnet:8085 clear! Mar 27 08:05:12.308 - [DEBUG] finished confirm_xxnet_exit Mar 27 08:05:12.323 - [INFO] load manual.ini success Mar 27 08:05:12.504 - [INFO] SSL use version:TLSv1 Mar 27 08:05:12.507 - [INFO] OpenSSL support alpn Mar 27 08:05:12.511 - [INFO] load ip range file:/Applications/XX-Net/data/gae_proxy/ip_range.txt Mar 27 08:05:12.582 - [INFO] load google ip_list num:3000, gws num:3000 Mar 27 08:05:12.603 - [INFO] OpenSSL support alpn Mar 27 08:05:12.604 - [DEBUG] get ip:61.219.131.78 t:150 Mar 27 08:05:12.610 - [DEBUG] get ip:95.154.114.121 t:150 Mar 27 08:05:12.618 - [INFO] load manual.ini success Mar 27 08:05:12.620 - [DEBUG] ## GAEProxy set keep_running: True Mar 27 08:05:12.620 - [INFO] ------------------------------------------------------ Mar 27 08:05:12.620 - [INFO] Python Version : 2.7.10 Mar 27 08:05:12.621 - [INFO] OS : Release:10.12.3; Version:('', '', '') Machine:x86_64 Mar 27 08:05:12.621 - [INFO] Listen Address : 0.0.0.0:8087 Mar 27 08:05:12.621 - [INFO] GAE APPID : ID...... Mar 27 08:05:12.621 - [INFO] Pac Server : http://0.0.0.0:8086/proxy.pac Mar 27 08:05:12.621 - [INFO] ------------------------------------------------------ Mar 27 08:05:12.691 - [INFO] GoAgent CA exist Mar 27 08:05:12.692 - [INFO] server 0.0.0.0:8087 started. Mar 27 08:05:12.692 - [INFO] server 0.0.0.0:8086 started. Mar 27 08:05:12.721 - [INFO] module gae_proxy started Mar 27 08:05:12.721 - [INFO] start gae_proxy time cost:412 ms Mar 27 08:05:12.778 - [INFO] use config_path:/Applications/XX-Net/data/x_tunnel/client.json Mar 27 08:05:12.780 - [INFO] Use proxy:127.0.0.1:8087 Mar 27 08:05:12.780 - [INFO] server 127.0.0.1:1080 started. Mar 27 08:05:12.780 - [INFO] Socks5 server listen:127.0.0.1:1080. Mar 27 08:05:12.847 - [DEBUG] create_ssl update ip:95.154.114.121 time:150 h2:0 Mar 27 08:05:12.847 - [DEBUG] create_ssl update ip:61.219.131.78 time:162 h2:0 Mar 27 08:05:12.879 - [INFO] module x_tunnel started Mar 27 08:05:12.879 - [INFO] start x_tunnel time cost:157 ms Mar 27 08:05:12.880 - [INFO] begin to start web control Mar 27 08:05:12.880 - [INFO] server 127.0.0.1:8085 started. Mar 27 08:05:12.881 - [INFO] launcher web control started. Mar 27 08:05:13.115 - [DEBUG] get ip:113.171.244.78 t:154 cp: /Library/Preferences/SystemConfiguration/preferences.plist.old: Permission denied cp: /Library/Preferences/SystemConfiguration/preferences.plist.old: Permission denied Mar 27 08:05:13.233 - [DEBUG] network is ok, cost:844 ms cp: /Library/Preferences/SystemConfiguration/preferences.plist.old: Permission denied Mar 27 08:05:13.287 - [INFO] PAC from:127.0.0.1:54081 GET /proxy.pac Mar 27 08:05:13.620 - [DEBUG] get ip:45.64.20.48 t:159 Mar 27 08:05:13.853 - [DEBUG] get ip:61.219.131.234 t:159 Mar 27 08:05:14.100 - [DEBUG] create_ssl update ip:61.219.131.234 time:162 h2:0 Mar 27 08:05:14.759 - [INFO] scan_ip add ip:110.50.81.239 time:471 Mar 27 08:05:14.769 - [INFO] remove_slowest_ip:173.194.24.25 handshake_time:448, fails:1 Mar 27 08:05:14.777 - [INFO] scan_ip add ip:202.69.185.254 time:425 Mar 27 08:05:14.787 - [INFO] remove_slowest_ip:92.226.2.230 handshake_time:402, fails:1 Mar 27 08:05:17.116 - [DEBUG] 113.171.244.78 fail:timeout('timed out',) Mar 27 08:05:17.117 - [DEBUG] report_connect_fail:113.171.244.78 Mar 27 08:05:17.624 - [DEBUG] 45.64.20.48 fail:timeout('timed out',) Mar 27 08:05:17.624 - [DEBUG] report_connect_fail:45.64.20.48 Mar 27 08:05:21.313 - [INFO] PAC from:127.0.0.1:54189 GET /proxy.pac Mar 27 08:05:32.128 - [DEBUG] ip:113.171.244.78 real fail Mar 27 08:05:37.133 - [DEBUG] ip:45.64.20.48 real fail

jzp820927 commented 7 years ago

浏览器打开 http://127.0.0.1:8086/proxy.pac 看看能不能正常访问

causlayer commented 7 years ago

不能 提示错误: 无法访问此网站

网址为 http://127.0.0.1:8086/proxy.pac 的网页可能暂时无法连接,或者它已永久性地移动到了新网址。 ERR_MANDATORY_PROXY_CONFIGURATION_FAILED

jzp820927 commented 7 years ago

是不是开全局代理了?

causlayer commented 7 years ago

没有开全局

jzp820927 commented 7 years ago

或者把整个 XX 全部删除,重新下载配置试试

causlayer commented 7 years ago

已经全部删除,重新下载的,pac模式还是不行,xx-net自动切换就可以。

jzp820927 commented 7 years ago

诡异,应该是和 https://github.com/XX-net/XX-Net/issues/5211#issuecomment-290729664 一个问题,到那边去提问吧。一起处理。

onjava8 commented 3 years ago

是不是有翻墙软件,把翻墙退了试试