{"action":"created","issue":{"url":"https://api.github.com/repos/XX-net/XX-Net/issues/1597","labels_url":"https://api.github.com/repos/XX-net/XX-Net/issues/1597/labels{/name}","comments_url":"https://api.github.com/repos/XX-net/XX-Net/issues/1597/comments","events_url":"https://api.github.com/repos/XX-net/XX-Net/issues/1597/events","html_url":"https://github.com/XX-net/XX-Net/issues/1597","id":122202333,"number":1597,"title":"【意见征集】如果XX-Net推出“自动诊断”功能……","user":{"login":"simonasd","id":6830787,"avatar_url":"https://avatars.githubusercontent.com/u/6830787?v=3","gravatar_id":"","url":"https://api.github.com/users/simonasd","html_url":"https://github.com/simonasd","followers_url":"https://api.github.com/users/simonasd/followers","following_url":"https://api.github.com/users/simonasd/following{/other_user}","gists_url":"https://api.github.com/users/simonasd/gists{/gist_id}","starred_url":"https://api.github.com/users/simonasd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonasd/subscriptions","organizations_url":"https://api.github.com/users/simonasd/orgs","repos_url":"https://api.github.com/users/simonasd/repos","events_url":"https://api.github.com/users/simonasd/events{/privacy}","received_events_url":"https://api.github.com/users/simonasd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":33,"created_at":"2015-12-15T06:24:44Z","updated_at":"2015-12-16T03:41:01Z","closed_at":null,"body":"如果XX-Net推出“自动诊断”功能，你们希望它能检测（甚至自动修复）哪些问题呢？\r\n\r\n\r\n-----\r\n目前的设想是提供一个“自动诊断问题”的按钮，用户点击后，系统自动【按顺序】诊断如下内容：\r\n* IPV4网络是否可用（如果用户启用了IPV6，改为判断IPV6是否可用）\r\n    * 如果不可用，提示用户检查网络和防火墙设置\r\n* 是否能与GAE服务器建立通讯\r\n    * 如果无法联通：判断是否有可用IP\r\n        * 如果没有可用IP，提示用户耐心等待扫描\r\n    * 如果有可用IP，则检测是否存在可用的APPID。\r\n* 是否导入证书（尚未实现）\r\n    * 如果没有，自动导入证书，并再次检测。\r\n        * 如果还是没有证书，提示用户手动导入，并给出教程\r\n* 是否正确设置代理\r\n    * （目前已经能检测系统代理设置，尚未实现浏览器代理设置检测）\r\n    * （一种可能的检测方法：打开一个子页面访问Facebook或其他非Google系的墙外https链接，如果未收到对应的代理请求，说明代理设置不正确。）\r\n\r\n\r\n----\r\n其他提议一并整理如下：\r\n* 日志加入多语言支持，当操作系统语言为中文时，日志输出也为中文。\r\n* 将WebUI的首页设计为非常简洁的“傻瓜化”页面，只显示最核心的信息，当检测到异常时，显示警告。\r\n* 用户开启IPV6时，检测IPV6是否可用，如不可用，提示用户。\r\n* 用户打开部署页面时，检测网络，如果无法链接GAE服务器，则部署相关功能不可用，并提示用户。\r\n\r\n相关讨论：#1580 、https://github.com/XX-net/XX-Net/pull/1579 、https://github.com/XX-net/XX-Net/pull/1556"},"comment":{"url":"https://api.github.com/repos/XX-net/XX-Net/issues/comments/164980299","html_url":"https://github.com/XX-net/XX-Net/issues/1597#issuecomment-164980299","issue_url":"https://api.github.com/repos/XX-net/XX-Net/issues/1597","id":164980299,"user":{"login":"out-sider","id":8955160,"avatar_url":"https://avatars.githubusercontent.com/u/8955160?v=3","gravatar_id":"","url":"https://api.github.com/users/out-sider","html_url":"https://github.com/out-sider","followers_url":"https://api.github.com/users/out-sider/followers","following_url":"https://api.github.com/users/out-sider/following{/other_user}","gists_url":"https://api.github.com/users/out-sider/gists{/gist_id}","starred_url":"https://api.github.com/users/out-sider/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/out-sider/subscriptions","organizations_url":"https://api.github.com/users/out-sider/orgs","repos_url":"https://api.github.com/users/out-sider/repos","events_url":"https://api.github.com/users/out-sider/events{/privacy}","received_events_url":"https://api.github.com/users/out-sider/received_events","type":"User","site_admin":false},"created_at":"2015-12-16T03:41:01Z","updated_at":"2015-12-16T03:41:01Z","body":"我用的是ipv6to ipv4的DNS,正常使用是校园网环境，绑定DNS的"}}