Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Error occurred during requsting "http://www.google.com" ; Error: QNetworkReply::OperationCanceledError #103

Open
2 tasks
AA1999 opened this issue Feb 17, 2023 · 2 comments

Comments

@AA1999
Copy link

AA1999 commented Feb 17, 2023

感谢你向 V2Ray Desktop 提交 issue!
在提交之前,请确认:

  • 我已经在 Issue Tracker 中找过我要提出的问题
  • 如果你可以自己 Debug 并解决的话,提交 PR 吧!

请注意,如果你并没有遵照这个 issue template 填写内容,我们将直接关闭这个 issue。

我都确认过了,我要继续提交。


请附上任何可以帮助我们解决这个问题的信息,如果我们收到的信息不足,我们将对这个 issue 加上 details needed 标记并在收到更多资讯之前关闭 issue。

V2Ray Desktop Config

{
    "allow-lan": true,
    "bind-address": "127.0.0.1",
    "dns": {
        "enable": false,
        "listen": "0.0.0.0:53",
        "nameserver": [
            "8.8.8.8",
            "4.4.4.4"
        ]
    },
    "log-level": "info",
    "mode": "rule",
    "port": 8088,
    "proxies": [
        {
            "alterId": 0,
            "cipher": "auto",
            "name": "ArshVPN",
            "network": "tcp",
            "port": 52816,
            "server": "arshiaconn.online",
            "skip-cert-verify": true,
            "tls": true,
            "type": "vmess",
            "udp": false,
            "uuid": "e969c2e7-7ee0-4924-fac0-948f7dd07fb1"
        }
    ],
    "proxy-groups": [
        {
            "interval": 300,
            "name": "PROXY",
            "proxies": [
                "ArshVPN"
            ],
            "type": "load-balance",
            "url": "http://www.gstatic.com/generate_204"
        }
    ],
    "rules": [
        "MATCH, PROXY"
    ],
    "socks-port": 8086
}

...

V2Ray Desktop Log

2023/02/17 17:52:08 [info] clash: Start initial compatible provider PROXY
2023/02/17 17:52:08 [info] clash: SOCKS proxy listening at: 127.0.0.1:8086
2023/02/17 17:52:08 [info] clash: HTTP proxy listening at: 127.0.0.1:8088
2023/02/17 17:52:08 [error] clash: Start DNS server error: missing port in address
2023/02/17 17:52:08 [Info] v2ray-desktop: Connected to  "ArshVPN"
2023/02/17 17:52:07 [Warning] v2ray-desktop: QIODevice::read (QProcess): WriteOnly device
2023/02/17 17:52:07 [Info] v2ray-desktop: Disconnected from  "ArshVPN"
2023/02/17 17:52:07 [Critical] v2ray-desktop: Failed to start Clash.
2023/02/17 17:52:07 [Critical] v2ray-desktop: ""
2023/02/17 17:51:46 [Info] v2ray-desktop: Connected to  "ArshVPN"
2023/02/17 17:51:43 [Info] v2ray-desktop: Start to get url:  "http://www.google.com"
2023/02/17 17:51:42 [Info] v2ray-desktop: Start to get url:  "http://www.baidu.com"
2023/02/17 17:51:40 [Warning] v2ray-desktop: QIODevice::read (QProcess): WriteOnly device
2023/02/17 17:51:40 [Info] v2ray-desktop: Disconnected from  "ArshVPN"
2023/02/17 17:51:40 [Critical] v2ray-desktop: Failed to start Clash.
2023/02/17 17:51:40 [Critical] v2ray-desktop: ""
2023/02/17 17:51:32 [Warning] v2ray-desktop: Timed out when requesting  "http://www.google.com"
2023/02/17 17:51:32 [Critical] v2ray-desktop: Error occurred during requsting  "http://www.google.com" ; Error:  QNetworkReply::OperationCanceledError
2023/02/17 17:51:29 [Info] v2ray-desktop: Start to get url:  "http://www.google.com"
2023/02/17 17:51:28 [Info] v2ray-desktop: Start to get url:  "http://www.baidu.com"
2023/02/17 17:51:27 [Warning] v2ray-desktop: Timed out when requesting  "http://www.google.com"
2023/02/17 17:51:27 [Critical] v2ray-desktop: Error occurred during requsting  "http://www.google.com" ; Error:  QNetworkReply::OperationCanceledError
...

环境 Environment

  • 操作系统 (the OS for running the client)
    Arch-Linux 64-bit
    ...

说明 Description

The proxy is connectable using other v2ray platforms but when connecting to the proxy and turning on clash, it will still say that system proxy isn't connected and also it is not connected in practice too (blocked sites don't appear)

重现问题的具体布骤 Steps to Reproduce

  1. Add a vmess connection
  2. Connect to said proxy
  3. ...

我预期会发生……?

Connection to the proxy and blocked websites being unlocked

实际上发生了什麽?

image

As you can see, it says: System proxy: disabled even tho it's supposed to be enabled.

System proxy has been set to both HTTP and SOCKS and the different Rule/Direct/Global modes have been tested.

更多信息 More Information

@divergentluna
Copy link

I have the same problem with the client for all three kind of connections Rule, Global and Direct.
I use AppImage file v2.3.1 on Manjaro Linux.

Logs:

2023/04/10 18:09:02 [Warning] v2ray-desktop: Timed out when requesting  "http://www.baidu.com"
2023/04/10 18:09:02 [Info] v2ray-desktop: Start to get url:  "http://www.google.com"
2023/04/10 18:09:02 [Critical] v2ray-desktop: Error occurred during requsting  "http://www.baidu.com" ; Error:  QNetworkReply::OperationCanceledError
2023/04/10 18:08:59 [Info] v2ray-desktop: Start to get url:  "http://www.baidu.com"
2023/04/10 18:08:57 [Warning] v2ray-desktop: Timed out when requesting  "http://www.baidu.com"
2023/04/10 18:08:57 [Info] v2ray-desktop: Start to get url:  "http://www.google.com"
2023/04/10 18:08:57 [Critical] v2ray-desktop: Error occurred during requsting  "http://www.baidu.com" ; Error:  QNetworkReply::OperationCanceledError
2023/04/10 18:08:54 [Info] v2ray-desktop: Start to get url:  "http://www.baidu.com"
2023/04/10 18:08:52 [Warning] v2ray-desktop: Timed out when requesting  "http://www.baidu.com"
2023/04/10 18:08:52 [Info] v2ray-desktop: Start to get url:  "http://www.google.com"
2023/04/10 18:08:52 [Critical] v2ray-desktop: Error occurred during requsting  "http://www.baidu.com" ; Error:  QNetworkReply::OperationCanceledError
2023/04/10 18:08:49 [Info] v2ray-desktop: Start to get url:  "http://www.baidu.com"
2023/04/10 18:08:47 [Warning] v2ray-desktop: Timed out when requesting  "http://www.baidu.com"
2023/04/10 18:08:47 [Info] v2ray-desktop: Start to get url:  "http://www.google.com"
2023/04/10 18:08:47 [Critical] v2ray-desktop: Error occurred during requsting  "http://www.baidu.com" ; Error:  QNetworkReply::OperationCanceledError
2023/04/10 18:08:44 [Info] v2ray-desktop: Start to get url:  "http://www.baidu.com"
2023/04/10 18:08:42 [Warning] v2ray-desktop: Timed out when requesting  "http://www.baidu.com"
2023/04/10 18:08:42 [Info] v2ray-desktop: Start to get url:  "http://www.google.com"
2023/04/10 18:08:42 [Critical] v2ray-desktop: Error occurred during requsting  "http://www.baidu.com" ; Error:  QNetworkReply::OperationCanceledError
2023/04/10 18:08:39 [Info] v2ray-desktop: Start to get url:  "http://www.baidu.com"
2023/04/10 18:08:37 [Warning] v2ray-desktop: Timed out when requesting  "http://www.baidu.com"
2023/04/10 18:08:37 [Info] v2ray-desktop: Start to get url:  "http://www.google.com"
2023/04/10 18:08:37 [Critical] v2ray-desktop: Error occurred during requsting  "http://www.baidu.com" ; Error:  QNetworkReply::OperationCanceledError
2023/04/10 18:08:34 [Info] v2ray-desktop: Start to get url:  "http://www.baidu.com"
2023/04/10 18:08:32 [Warning] v2ray-desktop: Timed out when requesting  "http://www.baidu.com"
2023/04/10 18:08:32 [Info] v2ray-desktop: Start to get url:  "http://www.google.com"
2023/04/10 18:08:32 [Critical] v2ray-desktop: Error occurred during requsting  "http://www.baidu.com" ; Error:  QNetworkReply::OperationCanceledError
2023/04/10 18:08:29 [Info] v2ray-desktop: Start to get url:  "http://www.baidu.com"
2023/04/10 18:08:27 [Warning] v2ray-desktop: Timed out when requesting  "http://www.baidu.com"
2023/04/10 18:08:27 [Info] v2ray-desktop: Start to get url:  "http://www.google.com"
2023/04/10 18:08:27 [Critical] v2ray-desktop: Error occurred during requsting  "http://www.baidu.com" ; Error:  QNetworkReply::OperationCanceledError
2023/04/10 18:08:24 [Info] v2ray-desktop: Start to get url:  "http://www.baidu.com"
2023/04/10 18:08:21 [Warning] v2ray-desktop: Timed out when requesting  "http://www.baidu.com"
2023/04/10 18:08:21 [Info] v2ray-desktop: Start to get url:  "http://www.google.com"
2023/04/10 18:08:21 [Critical] v2ray-desktop: Error occurred during requsting  "http://www.baidu.com" ; Error:  QNetworkReply::OperationCanceledError
2023/04/10 18:08:19 [Info] v2ray-desktop: Start to get url:  "http://www.baidu.com"
2023/04/10 18:06:26 [fatal] clash: Parse config error: proxy group[0]: `use` or `proxies` missing
2023/04/10 18:06:26 [Warning] v2ray-desktop: QIODevice::read (QProcess): WriteOnly device
2023/04/10 18:06:26 [Info] v2ray-desktop: Disconnected from  "<SERVER-IP:PORT>"
2023/04/10 18:06:26 [Critical] v2ray-desktop: Failed to start Clash.
2023/04/10 18:06:26 [Critical] v2ray-desktop: ""
2023/04/10 18:05:48 [Warning] v2ray-desktop: Timed out when requesting  "http://www.baidu.com"
2023/04/10 18:05:48 [Info] v2ray-desktop: Start to get url:  "http://www.google.com"
2023/04/10 18:05:48 [Critical] v2ray-desktop: Error occurred during requsting  "http://www.baidu.com" ; Error:  QNetworkReply::OperationCanceledError
2023/04/10 18:05:46 [Info] v2ray-desktop: Start to get url:  "http://www.baidu.com"
2023/04/10 18:05:41 [Info] v2ray-desktop: "Start Clash ... success"
2023/04/10 18:05:37 [Info] v2ray-desktop: "Stop Clash ... success"
2023/04/10 18:05:02 [Warning] v2ray-desktop: Timed out when requesting  "http://www.baidu.com"
2023/04/10 18:05:02 [Info] v2ray-desktop: Start to get url:  "http://www.google.com"
2023/04/10 18:05:02 [Critical] v2ray-desktop: Error occurred during requsting  "http://www.baidu.com" ; Error:  QNetworkReply::OperationCanceledError
2023/04/10 18:04:59 [Info] v2ray-desktop: Start to get url:  "http://www.baidu.com"
2023/04/10 18:04:13 [Info] v2ray-desktop: Connected to  "<SERVER-IP:PORT>"
2023/04/10 18:03:58 [Warning] v2ray-desktop: QIODevice::read (QProcess): WriteOnly device
2023/04/10 18:03:58 [Info] v2ray-desktop: Disconnected from  "<SERVER-IP:PORT>"
2023/04/10 18:03:58 [Critical] v2ray-desktop: Failed to start Clash.
2023/04/10 18:03:58 [Critical] v2ray-desktop: ""

@sorrowchen
Copy link

sorrowchen commented Nov 8, 2023

我应该遇到了类似的问题. 帮忙看看啊~

感谢你向 V2Ray Desktop 提交 issue!
在提交之前,请确认:

  • 我已经在 Issue Tracker 中找过我要提出的问题
  • 如果你可以自己 Debug 并解决的话,提交 PR 吧!

请注意,如果你并没有遵照这个 issue template 填写内容,我们将直接关闭这个 issue。

我都确认过了,我要继续提交。


请附上任何可以帮助我们解决这个问题的信息,如果我们收到的信息不足,我们将对这个 issue 加上 details needed 标记并在收到更多资讯之前关闭 issue。

V2Ray Desktop Config

{
    "allow-lan": true,
    "bind-address": "0.0.0.0",
    "dns": {
        "enable": false,
        "listen": "0.0.0.0:53",
        "nameserver": [
            "8.8.8.8",
            "4.4.4.4"
        ]
    },
    "log-level": "info",
    "mode": "rule",
    "port": 10808,
    "proxies": [
        {
            "alterId": 0,
            "cipher": "auto",
            "name": "俄罗斯01|下载节点|X1",
            "network": "ws",
            "port": 80,
            "server": "ru01.nttkk.com",
            "skip-cert-verify": false,
            "tls": false,
            "type": "vmess",
            "udp": false,
            "uuid": "******************************",
            "ws-headers": {
                "Host": "ru01s.nttkk.com"
            },
            "ws-path": "/v2ray"
        },
        {
            "alterId": 0,
            "cipher": "auto",
            "name": "俄罗斯02|下载节点|X1",
            "network": "ws",
            "port": 443,
            "server": "ru02.nttkk.com",
            "skip-cert-verify": false,
            "tls": true,
            "type": "vmess",
            "udp": false,
            "uuid": "******************************",
            "ws-headers": {
                "Host": "ru01s.nttkk.com"
            },
            "ws-path": "/v2ray"
        },
        {
            "alterId": 0,
            "cipher": "auto",
            "name": "日本04|高速视频|X3",
            "network": "ws",
            "port": 80,
            "server": "jp04.nttkk.com",
            "skip-cert-verify": false,
            "tls": false,
            "type": "vmess",
            "udp": false,
            "uuid": "******************************",
            "ws-headers": {
                "Host": "jp04s.nttkk.com"
            },
            "ws-path": "/v2ray"
        },
        {
            "alterId": 0,
            "cipher": "auto",
            "name": "日本06|高速视频|X3",
            "network": "ws",
            "port": 80,
            "server": "jp06.nttkk.com",
            "skip-cert-verify": false,
            "tls": false,
            "type": "vmess",
            "udp": false,
            "uuid": "******************************",
            "ws-headers": {
                "Host": "jp06s.nttkk.com"
            },
            "ws-path": "/v2ray"
        },
        {
            "alterId": 0,
            "cipher": "auto",
            "name": "日本07|高速视频|X3",
            "network": "ws",
            "port": 443,
            "server": "jp07.nttkk.com",
            "skip-cert-verify": false,
            "tls": true,
            "type": "vmess",
            "udp": false,
            "uuid": "******************************",
            "ws-headers": {
                "Host": "jp06s.nttkk.com"
            },
            "ws-path": "/v2ray"
        },
        {
            "alterId": 0,
            "cipher": "auto",
            "name": "日本09|高速视频|X3",
            "network": "ws",
            "port": 80,
            "server": "jp09.nttkk.com",
            "skip-cert-verify": false,
            "tls": false,
            "type": "vmess",
            "udp": false,
            "uuid": "******************************",
            "ws-headers": {
                "Host": "jp08s.nttkk.com"
            },
            "ws-path": "/v2ray"
        },
        {
            "alterId": 0,
            "cipher": "auto",
            "name": "日本11|高速视频|X5",
            "network": "ws",
            "port": 80,
            "server": "jp11.nttkk.com",
            "skip-cert-verify": false,
            "tls": false,
            "type": "vmess",
            "udp": false,
            "uuid": "******************************",
            "ws-headers": {
                "Host": "jp11s.nttkk.com"
            },
            "ws-path": "/v2ray"
        }
    ],
    "proxy-groups": [
        {
            "interval": 300,
            "name": "PROXY",
            "proxies": [
                "俄罗斯01|下载节点|X1",
                "俄罗斯02|下载节点|X1",
                "日本04|高速视频|X3",
                "日本06|高速视频|X3",
                "日本07|高速视频|X3",
                "日本09|高速视频|X3",
                "日本11|高速视频|X5"
            ],
            "type": "load-balance",
            "url": "http://www.gstatic.com/generate_204"
        }
    ],
    "rules": [
        "MATCH, PROXY"
    ],
    "socks-port": 10809
}

V2Ray Desktop Log

2023/11/08 17:42:40 [Info] v2ray-desktop: Start to get url:  "http://www.baidu.com"
2023/11/08 17:42:40 [Info] v2ray-desktop: Start to get url:  "http://www.google.com"
2023/11/08 17:42:41 [Info] v2ray-desktop: "Start Clash ... success"
2023/11/08 17:42:43 [Warning] v2ray-desktop: Timed out when requesting  "http://www.google.com"
2023/11/08 17:42:43 [Critical] v2ray-desktop: Error occurred during requsting  "http://www.google.com" ; Error:  QNetworkReply::OperationCanceledError
2023/11/08 17:42:46 [Info] v2ray-desktop: Start to get url:  "http://www.baidu.com"
2023/11/08 17:42:46 [Info] v2ray-desktop: Start to get url:  "http://www.google.com"
2023/11/08 17:42:48 [Critical] v2ray-desktop: Error occurred during requsting  "http://www.google.com" ; Error:  QNetworkReply::RemoteHostClosedError
2023/11/08 17:42:51 [Info] v2ray-desktop: Start to get url:  "http://www.baidu.com"
2023/11/08 17:42:51 [Info] v2ray-desktop: Start to get url:  "http://www.google.com"
2023/11/08 17:42:53 [Warning] v2ray-desktop: Timed out when requesting  "http://www.google.com"
2023/11/08 17:42:53 [Critical] v2ray-desktop: Error occurred during requsting  "http://www.google.com" ; Error:  QNetworkReply::OperationCanceledError
2023/11/08 17:42:56 [Info] v2ray-desktop: Start to get url:  "http://www.baidu.com"
2023/11/08 17:42:56 [Info] v2ray-desktop: Start to get url:  "http://www.google.com"
2023/11/08 17:42:58 [Warning] v2ray-desktop: Timed out when requesting  "http://www.google.com"
2023/11/08 17:42:58 [Critical] v2ray-desktop: Error occurred during requsting  "http://www.google.com" ; Error:  QNetworkReply::OperationCanceledError
2023/11/08 17:43:01 [Info] v2ray-desktop: Start to get url:  "http://www.baidu.com"
2023/11/08 17:43:01 [Info] v2ray-desktop: Start to get url:  "http://www.google.com"
2023/11/08 17:43:03 [Warning] v2ray-desktop: Timed out when requesting  "http://www.google.com"
2023/11/08 17:43:03 [Critical] v2ray-desktop: Error occurred during requsting  "http://www.google.com" ; Error:  QNetworkReply::OperationCanceledError
2023/11/08 17:43:17 [Warning] v2ray-desktop: QString::arg: Argument missing: [Desktop Entry]
Name=V2Ray Desktop
Exec=/opt/v2ray-desktop/v2ray-desktop
Icon=/opt/v2ray-desktop/v2ray-desktop
Type=Application
Categories=Utility;
Terminal=false
X-GNOME-Autostart-enabled=true
, /opt/v2ray-desktop/v2ray-desktop
2023/11/08 17:43:17 [Info] v2ray-desktop: Application config updated. Restarting V2Ray ...
2023/11/08 17:43:17 [Critical] v2ray-desktop: Failed to start Clash.
2023/11/08 17:43:17 [Warning] v2ray-desktop: QIODevice::read (QProcess): WriteOnly device
2023/11/08 17:43:17 [Critical] v2ray-desktop: ""
2023/11/08 17:46:26 [Warning] v2ray-desktop: "Error occurred for the server URL: . Errors: 未知的服务器协议"
2023/11/08 17:46:35 [Info] v2ray-desktop: Connected to  "日本09|高速视频|X3"
2023/11/08 17:46:39 [Info] v2ray-desktop: Start to get url:  "http://www.baidu.com"
2023/11/08 17:46:40 [Info] v2ray-desktop: Start to get url:  "http://www.google.com"
2023/11/08 17:46:42 [Warning] v2ray-desktop: Timed out when requesting  "http://www.google.com"
2023/11/08 17:46:42 [Critical] v2ray-desktop: Error occurred during requsting  "http://www.google.com" ; Error:  QNetworkReply::OperationCanceledError
2023/11/08 17:46:43 [Info] v2ray-desktop: Start to get url:  "http://www.baidu.com"
2023/11/08 17:46:43 [Info] v2ray-desktop: Start to get url:  "http://www.google.com"
2023/11/08 17:46:45 [Critical] v2ray-desktop: Error occurred during requsting  "http://www.google.com" ; Error:  QNetworkReply::RemoteHostClosedError
2023/11/08 17:46:49 [Warning] v2ray-desktop: QString::arg: Argument missing: [Desktop Entry]
Name=V2Ray Desktop
Exec=/opt/v2ray-desktop/v2ray-desktop
Icon=/opt/v2ray-desktop/v2ray-desktop
Type=Application
Categories=Utility;
Terminal=false
X-GNOME-Autostart-enabled=true
, /opt/v2ray-desktop/v2ray-desktop
2023/11/08 17:46:49 [Info] v2ray-desktop: Application config updated. Restarting V2Ray ...
2023/11/08 17:46:53 [Info] v2ray-desktop: Start to get url:  "http://www.baidu.com"
2023/11/08 17:46:53 [Info] v2ray-desktop: Start to get url:  "http://www.google.com"
2023/11/08 17:46:56 [Critical] v2ray-desktop: Error occurred during requsting  "http://www.google.com" ; Error:  QNetworkReply::RemoteHostClosedError
2023/11/08 17:47:35 [Info] v2ray-desktop: Connected to  "台湾01|视频节点|X3"
2023/11/08 17:47:38 [Info] v2ray-desktop: Disconnected from  "台湾01|视频节点|X3"
2023/11/08 17:47:42 [Info] v2ray-desktop: Connected to  "日本11|高速视频|X5"
2023/11/08 17:48:08 [Info] v2ray-desktop: Start to get url:  "http://www.baidu.com"
2023/11/08 17:48:08 [Info] v2ray-desktop: Start to get url:  "http://www.google.com"
2023/11/08 17:48:11 [Warning] v2ray-desktop: Timed out when requesting  "http://www.google.com"
2023/11/08 17:48:11 [Critical] v2ray-desktop: Error occurred during requsting  "http://www.google.com" ; Error:  QNetworkReply::OperationCanceledError
2023/11/08 17:48:13 [Info] v2ray-desktop: Start to get url:  "http://www.baidu.com"
2023/11/08 17:48:13 [Info] v2ray-desktop: Start to get url:  "http://www.google.com"
2023/11/08 17:48:16 [Warning] v2ray-desktop: Timed out when requesting  "http://www.google.com"
2023/11/08 17:48:16 [Critical] v2ray-desktop: Error occurred during requsting  "http://www.google.com" ; Error:  QNetworkReply::OperationCanceledError
2023/11/08 17:48:18 [Info] v2ray-desktop: Start to get url:  "http://www.baidu.com"
2023/11/08 17:48:19 [Info] v2ray-desktop: Start to get url:  "http://www.google.com"

环境 Environment

  • 操作系统 (the OS for running the client)

Manjaro Linux 20 GNOME
V2ray Desktop v2.3.1
Clash v1.18.0

说明 Description

重现问题的具体布骤 Steps to Reproduce

  1. 安装Manjaro Linux 20 , 升级到最新版, 配置archlinuxcn源, 安装V2ray Desktop
  2. 在V2Ray Dektop 界面配置订阅之后添加服务器

我预期会发生……?

实际上发生了什麽?

更多信息 More Information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants