{"action":"opened","issue":{"url":"https://api.github.com/repos/v2ray/v2ray-core/issues/1067","repository_url":"https://api.github.com/repos/v2ray/v2ray-core","labels_url":"https://api.github.com/repos/v2ray/v2ray-core/issues/1067/labels{/name}","comments_url":"https://api.github.com/repos/v2ray/v2ray-core/issues/1067/comments","events_url":"https://api.github.com/repos/v2ray/v2ray-core/issues/1067/events","html_url":"https://github.com/v2ray/v2ray-core/issues/1067","id":316390941,"number":1067,"title":"升级到3.19后，配置文件里有两个邮箱相同的用户会导致Linux服务端无法启动。","user":{"login":"hehongbo","id":665472,"avatar_url":"https://avatars1.githubusercontent.com/u/665472?v=4","gravatar_id":"","url":"https://api.github.com/users/hehongbo","html_url":"https://github.com/hehongbo","followers_url":"https://api.github.com/users/hehongbo/followers","following_url":"https://api.github.com/users/hehongbo/following{/other_user}","gists_url":"https://api.github.com/users/hehongbo/gists{/gist_id}","starred_url":"https://api.github.com/users/hehongbo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hehongbo/subscriptions","organizations_url":"https://api.github.com/users/hehongbo/orgs","repos_url":"https://api.github.com/users/hehongbo/repos","events_url":"https://api.github.com/users/hehongbo/events{/privacy}","received_events_url":"https://api.github.com/users/hehongbo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-20T19:49:50Z","updated_at":"2018-04-20T19:49:50Z","closed_at":null,"author_association":"NONE","body":"Please skip to the English section below if you don't write Chinese.\r\n\r\n中文：\r\n提交 Issue 之前请先阅读 [Issue 指引](https://github.com/v2ray/v2ray-core/blob/master/.github/SUPPORT.md)，然后回答下面的问题，谢谢。\r\n除非特殊情况，请完整填写所有问题。不按模板发的 issue 将直接被关闭。\r\n\r\n1)  你正在使用哪个版本的 V2Ray？（如果服务器和客户端使用了不同版本，请注明）\r\n服务端：3.19（Linux amd64）\r\n客户端：3.19（macOS，v2rayX手动更新了core）\r\n\r\n2)  你的使用场景是什么？比如使用 Chrome 通过 Socks/VMess 代理观看 YouTube 视频。\r\n在macOS上使用Chrome通过Socks/VMess/Websocket\r\n\r\n3)  你看到的不正常的现象是什么？（请描述具体现象，比如访问超时，TLS 证书错误等）\r\n服务端Linux版本无法启动，--test提示User already exists，但是我用同一版本的二进制却没有问题。\r\n\r\n4)  你期待看到的正确表现是怎样的？\r\n服务端正常运行啊....😂\r\n\r\n5)  请附上你的配置（提交 Issue 前请隐藏服务器端IP地址）。\r\n    \r\n    服务器端配置:\r\n（说明，两个clients字段各有6个UUID，其中有两个对应同一个邮箱，一个是我自己在家使用的，一个是我在公司使用的。其他4个都是朋友的。UUID和邮箱马赛克。）\r\n```javascript\r\n{\r\n  \"inbound\": {\r\n    \"port\": 6666,\r\n    \"listen\": \"127.0.0.1\",\r\n    \"protocol\": \"vmess\",\r\n    \"settings\": {\r\n      \"clients\": [\r\n        {\r\n          \"id\": \"00000000-0000-0000-0000-000000000000\",\r\n          \"email\": \"myemail@example.com\"\r\n        },\r\n        {\r\n          \"id\": \"11111111-1111-1111-1111-111111111111\",\r\n          \"email\": \"myemail@example.com\"\r\n        }\r\n      ]\r\n    },\r\n    \"streamSettings\": {\r\n      \"network\": \"ws\",\r\n      \"wsSettings\": {\r\n        \"path\": \"/my_websocket_path\"\r\n      }\r\n    }\r\n  },\r\n  \"inboundDetour\": [\r\n    {\r\n      \"protocol\": \"vmess\",\r\n      \"port\": 6669,\r\n      \"listen\": \"0.0.0.0\",\r\n      \"tag\": \"kcp\",\r\n      \"allocate\": {\r\n        \"strategy\": \"always\",\r\n        \"refresh\": 5,\r\n        \"concurrency\": 3\r\n      },\r\n      \"settings\": {\r\n        \"clients\": [\r\n          {\r\n            \"id\": \"00000000-0000-0000-0000-000000000000\",\r\n            \"email\": \"myemail@example.com\"\r\n          },\r\n          {\r\n            \"id\": \"11111111-1111-1111-1111-111111111111\",\r\n            \"email\": \"myemail@example.com\"\r\n          }\r\n        ]\r\n      },\r\n      \"streamSettings\": {\r\n        \"network\": \"kcp\",\r\n        \"kcpSettings\": {\r\n          \"mtu\": 1200,\r\n          \"tti\": 12,\r\n          \"uplinkCapacity\": 24,\r\n          \"downlinkCapacity\": 8,\r\n          \"congestion\": true,\r\n          \"header\": {\r\n            \"type\": \"none\"\r\n          }\r\n        }\r\n      }\r\n    }\r\n  ],\r\n  \"outbound\": {\r\n    \"protocol\": \"freedom\",\r\n    \"settings\": {}\r\n  }\r\n}\r\n```\r\n\r\n    客户端配置:\r\n    用v2rayX，没管过客户端的配置文件。这个issue应该也与客户端无关。\r\n\r\n\r\n6)  请附上出错时软件输出的错误日志。在 Linux 中，日志通常在 `/var/log/v2ray/error.log` 文件中。\r\n\r\n    服务器端错误日志:\r\n    （真的没有任何输出啊，我调成debug都没有...我有哪点搞错了么？）\r\n\r\n    客户端错误日志:\r\n（这个issue应该跟客户端无关）\r\n\r\n7) 请附上访问日志。在 Linux 中，日志通常在 `/var/log/v2ray/access.log` 文件中。\r\n（也没有输出。）\r\n\r\n8) 其它相关的配置文件（如 Nginx）和相关日志。\r\n\r\n9) 如果 V2Ray 无法启动，请附上 `--test` 输出。\r\n```\r\nsudo /usr/bin/v2ray/v2ray ./config.json\r\nV2Ray v3.19 (die Commanderin) 20180419\r\nA unified platform for anti-censorship.\r\nMain: failed to create server > Proxy|VMess|Inbound: failed to initiate user > Proxy|VMess|Inbound: User myemail@example.com already exists.\r\n```\r\n\r\n10) 如果 V2Ray 服务运行不正常，请附上 journal 日志。\r\n\r\n通常的命令为 `journalctl -u v2ray`。\r\n\r\n\r\n**简要概括一下：3.18的时候正常，升级3.19后服务端原地无法启动，报错如上。我配置了两个UUID不一样，email一样的用户，用于分别在自己的设备和公司的设备上使用，3.19 Linux报错，而同一个配置文件3.19 macos通过，因此考虑是bug。改掉其中的一个email就顺利启动了。**\r\n\r\n关于日志，我不知道是不是我操作有问题，配置文件里的日志路径无任何日志文件生成，我手动创建了日志文件并确认权限，亦无任何输出。还请指教。\r\n![photo_2018-04-21_03-49-21](https://user-images.githubusercontent.com/665472/39070711-ff80fa30-4516-11e8-9aaa-ecb37159204a.jpg)\r\n\r\n"}}
{"actor":{"display_login":"hehongbo"}}