{"action":"created","issue":{"url":"https://api.github.com/repos/erguotou520/electron-ssr/issues/70","repository_url":"https://api.github.com/repos/erguotou520/electron-ssr","labels_url":"https://api.github.com/repos/erguotou520/electron-ssr/issues/70/labels{/name}","comments_url":"https://api.github.com/repos/erguotou520/electron-ssr/issues/70/comments","events_url":"https://api.github.com/repos/erguotou520/electron-ssr/issues/70/events","html_url":"https://github.com/erguotou520/electron-ssr/issues/70","id":294610160,"number":70,"title":"Win10 16299 无法联网，无法正常退出","user":{"login":"peter17ji","id":29380055,"avatar_url":"https://avatars2.githubusercontent.com/u/29380055?v=4","gravatar_id":"","url":"https://api.github.com/users/peter17ji","html_url":"https://github.com/peter17ji","followers_url":"https://api.github.com/users/peter17ji/followers","following_url":"https://api.github.com/users/peter17ji/following{/other_user}","gists_url":"https://api.github.com/users/peter17ji/gists{/gist_id}","starred_url":"https://api.github.com/users/peter17ji/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peter17ji/subscriptions","organizations_url":"https://api.github.com/users/peter17ji/orgs","repos_url":"https://api.github.com/users/peter17ji/repos","events_url":"https://api.github.com/users/peter17ji/events{/privacy}","received_events_url":"https://api.github.com/users/peter17ji/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-06T02:22:24Z","updated_at":"2018-02-09T09:21:57Z","closed_at":null,"author_association":"NONE","body":"<!-- 请注意，发起issue一般都是为了报错错误，如果只是提问请加入TG群，如果非要在issue中提问，请说明清楚你的情况。另外在发起issue前请先阅读FAQ -->\r\n<!-- 请再次注意，不要在issue的任何地方出现你的服务器配置，包括截图！ -->\r\n## Your os\r\n<!-- Mac?Windows?Linux(Ubuntu?CentOs?...etc)? -->\r\nWin10 16299.192\r\n## The version of electron-ssr\r\n<!-- 在主窗口的title上有 -->\r\nv0.2.0-beta-2\r\n## What's the problem\r\n<!-- 请描述清楚你要提交的issue内容 -->\r\n**无法正常退出，只能用任务管理器杀掉；无法联网，提示libsodium缺失。**\r\n## App log here\r\n<!-- 粘贴上你的应用日志，点击菜单-帮助-查看日志获取，并删除其中服务器配置数据 -->\r\n2018-1-8 16:17:11 stdout:\r\nIPv6 not support\r\nusage: sslocal [OPTION]...\r\nA fast tunnel proxy that helps you bypass firewalls.\r\n\r\nYou can supply configurations via either config file or command line arguments.\r\n\r\nProxy options:\r\n  -c CONFIG              path to config file\r\n  -s SERVER_ADDR         server address\r\n  -p SERVER_PORT         server port, default: 8388\r\n  -b LOCAL_ADDR          local binding address, default: 127.0.0.1\r\n  -l LOCAL_PORT          local port, default: 1080\r\n  -k PASSWORD            password\r\n  -m METHOD              encryption method, default: aes-256-cfb\r\n  -o OBFS                obfsplugin, default: http_simple\r\n  -t TIMEOUT             timeout in seconds, default: 300\r\n  --fast-open            use TCP_FASTOPEN, requires Linux 3.7+\r\n\r\nGeneral options:\r\n  -h, --help             show this help message and exit\r\n  -d start/stop/restart  daemon mode\r\n  --pid-file PID_FILE    pid file for daemon mode\r\n  --log-file LOG_FILE    log file for daemon mode\r\n  --user USER            username to run as\r\n  -v, -vv                verbose mode\r\n  -q, -qq                quiet mode, only show warnings/errors\r\n  --version              show version information\r\n\r\nOnline help: <https://github.com/shadowsocks/shadowsocks>\r\n\r\n2018-1-8 16:17:11 stderr:\r\noption -O not recognized\r\n2018-1-8 16:18:10 stdout:\r\nIPv6 not support\r\nusage: sslocal [OPTION]...\r\nA fast tunnel proxy that helps you bypass firewalls.\r\n\r\nYou can supply configurations via either config file or command line arguments.\r\n\r\nProxy options:\r\n  -c CONFIG              path to config file\r\n  -s SERVER_ADDR         server address\r\n  -p SERVER_PORT         server port, default: 8388\r\n  -b LOCAL_ADDR          local binding address, default: 127.0.0.1\r\n  -l LOCAL_PORT          local port, default: 1080\r\n  -k PASSWORD            password\r\n  -m METHOD              encryption method, default: aes-256-cfb\r\n  -o OBFS                obfsplugin, default: http_simple\r\n  -t TIMEOUT             timeout in seconds, default: 300\r\n  --fast-open            use TCP_FASTOPEN, requires Linux 3.7+\r\n\r\nGeneral options:\r\n  -h, --help             show this help message and exit\r\n  -d start/stop/restart  daemon mode\r\n  --pid-file PID_FILE    pid file for daemon mode\r\n  --log-file LOG_FILE    log file for daemon mode\r\n  --user USER            username to run as\r\n  -v, -vv                verbose mode\r\n  -q, -qq                quiet mode, only show warnings/errors\r\n  --version              show version information\r\n\r\nOnline help: <https://github.com/shadowsocks/shadowsocks>\r\n\r\n2018-1-8 16:18:10 stderr:\r\noption -O not recognized\r\n2018-1-8 16:19:2 stderr:\r\noption -O not recognized\r\n2018-1-8 16:19:2 stdout:\r\nIPv6 not support\r\nusage: sslocal [OPTION]...\r\nA fast tunnel proxy that helps you bypass firewalls.\r\n\r\nYou can supply configurations via either config file or command line arguments.\r\n\r\nProxy options:\r\n  -c CONFIG              path to config file\r\n  -s SERVER_ADDR         server address\r\n  -p SERVER_PORT         server port, default: 8388\r\n  -b LOCAL_ADDR          local binding address, default: 127.0.0.1\r\n  -l LOCAL_PORT          local port, default: 1080\r\n  -k PASSWORD            password\r\n  -m METHOD              encryption method, default: aes-256-cfb\r\n  -o OBFS                obfsplugin, default: http_simple\r\n  -t TIMEOUT             timeout in seconds, default: 300\r\n  --fast-open            use TCP_FASTOPEN, requires Linux 3.7+\r\n\r\nGeneral options:\r\n  -h, --help             show this help message and exit\r\n  -d start/stop/restart  daemon mode\r\n  --pid-file PID_FILE    pid file for daemon mode\r\n  --log-file LOG_FILE    log file for daemon mode\r\n  --user USER            username to run as\r\n  -v, -vv                verbose mode\r\n  -q, -qq                quiet mode, only show warnings/errors\r\n  --version              show version information\r\n\r\nOnline help: <https://github.com/shadowsocks/shadowsocks>\r\n\r\n2018-1-8 16:19:33 stdout:\r\nIPv6 not support\r\nusage: sslocal [OPTION]...\r\nA fast tunnel proxy that helps you bypass firewalls.\r\n\r\nYou can supply configurations via either config file or command line arguments.\r\n\r\nProxy options:\r\n  -c CONFIG              path to config file\r\n  -s SERVER_ADDR         server address\r\n  -p SERVER_PORT         server port, default: 8388\r\n  -b LOCAL_ADDR          local binding address, default: 127.0.0.1\r\n  -l LOCAL_PORT          local port, default: 1080\r\n  -k PASSWORD            password\r\n  -m METHOD              encryption method, default: aes-256-cfb\r\n  -o OBFS                obfsplugin, default: http_simple\r\n  -t TIMEOUT             timeout in seconds, default: 300\r\n  --fast-open            use TCP_FASTOPEN, requires Linux 3.7+\r\n\r\nGeneral options:\r\n  -h, --help             show this help message and exit\r\n  -d start/stop/restart  daemon mode\r\n  --pid-file PID_FILE    pid file for daemon mode\r\n  --log-file LOG_FILE    log file for daemon mode\r\n  --user USER            username to run as\r\n  -v, -vv                verbose mode\r\n  -q, -qq                quiet mode, only show warnings/errors\r\n  --version              show version information\r\n\r\nOnline help: <https://github.com/shadowsocks/shadowsocks>\r\n\r\n2018-1-8 16:19:33 stderr:\r\noption -O not recognized\r\n2018-02-06T10:02:38+0800 <info> main.js:1 () file ensured\r\n2018-02-06T10:02:47+0800 <debug> main.js:1 (EventEmitter.<anonymous>) start download ssr\r\n2018-02-06T10:02:51+0800 <debug> main.js:1 () ssr download success\r\n2018-02-06T10:04:25+0800 <debug> main.js:1 () run command: python C:\\Users\\peter\\AppData\\Roaming\\electron-ssr\\shadowsocksr\\shadowsocks\\local.py -s 咳咳咳\r\n2018-02-06T10:04:26+0800 <log> events.js:101 (emitOne) IPv6 support\r\n\r\n2018-02-06T10:04:26+0800 <error> events.js:101 (emitOne) Traceback (most recent call last):\r\n  File \"C:\\Users\\peter\\AppData\\Roaming\\electron-ssr\\shadowsocksr\\shadowsocks\\local.py\", line 81, in <module>\r\n    main()\r\n  File \"C:\\Users\\peter\\AppData\\Roaming\\electron-ssr\\shadowsocksr\\shadowsocks\\local.py\", line 43, in main\r\n    config = shell.get_config(True)\r\n  File \"C:\\Users\\peter\\AppData\\Roaming\\electron-ssr\\shadowsocksr\\shadowsocks\\../shadowsocks\\shell.py\", line 299, in get_config\r\n    check_config(config, is_local)\r\n  File \"C:\\Users\\peter\\AppData\\Roaming\\electron-ssr\\shadowsocksr\\shadowsocks\\../shadowsocks\\shell.py\", line 129, in check_config\r\n    encrypt.try_cipher(config['password'], config['method'])\r\n  File \"C:\\Users\\peter\\AppData\\Roaming\\electron-ssr\\shadowsocksr\\shadowsocks\\../shadowsocks\\encrypt.py\", line 46, in try_cipher\r\n    Encryptor(key, method)\r\n  File \"C:\\Users\\peter\\AppData\\Roaming\\electron-ssr\\shadowsocksr\\shadowsocks\\../shadowsocks\\encrypt.py\", line 90, in __init__\r\n    random_string(self._method_info[1]))\r\n  File \"C:\\Users\\peter\\AppData\\Roaming\\electron-ssr\\shadowsocksr\\shadowsocks\\../shadowsocks\\encrypt.py\", line 119, in get_cipher\r\n    return m[2](method, key, iv, op)\r\n  File \"C:\\Users\\peter\\AppData\\Roaming\\electron-ssr\\shadowsocksr\\shadowsocks\\../shadowsocks\\crypto\\sodium.py\", line 71, in __init__\r\n    load_libsodium()\r\n  File \"C:\\Users\\peter\\AppData\\Roaming\\electron-ssr\\shadowsocksr\\shadowsocks\\../shadowsocks\\crypto\\sodium.py\", line 42, in load_libsodium\r\n    raise Exception('libsodium not found')\r\nException: libsodium not found\r\n\r\n2018-02-06T10:04:26+0800 <log> events.js:111 (emitTwo) 1 null\r\n2018-02-06T10:05:18+0800 <log> main.js:1 () Kill python client\r\n2018-02-06T10:05:23+0800 <log> main.js:1 () Kill python client\r\n2018-02-06T10:05:52+0800 <debug> main.js:1 () start download pac\r\n2018-02-06T10:06:28+0800 <log> main.js:1 () Kill python client\r\n2018-02-06T10:06:31+0800 <log> main.js:1 () Kill python client\r\n2018-02-06T10:06:33+0800 <log> main.js:1 () Kill python client\r\n2018-02-06T10:06:58+0800 <info> main.js:1 () file ensured\r\n2018-02-06T10:06:58+0800 <debug> main.js:1 (Server.<anonymous>) pac server listen at: 127.0.0.1:2333\r\n2018-02-06T10:06:58+0800 <debug> main.js:1 (Server.<anonymous>) http proxy server listen at: 127.0.0.1:12333\r\n2018-02-06T10:07:04+0800 <debug> main.js:1 () run command: python C:\\Users\\peter\\AppData\\Roaming\\electron-ssr\\shadowsocksr\\shadowsocks\\local.py -s 咳咳咳\r\n2018-02-06T10:07:04+0800 <log> events.js:101 (emitOne) IPv6 support\r\n\r\n2018-02-06T10:07:04+0800 <error> events.js:101 (emitOne) Traceback (most recent call last):\r\n  File \"C:\\Users\\peter\\AppData\\Roaming\\electron-ssr\\shadowsocksr\\shadowsocks\\local.py\", line 81, in <module>\r\n    main()\r\n  File \"C:\\Users\\peter\\AppData\\Roaming\\electron-ssr\\shadowsocksr\\shadowsocks\\local.py\", line 43, in main\r\n    config = shell.get_config(True)\r\n  File \"C:\\Users\\peter\\AppData\\Roaming\\electron-ssr\\shadowsocksr\\shadowsocks\\../shadowsocks\\shell.py\", line 299, in get_config\r\n    check_config(config, is_local)\r\n  File \"C:\\Users\\peter\\AppData\\Roaming\\electron-ssr\\shadowsocksr\\shadowsocks\\../shadowsocks\\shell.py\", line 129, in check_config\r\n    encrypt.try_cipher(config['password'], config['method'])\r\n  File \"C:\\Users\\peter\\AppData\\Roaming\\electron-ssr\\shadowsocksr\\shadowsocks\\../shadowsocks\\encrypt.py\", line 46, in try_cipher\r\n    Encryptor(key, method)\r\n  File \"C:\\Users\\peter\\AppData\\Roaming\\electron-ssr\\shadowsocksr\\shadowsocks\\../shadowsocks\\encrypt.py\", line 90, in __init__\r\n    random_string(self._method_info[1]))\r\n  File \"C:\\Users\\peter\\AppData\\Roaming\\electron-ssr\\shadowsocksr\\shadowsocks\\../shadowsocks\\encrypt.py\", line 119, in get_cipher\r\n    return m[2](method, key, iv, op)\r\n  File \"C:\\Users\\peter\\AppData\\Roaming\\electron-ssr\\shadowsocksr\\shadowsocks\\../shadowsocks\\crypto\\sodium.py\", line 71, in __init__\r\n    load_libsodium()\r\n  File \"C:\\Users\\peter\\AppData\\Roaming\\electron-ssr\\shadowsocksr\\shadowsocks\\../shadowsocks\\crypto\\sodium.py\", line 42, in load_libsodium\r\n    raise Exception('libsodium not found')\r\nException: libsodium not found\r\n\r\n2018-02-06T10:07:04+0800 <log> events.js:111 (emitTwo) 1 null\r\n2018-02-06T10:07:27+0800 <log> main.js:1 () Kill python client\r\n2018-02-06T10:07:27+0800 <debug> main.js:1 () http proxy server closed.\r\n2018-02-06T10:07:27+0800 <debug> main.js:1 (Server.<anonymous>) http proxy server listen at: 0.0.0.0:12333\r\n2018-02-06T10:07:46+0800 <debug> main.js:1 () start download pac\r\n2018-02-06T10:10:57+0800 <log> main.js:1 () Kill python client\r\n2018-02-06T10:11:37+0800 <log> main.js:1 () Kill python client\r\n2018-02-06T10:11:41+0800 <log> main.js:1 () Kill python client\r\n//实际上关不掉"},"comment":{"url":"https://api.github.com/repos/erguotou520/electron-ssr/issues/comments/364379710","html_url":"https://github.com/erguotou520/electron-ssr/issues/70#issuecomment-364379710","issue_url":"https://api.github.com/repos/erguotou520/electron-ssr/issues/70","id":364379710,"user":{"login":"peter17ji","id":29380055,"avatar_url":"https://avatars2.githubusercontent.com/u/29380055?v=4","gravatar_id":"","url":"https://api.github.com/users/peter17ji","html_url":"https://github.com/peter17ji","followers_url":"https://api.github.com/users/peter17ji/followers","following_url":"https://api.github.com/users/peter17ji/following{/other_user}","gists_url":"https://api.github.com/users/peter17ji/gists{/gist_id}","starred_url":"https://api.github.com/users/peter17ji/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peter17ji/subscriptions","organizations_url":"https://api.github.com/users/peter17ji/orgs","repos_url":"https://api.github.com/users/peter17ji/repos","events_url":"https://api.github.com/users/peter17ji/events{/privacy}","received_events_url":"https://api.github.com/users/peter17ji/received_events","type":"User","site_admin":false},"created_at":"2018-02-09T09:21:57Z","updated_at":"2018-02-09T09:21:57Z","author_association":"NONE","body":"Windows的话把libsodium官方git里面下载到的dll放入windows\\system32文件夹即可"}}
{"actor":{"display_login":"peter17ji"}}