Qv2ray / QvPlugin-SS

Shadowsocks SIP003 plugin for Qv2ray
GNU General Public License v3.0
118 stars 56 forks source link

Windows 7 使用本插件后连接即闪退 #1

Closed ghost closed 3 years ago

ghost commented 4 years ago

所有的带 SIP003 插件的节点选择连接就闪退,系统是windows7

Diffumist commented 4 years ago

Windows 10 可复现此问题,插件版本 1.2 主程序 2.6.3:5840 Arch Linux (插件版本 1.2 主程序 2.6.3.5895)下连接 SIP003 节点延迟测试正常,但无法正常上网(已使用 cgproxy)同时日志窗口 v2ray 核心出入站相关信息正常 以下为 Arch Linux 下相关日志信息

v2ray 核心日志 ``` V2Ray 4.27.0 (V2Fly, a community-driven edition of V2Ray.) Custom (go1.14.6 linux/amd64) A unified platform for anti-censorship. 2020-08-15 20:47:46 INFO: listening at 127.0.0.1:15000 2020-08-15 20:47:46 INFO: initializing ciphers...xchacha20-ietf-poly1305 2020-08-15 20:47:46 INFO: plugin "obfs-local" enabled 2020-08-15 20:47:46 ERROR: no such file or directory 2020/08/15 20:47:47 [Info] v2ray.com/core/common/platform/ctlcmd: v2ctl> Read config: /home/diffumist/.config/qv2ray/generated/config.gen.json 2020/08/15 20:47:47 [Warning] v2ray.com/core: V2Ray 4.27.0 started 2020/08/15 20:47:47 192.168.31.132:42286 accepted udp:192.168.31.1:53 [dns-out] 2020/08/15 20:47:47 127.0.0.1:34702 accepted tcp:127.0.0.1:0 [_QV2RAY_API_] 2020/08/15 20:47:48 192.168.31.132:45030 accepted tcp:68.183.248.166:443 [outBound_PROXY] 2020/08/15 20:47:49 192.168.31.132:57582 accepted tcp:91.108.56.170:80 [outBound_PROXY] 2020/08/15 20:47:49 192.168.31.132:41882 accepted tcp:91.108.56.170:443 [outBound_PROXY] 2020/08/15 20:47:50 192.168.31.132:57626 accepted tcp:91.108.56.170:80 [outBound_PROXY] 2020/08/15 20:47:50 192.168.31.132:41936 accepted tcp:91.108.56.170:443 [outBound_PROXY] 2020/08/15 20:47:50 192.168.31.132:57640 accepted tcp:91.108.56.170:80 [outBound_PROXY] ```
Qv2ray 启动日志 ``` [INIT]: Qv2ray PreInitialization: OK static Qv2ray::Qv2rayPreInitResult Qv2ray::Qv2rayApplication::PreInitialize(int, char**):494 [INIT]: High DPI scaling is enabled. [INIT]: Qv2ray 2.6.3 on Arch Linux x86_64 Qv2ray::Qv2rayApplication::Qv2rayApplication(int&, char**):36 [INIT]: Qv2ray Start Time: 73835849 Qv2ray::Qv2rayApplication::Qv2rayApplication(int&, char**):37 [QV2RAY_BUILD_INFO]: Qv2ray for Arch Linux CN Qv2ray::Qv2rayApplication::Qv2rayApplication(int&, char**):38 [QV2RAY_BUILD_EXTRA_INFO]: (Official Build) 5.6.12-arch1-1 x86_64 Qv2ray::Qv2rayApplication::Qv2rayApplication(int&, char**):39 [QV2RAY_BUILD_NUMBER]: 5895 QStringList Qv2ray::common::QvTranslator::GetAvailableLanguages():40 [CORE-UI]: Found translations: en_US ja_JP zh_CN zh_TW bool Qv2ray::common::QvTranslator::InstallTranslation(const QString&):50 [CORE-UI]: Found zh_CN in folder: /usr/share/qv2ray/lang [CORE-UI]: Successfully installed a translator for zh_CN [LICENCE]: This program comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions. Copyright (c) 2019-2020 Qv2ray Development Group. Third-party libraries that have been used in Qv2ray can be found in the About page. [INIT]: Application exec path: /usr/bin [INIT]: Path: /usr/bin/config/ does not contain a valid config file. [CORE-SETTINGS]: Found a config file, v= path=/home/diffumist/.config/qv2ray/ bool Qv2ray::Qv2rayApplication::FindAndCreateInitialConfiguration():285 [INIT]: Path: /home/diffumist/.config/qv2ray is valid. [INIT]: Using /home/diffumist/.config/qv2ray/ as the config path. QStringList Qv2ray::common::QvTranslator::GetAvailableLanguages():40 [CORE-UI]: Found translations: en_US ja_JP zh_CN zh_TW bool Qv2ray::common::QvTranslator::InstallTranslation(const QString&):50 [CORE-UI]: Found zh_CN in folder: /usr/share/qv2ray/lang [CORE-UI]: Removed translations [CORE-UI]: Successfully installed a translator for zh_CN [COMMON-NETWORK]: Current OpenSSL version: OpenSSL 1.1.1g 21 Apr 2020 [CORE-UI]: Found factory style: Breeze [CORE-UI]: Found factory style: kvantum-dark [CORE-UI]: Found factory style: kvantum [CORE-UI]: Found factory style: Oxygen [CORE-UI]: Found factory style: Windows [CORE-UI]: Found factory style: Fusion [CORE-UI]: Found QSS style at: ":/uistyles/flatwhite.css" [CORE-UI]: Found QSS style at: ":/uistyles/psblack.css" [COMPONENT-PLUGINHOST]: Reloading plugin list int Qv2ray::components::plugins::QvPluginHost::RefreshPluginList():37 [COMPONENT-PLUGINHOST]: Loading plugin: QvSSPlugin.v1.2.linux-x64.so from: /home/diffumist/.config/qv2ray/plugins [COMPONENT-PLUGINHOST]: Loaded plugin: "SS Plugin" made by: "Qv2ray Development Group" int Qv2ray::components::plugins::QvPluginHost::RefreshPluginList():37 [COMPONENT-PLUGINHOST]: Loading plugin: libQvCommandPlugin.so from: /usr/share/qv2ray/plugins [COMPONENT-PLUGINHOST]: Loaded plugin: "Qv2ray Command Plugin" made by: "Qv2ray Workgroup" int Qv2ray::components::plugins::QvPluginHost::RefreshPluginList():37 [COMPONENT-PLUGINHOST]: Loading plugin: libQvGoTrojanPlugin.so from: /usr/share/qv2ray/plugins [COMPONENT-PLUGINHOST]: Loaded plugin: "Trojan-Go Plugin" made by: "Qv2ray Workgroup" int Qv2ray::components::plugins::QvPluginHost::RefreshPluginList():37 [COMPONENT-PLUGINHOST]: Loading plugin: libQvSSRPlugin.so from: /usr/share/qv2ray/plugins [COMPONENT-PLUGINHOST]: Loaded plugin: "SSR Plugin" made by: "Qv2ray Development Group" int Qv2ray::components::plugins::QvPluginHost::RefreshPluginList():37 [COMPONENT-PLUGINHOST]: Loading plugin: libQvTrojanPlugin.so from: /usr/share/qv2ray/plugins [COMPONENT-PLUGINHOST]: Loaded plugin: "Trojan-GFW Plugin" made by: "Qv2ray Workgroup" [PLUGIN-CLIENT-qvplugin_ssr]: Initialize plugin. [PLUGIN-CLIENT-qvplugin_ss]: Initialize plugin. [PLUGIN-CLIENT-qvtrojango_plugin]: Initialize plugin. ## 删除了部分节点加载日志 Qv2ray::core::handler::QvConfigHandler::QvConfigHandler(QObject*):15 [QV2RAY-CORE]: ConnectionHandler Constructor. Qv2ray::core::handler::QvConfigHandler::QvConfigHandler(QObject*):56 [QV2RAY-CORE]: Loaded connection id: ftlljynnvaxh into cache. Qv2ray::core::handler::QvConfigHandler::QvConfigHandler(QObject*):56 [QV2RAY-CORE]: Loaded connection id: qbccyirepkzw into cache. Qv2ray::core::handler::QvConfigHandler::QvConfigHandler(QObject*):56 [QV2RAY-CORE]: Loaded connection id: qfvckllshlyr into cache. Qv2ray::core::kernel::APIWorker::APIWorker():36 [CORE-VCORE]: API Worker initialised. void Qv2ray::core::kernel::APIWorker::process():82 [CORE-VCORE]: API Worker started. [CORE-UI]: Applying built-in darkmode theme. [CORE-UI]: Loading data... [CORE-CONNECTION]: Processing a simple connection config [CORE-CONNECTION]: Added global DNS config Qv2ray::base::safetype::INBOUND Qv2ray::core::connection::generation::inbounds::GenerateInboundEntry(const QString&, const QString&, const QString&, int, const INBOUNDSETTING&, const QJsonObject&, const QJsonObject&):60 [CORE-CONNECTION]: Allocation is not used here, Not Implemented Qv2ray::base::safetype::INBOUND Qv2ray::core::connection::generation::inbounds::GenerateInboundEntry(const QString&, const QString&, const QString&, int, const INBOUNDSETTING&, const QJsonObject&, const QJsonObject&):60 [CORE-CONNECTION]: Allocation is not used here, Not Implemented [CORE-CONNECTION]: Processing tProxy IPv4 inbound Qv2ray::base::safetype::INBOUND Qv2ray::core::connection::generation::inbounds::GenerateInboundEntry(const QString&, const QString&, const QString&, int, const INBOUNDSETTING&, const QJsonObject&, const QJsonObject&):60 [CORE-CONNECTION]: Allocation is not used here, Not Implemented Qv2ray::base::safetype::CONFIGROOT Qv2ray::core::handler::RouteHandler::GenerateFinalConfig(Qv2ray::base::safetype::CONFIGROOT, const GroupRoutingId&, bool) const:294 [CORE-CONNECTION]: Added global inbound config Qv2ray::base::safetype::INBOUND Qv2ray::core::connection::generation::inbounds::GenerateInboundEntry(const QString&, const QString&, const QString&, int, const INBOUNDSETTING&, const QJsonObject&, const QJsonObject&):60 [CORE-CONNECTION]: Allocation is not used here, Not Implemented [QV2RAY-CORE]: Cannot disconnect when there's nothing connected. [CORE-CONNECTION]: Creating kernel plugin instance for protocolshadowsocks-sip003 [CORE-VCORE]: V2RayIntegration: 15000 = shadowsocks-sip003 [CORE-CONNECTION]: Sending connection settings to kernel. [CORE-CONNECTION]: Outbound protocol freedom is not a registered plugin outbound. [CORE-CONNECTION]: Outbound protocol blackhole is not a registered plugin outbound. [CORE-CONNECTION]: Outbound protocol dns is not a registered plugin outbound. [CORE-CONNECTION]: Applying new outbound settings. [CORE-VCORE]: Starting kernels with V2RayIntegration. [CORE-CONNECTION]: Starting kernel for protocol: shadowsocks-sip003 [CORE-VCORE]: Core ABI: ELF amd64 可执行文件 [CORE-VCORE]: Host ABI: ELF amd64 可执行文件 [CORE-VCORE]: Host is compatible with core static std::pair > Qv2ray::core::kernel::V2RayKernelInstance::CheckAndSetCoreExecutableState(const QString&):37 [CORE-VCORE]: Core file is executable. static std::pair > Qv2ray::core::kernel::V2RayKernelInstance::CheckAndSetCoreExecutableState(const QString&):65 [CORE-VCORE]: Core control file is executable. [CORE-VCORE]: V2Ray output: V2Ray 4.27.0 (V2Fly, a community-driven edition of V2Ray.) Custom (go1.14.6 linux/amd64);A unified platform for anti-censorship. static bool Qv2ray::core::kernel::V2RayKernelInstance::ValidateConfig(const QString&):215 [CORE-VCORE]: V2Ray version: V2Ray 4.27.0 (V2Fly, a community-driven edition of V2Ray.) Custom (go1.14.6 linux/amd64) static bool Qv2ray::core::kernel::V2RayKernelInstance::ValidateConfig(const QString&):222 [CORE-VCORE]: Starting V2Ray core with test options static bool Qv2ray::core::kernel::V2RayKernelInstance::ValidateConfig(const QString&):234 [CORE-VCORE]: Config file check passed. Qv2ray::core::kernel::V2RayKernelInstance::V2RayKernelInstance(QObject*):::253 [CORE-VCORE]: V2Ray kernel process status changed: Starting Qv2ray::core::kernel::V2RayKernelInstance::V2RayKernelInstance(QObject*):::253 [CORE-VCORE]: V2Ray kernel process status changed: Running std::optional Qv2ray::core::kernel::V2RayKernelInstance::StartConnection(const CONFIGROOT&):291 [CORE-VCORE]: V2Ray core started. std::optional Qv2ray::core::kernel::V2RayKernelInstance::StartConnection(const CONFIGROOT&):326 [CORE-VCORE]: Starting API [CORE-UI]: ProxyAddress: 127.0.0.1 [COMPONENT-PROXY]: Setting up System Proxy [COMPONENT-PROXY]: Qv2ray will set system proxy to use HTTP [COMPONENT-PROXY]: Qv2ray will set system proxy to use SOCKS void Qv2ray::components::proxy::SetSystemProxy(const QString&, int, int):319 [COMPONENT-PROXY]: [0] Program: gsettings, Args: set;org.gnome.system.proxy;mode;manual void Qv2ray::components::proxy::SetSystemProxy(const QString&, int, int):319 [COMPONENT-PROXY]: [0] Program: gsettings, Args: set;org.gnome.system.proxy.http;host;127.0.0.1 void Qv2ray::components::proxy::SetSystemProxy(const QString&, int, int):319 [COMPONENT-PROXY]: [0] Program: gsettings, Args: set;org.gnome.system.proxy.http;port;7890 void Qv2ray::components::proxy::SetSystemProxy(const QString&, int, int):319 [COMPONENT-PROXY]: [0] Program: kwriteconfig5, Args: --file;/home/diffumist/.config/kioslaverc;--group;Proxy Settings;--key;httpProxy;http://127.0.0.1 7890 void Qv2ray::components::proxy::SetSystemProxy(const QString&, int, int):319 [COMPONENT-PROXY]: [0] Program: gsettings, Args: set;org.gnome.system.proxy.ftp;host;127.0.0.1 void Qv2ray::components::proxy::SetSystemProxy(const QString&, int, int):319 [COMPONENT-PROXY]: [0] Program: gsettings, Args: set;org.gnome.system.proxy.ftp;port;7890 void Qv2ray::components::proxy::SetSystemProxy(const QString&, int, int):319 [COMPONENT-PROXY]: [0] Program: kwriteconfig5, Args: --file;/home/diffumist/.config/kioslaverc;--group;Proxy Settings;--key;ftpProxy;http://127.0.0.1 7890 void Qv2ray::components::proxy::SetSystemProxy(const QString&, int, int):319 [COMPONENT-PROXY]: [0] Program: gsettings, Args: set;org.gnome.system.proxy.https;host;127.0.0.1 void Qv2ray::components::proxy::SetSystemProxy(const QString&, int, int):319 [COMPONENT-PROXY]: [0] Program: gsettings, Args: set;org.gnome.system.proxy.https;port;7890 [CORE-VCORE]: gRPC Version: 1.30.2 [CORE-VCORE]: API call returns: 14 (failed to connect to all addresses) [CORE-VCORE]: API call returns: 14 (failed to connect to all addresses) [CORE-VCORE]: API call returns: 14 (failed to connect to all addresses) [CORE-VCORE]: API call returns: 14 (failed to connect to all addresses) [CORE-VCORE]: API call returns: 14 (failed to connect to all addresses) [CORE-VCORE]: API call returns: 14 (failed to connect to all addresses) [CORE-VCORE]: API call returns: 14 (failed to connect to all addresses) [CORE-VCORE]: API call returns: 14 (failed to connect to all addresses) [CORE-VCORE]: API call returns: 14 (failed to connect to all addresses) [CORE-VCORE]: API call returns: 14 (failed to connect to all addresses) [CORE-VCORE]: API call returns: 14 (failed to connect to all addresses) [CORE-VCORE]: API call returns: 14 (failed to connect to all addresses) [CORE-VCORE]: API call returns: 14 (failed to connect to all addresses) [CORE-VCORE]: API call returns: 14 (failed to connect to all addresses) void Qv2ray::components::proxy::SetSystemProxy(const QString&, int, int):319 [COMPONENT-PROXY]: [0] Program: kwriteconfig5, Args: --file;/home/diffumist/.config/kioslaverc;--group;Proxy Settings;--key;httpsProxy;http://127.0.0.1 7890 void Qv2ray::components::proxy::SetSystemProxy(const QString&, int, int):319 [COMPONENT-PROXY]: [0] Program: gsettings, Args: set;org.gnome.system.proxy.socks;host;127.0.0.1 void Qv2ray::components::proxy::SetSystemProxy(const QString&, int, int):319 [COMPONENT-PROXY]: [0] Program: gsettings, Args: set;org.gnome.system.proxy.socks;port;7891 void Qv2ray::components::proxy::SetSystemProxy(const QString&, int, int):319 [COMPONENT-PROXY]: [0] Program: kwriteconfig5, Args: --file;/home/diffumist/.config/kioslaverc;--group;Proxy Settings;--key;socksProxy;socks://127.0.0.1 7891 void Qv2ray::components::proxy::SetSystemProxy(const QString&, int, int):319 [COMPONENT-PROXY]: [0] Program: gsettings, Args: set;org.gnome.system.proxy;mode;manual void Qv2ray::components::proxy::SetSystemProxy(const QString&, int, int):319 [COMPONENT-PROXY]: [0] Program: kwriteconfig5, Args: --file;/home/diffumist/.config/kioslaverc;--group;Proxy Settings;--key;ProxyType;1 void Qv2ray::components::proxy::SetSystemProxy(const QString&, int, int):319 [COMPONENT-PROXY]: [0] Program: dbus-send, Args: --type=signal;/KIO/Scheduler;org.kde.KIO.Scheduler.reparseSlaveConfiguration;string:'' void ConnectionItemWidget::OnConnected(const Qv2ray::base::ConnectionGroupPair&):118 [CORE-UI]: ConnectionItemWidgetOnConnected signal received for: fgkrxbhgbyss [CORE-UI]: Setting current item. ```
darsvador commented 4 years ago

@Diffumist 你的path里没有obfs-local 图片

darsvador commented 4 years ago

Windows原因正在调查

Diffumist commented 4 years ago

你的path里没有obfs-local

请问这个 plugin 位置在哪里呢,这是我当前的 PATH ,插件位置在 ~/.config/qv2ray/plugins/

``` /home/diffumist/.volta/bin:/home/diffumist/.local/bin:/home/diffumist/.zinit/polaris/sbin:/home/diffumist/.zinit/polaris/bin:/opt/miniconda3/condabin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl ```
darsvador commented 4 years ago

你的path里没有obfs-local

请问这个 plugin 位置在哪里呢,这是我当前的 PATH ,插件位置在 ~/.config/qv2ray/plugins/

/home/diffumist/.volta/bin:/home/diffumist/.local/bin:/home/diffumist/.zinit/polaris/sbin:/home/diffumist/.zinit/polaris/bin:/opt/miniconda3/condabin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl

SS插件所需的SIP003的Plugin需要你额外安装,arch linux可以安装这个

Diffumist commented 4 years ago

SS插件所需的SIP003的Plugin需要你额外安装,arch linux可以安装这个

安装后速度图像出现指示,仅勉强能接收 telegram 文本消息,网页无法正常浏览 obfs-local 加载日志下大概率会出现 bad address in system call argument 此时网络情况与最初未安装 plugin 时相同

darsvador commented 4 years ago

@mini536 @Diffumist 烦请使用dev(2.7.0-pre1)版本qv2ray测试一下 https://github.com/Qv2ray/QvPlugin-SS/actions/runs/263782334 插件能否正常使用 (插件接口已更新到v3)

darsvador commented 3 years ago

目前Linux用户与Windows用户都有反馈最新版本插件(v1.3)已经可以正常使用,有问题欢迎反馈,本issue关闭了.