{"action":"closed","issue":{"url":"https://api.github.com/repos/v2ray/v2ray-core/issues/1345","repository_url":"https://api.github.com/repos/v2ray/v2ray-core","labels_url":"https://api.github.com/repos/v2ray/v2ray-core/issues/1345/labels{/name}","comments_url":"https://api.github.com/repos/v2ray/v2ray-core/issues/1345/comments","events_url":"https://api.github.com/repos/v2ray/v2ray-core/issues/1345/events","html_url":"https://github.com/v2ray/v2ray-core/issues/1345","id":375360025,"node_id":"MDU6SXNzdWUzNzUzNjAwMjU=","number":1345,"title":"启动报错","user":{"login":"FatChou","id":10040900,"node_id":"MDQ6VXNlcjEwMDQwOTAw","avatar_url":"https://avatars0.githubusercontent.com/u/10040900?v=4","gravatar_id":"","url":"https://api.github.com/users/FatChou","html_url":"https://github.com/FatChou","followers_url":"https://api.github.com/users/FatChou/followers","following_url":"https://api.github.com/users/FatChou/following{/other_user}","gists_url":"https://api.github.com/users/FatChou/gists{/gist_id}","starred_url":"https://api.github.com/users/FatChou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FatChou/subscriptions","organizations_url":"https://api.github.com/users/FatChou/orgs","repos_url":"https://api.github.com/users/FatChou/repos","events_url":"https://api.github.com/users/FatChou/events{/privacy}","received_events_url":"https://api.github.com/users/FatChou/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-30T07:49:22Z","updated_at":"2018-10-31T03:59:31Z","closed_at":"2018-10-31T03:59:31Z","author_association":"NONE","body":"提交 Issue 之前请先阅读 [Issue 指引](https://github.com/v2ray/v2ray-core/blob/master/.github/SUPPORT.md)，然后回答下面的问题，谢谢。\r\n除非特殊情况，请完整填写所有问题。不按模板发的 issue 将直接被关闭。\r\n如果你遇到的问题不是 V2Ray 的 bug，比如你不清楚要如何配置，请使用[Discussion](https://github.com/v2ray/discussion/issues)进行讨论。\r\n\r\n1) 你正在使用哪个版本的 V2Ray？（如果服务器和客户端使用了不同版本，请注明）\r\n3.51\r\n2) 你的使用场景是什么？比如使用 Chrome 通过 Socks/VMess 代理观看 YouTube 视频。\r\n1、通过 gomobile bind --target=ios 编译出core.framework，\r\n2、在APP extension里调用StartInstance(@\"protobuf\", configData)，configData是config.json\r\n编译后的framework提供的条用方法不多，StartInstance看上去可以传入本地配置\r\n3、尝试创建Config实例，并调用xxX_Unmarshal传入config.json。再通过创建的Config实例New一个Instance再 start。调用xxX_Unmarshal时候报错unexpected EOF。确定传入的json是正确的。\r\n尝试2、3两种后，都不能获取正确结果。\r\n3) 你看到的不正常的现象是什么？（请描述具体现象，比如访问超时，TLS 证书错误等）\r\n1、unexpected EOF\r\n2、proto: can't skip unknown wire type 7\r\n等错误，会导致APP Extension进程挂掉\r\n4) 你期待看到的正确表现是怎样的？\r\n正确启动服务，返回StartInstance实例\r\n5) 请附上你的配置（提交 Issue 前请隐藏服务器端IP地址）。\r\n{\r\n    \"log\": {\r\n        \"access\": \"log_access\",\r\n        \"error\": \"log_error\",\r\n        \"loglevel\": \"warning\"\r\n    },\r\n    \"inboundDetour\": [{\r\n        \"domainOverride\": [\r\n            \"http\",\r\n            \"tls\"\r\n        ],\r\n        \"port\": 1086,\r\n        \"listen\": \"127.0.0.1\",\r\n        \"protocol\": \"socks\",\r\n        \"settings\": {\r\n            \"auth\": \"noauth\",\r\n            \"udp\": true\r\n        }\r\n    }],\r\n    \"outboundDetour\": [{\r\n        \"protocol\": \"freedom\",\r\n        \"settings\": {\r\n            \r\n        },\r\n        \"tag\": \"direct\"\r\n    },\r\n    {\r\n        \"protocol\": \"blackhole\",\r\n        \"settings\": {\r\n            \r\n        },\r\n        \"tag\": \"block\"\r\n    }\r\n    ],\r\n    \"dns\": {\r\n        \"servers\": [\r\n            \"localhost\",\r\n            \"1.1.1.1\"\r\n        ]\r\n    },\r\n    \"inbound\": {\r\n        \"port\": 1080,\r\n        \"listen\": \"127.0.0.1\",\r\n        \"protocol\": \"http\",\r\n        \"settings\": {\r\n            \r\n        }\r\n    },\r\n    \"outbound\": {\r\n        \"protocol\": \"shadowsocks\",\r\n        \"settings\": {\r\n            \"servers\": [{\r\n                \"method\": \"chacha20\",\r\n                \"port\": port,\r\n                \"password\": \"123\",\r\n                \"address\": \"ip\"\r\n            }]\r\n        },\r\n        \"mux\": {\r\n            \"concurrency\": 8,\r\n            \"enabled\": false\r\n        },\r\n        \"tag\": \"proxy\"\r\n    },\r\n    \"policy\": {\r\n        \"levels\": {\r\n            \"0\": {\r\n                \"uplinkOnly\": 0,\r\n                \"connIdle\": 120,\r\n                \"downlinkOnly\": 0,\r\n                \"handshake\": 4\r\n            }\r\n        }\r\n    },\r\n    \"routing\": {\r\n        \"settings\": {\r\n            \"rules\": [\r\n                \r\n            ],\r\n            \"domainStrategy\": \"IPIfNonMatch\"\r\n        },\r\n        \"strategy\": \"rules\"\r\n    }\r\n}\r\n\r\n服务器端配置:\r\n\r\n```javascript\r\n    // 在这里附上服务器端配置文件\r\n    暂无\r\n```\r\n\r\n客户端配置:\r\n\r\n```javascript\r\n    // 在这里附上客户端配置\r\n    暂无\r\n```\r\n\r\n6)  请附上出错时软件输出的错误日志。在 Linux 中，日志通常在 `/var/log/v2ray/error.log` 文件中。\r\n\r\n服务器端错误日志:\r\n\r\n```javascript\r\n    // 在这里附上服务器端日志\r\n    暂无\r\n```\r\n\r\n客户端错误日志:\r\n\r\n```javascript\r\n    // 在这里附上客户端日志\r\n    暂无\r\n```\r\n\r\n7) 请附上访问日志。在 Linux 中，日志通常在 `/var/log/v2ray/access.log` 文件中。\r\n\r\n```javascript\r\n    // 在这里附上服务器端日志\r\n    暂无\r\n```\r\n\r\n8) 其它相关的配置文件（如 Nginx）和相关日志。\r\n暂无\r\n9) 如果 V2Ray 无法启动，请附上 `--test` 输出。\r\n暂无\r\n通常的命令为 `/usr/bin/v2ray/v2ray --test --config /etc/v2ray/config.json`。请按实际情况修改。\r\n\r\n10) 如果 V2Ray 服务运行不正常，请附上 journal 日志。\r\n目前还无法启动\r\n通常的命令为 `journalctl -u v2ray`。\r\n\r\n请预览一下你填的内容再提交。\r\n"}}
{"actor":{"display_login":"FatChou"}}