{"action":"created","issue":{"url":"https://api.github.com/repos/Jrohy/multi-v2ray/issues/48","repository_url":"https://api.github.com/repos/Jrohy/multi-v2ray","labels_url":"https://api.github.com/repos/Jrohy/multi-v2ray/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/Jrohy/multi-v2ray/issues/48/comments","events_url":"https://api.github.com/repos/Jrohy/multi-v2ray/issues/48/events","html_url":"https://github.com/Jrohy/multi-v2ray/issues/48","id":367041877,"node_id":"MDU6SXNzdWUzNjcwNDE4Nzc=","number":48,"title":"将config.json改为对应ws+tls+nginx的传输方式之后，脚本报错","user":{"login":"rhotov","id":38741211,"node_id":"MDQ6VXNlcjM4NzQxMjEx","avatar_url":"https://avatars2.githubusercontent.com/u/38741211?v=4","gravatar_id":"","url":"https://api.github.com/users/rhotov","html_url":"https://github.com/rhotov","followers_url":"https://api.github.com/users/rhotov/followers","following_url":"https://api.github.com/users/rhotov/following{/other_user}","gists_url":"https://api.github.com/users/rhotov/gists{/gist_id}","starred_url":"https://api.github.com/users/rhotov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhotov/subscriptions","organizations_url":"https://api.github.com/users/rhotov/orgs","repos_url":"https://api.github.com/users/rhotov/repos","events_url":"https://api.github.com/users/rhotov/events{/privacy}","received_events_url":"https://api.github.com/users/rhotov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-05T02:55:04Z","updated_at":"2018-10-05T05:00:08Z","closed_at":null,"author_association":"NONE","body":"手动将config.json改为以下内容后，脚本报错\r\n\r\nconfig.json\r\n`    \"streamSettings\": {\r\n      \"network\": \"ws\",\r\n      \"wsSettings\": {\r\n      \"path\": \"/ray\"\r\n      }\r\n    }`\r\n\r\n上述改动删除了默认的host部分，以对应ws+tls+nginx的传输方式（tls由nginx而非v2ray管理，客户端config.json中服务器名称填自己申请的域名，端口填443而非自定义的那个监听端口，并且开启tls，使用cloudflare cdn中转）\r\n\r\n重启服务后，功能是没问题的，也实现了ws+tls+nginx的传输方式，就是每次运行v2ray管理脚本的时候按查看配置就会报错并且无法输出vmess链接：\r\n\r\nTraceback (most recent call last):\r\n  File \"/usr/local/multi-v2ray/server_info.py\", line 3, in <module>\r\n    import read_json\r\n  File \"/usr/local/multi-v2ray/read_json.py\", line 133, in <module>\r\n    config = json.load(json_file)\r\n  File \"/usr/lib/python3.4/json/__init__.py\", line 268, in load\r\n    parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)\r\n  File \"/usr/lib/python3.4/json/__init__.py\", line 318, in loads\r\n    return _default_decoder.decode(s)\r\n  File \"/usr/lib/python3.4/json/decoder.py\", line 343, in decode\r\n    obj, end = self.raw_decode(s, idx=_w(s, 0).end())\r\n  File \"/usr/lib/python3.4/json/decoder.py\", line 359, in raw_decode\r\n    obj, end = self.scan_once(s, idx)\r\nValueError: Expecting property name enclosed in double quotes: line 72 column 1 (char 1255)\r\n"},"comment":{"url":"https://api.github.com/repos/Jrohy/multi-v2ray/issues/comments/427246768","html_url":"https://github.com/Jrohy/multi-v2ray/issues/48#issuecomment-427246768","issue_url":"https://api.github.com/repos/Jrohy/multi-v2ray/issues/48","id":427246768,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNzI0Njc2OA==","user":{"login":"rhotov","id":38741211,"node_id":"MDQ6VXNlcjM4NzQxMjEx","avatar_url":"https://avatars2.githubusercontent.com/u/38741211?v=4","gravatar_id":"","url":"https://api.github.com/users/rhotov","html_url":"https://github.com/rhotov","followers_url":"https://api.github.com/users/rhotov/followers","following_url":"https://api.github.com/users/rhotov/following{/other_user}","gists_url":"https://api.github.com/users/rhotov/gists{/gist_id}","starred_url":"https://api.github.com/users/rhotov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhotov/subscriptions","organizations_url":"https://api.github.com/users/rhotov/orgs","repos_url":"https://api.github.com/users/rhotov/repos","events_url":"https://api.github.com/users/rhotov/events{/privacy}","received_events_url":"https://api.github.com/users/rhotov/received_events","type":"User","site_admin":false},"created_at":"2018-10-05T05:00:08Z","updated_at":"2018-10-05T05:00:08Z","author_association":"NONE","body":"明白了，我恢复备份再试试看。"}}
{"actor":{"display_login":"rhotov"}}