We use Clash as the backend proxy, which supports Shadowsocks(R), V2Ray, and Trojan protocols.

Overview

V2Ray Desktop

Build Status Build status LGTM grade: C/C++ LGTM alerts

What's New in 2.0?

We use Clash as the backend proxy, which supports Shadowsocks(R), V2Ray, and Trojan protocols.

Introduction

V2Ray Desktop is a cross-platform GUI client that supports Shadowsocks(R), V2Ray, and Trojan protocols, running on Windows, Linux, and macOS. It is built with Qt 5 and QML 2.

Compared to V2Ray, V2Ray Desktop provides more advanced features such as server subscription and latency test. You can easily migrate to V2Ray Desktop from Shadowsocks-Qt5 and V2Ray Core by importing their config files.

You can get the latest release at Releases Page. If you are using Arch Linux, you can install from archlinuxcn or build from AUR.

Notes:

  • Some functions (e.g., server subscription) in the prebuilt binary packages require OpenSSL >= 1.1.0. If you are using Ubuntu<=18.04, please install OpenSSL manually. You can refer to Installation Guide (安装指南) in the Wiki page for the detailed information.
  • The AppImage for Linux is built in Ubuntu 16.04. Linux with GLIBC< 2.23 (e.g., Ubuntu<=16.04) may have problems using this AppImage. Please consider building it from source with Qt >= 5.15.

For more information, please visit the project's Wiki page.

Features

  • Support Windows, Linux, and macOS.
  • Support Shadowsocks(R), V2Ray, and Trojan servers.
  • Support connecting to multiple servers.
  • Support adding/updating servers from subscription URLs.
  • Support adding servers by importing Shadowsocks-Qt5 and V2Ray Core configuration.
  • Support adding servers by scanning QR codes.
  • Support PAC proxy mode, Global proxy mode, and Manual proxy mode.
  • Support getting and setting system proxies for Windows, Linux (GNOME/KDE), and macOS.
  • Support automatically updating GFWList.
  • Support automatically starts up when logged in.

Screenshot

Dashboard

Servers

License

This project is licensed under version 3 of the GNU General Public License.

Issues
  • [Bug] Something wrong with the proxy

    [Bug] Something wrong with the proxy

    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: 1087
    proxies:
      - ...
    proxy-groups:
      - interval: 300
        name: PROXY
        proxies:
          - California_CN2
        type: load-balance
        url: http://www.gstatic.com/generate_204
    rules:
      - FINAL, PROXY
    socks-port: 1080
    

    V2Ray Desktop Log

    2020/06/30 01:41:02 [info] clash: Start initial compatible provider PROXY
    2020/06/30 01:41:02 [fatal] clash: Parse config error: Rules[0] [FINAL, PROXY] error: unsupported rule type FINAL
    2020/06/30 01:41:02 [Warning] v2ray-desktop: QIODevice::read (QProcess): WriteOnly device
    2020/06/30 01:41:02 [Info] v2ray-desktop: "Start Clash ... failed"
    2020/06/30 01:41:02 [Critical] v2ray-desktop: Failed to start Clash.
    2020/06/30 01:41:02 [Critical] v2ray-desktop: ""
    2020/06/30 01:41:01 [Warning] v2ray-desktop: QIODevice::read (QProcess): WriteOnly device
    2020/06/30 01:41:01 [Info] v2ray-desktop: "Start Clash ... failed"
    2020/06/30 01:41:01 [Critical] v2ray-desktop: Failed to start Clash.
    2020/06/30 01:41:01 [Critical] v2ray-desktop: ""
    2020/06/30 01:38:22 [Warning] v2ray-desktop: Timed out when requesting  "http://www.google.com"
    2020/06/30 01:38:22 [Critical] v2ray-desktop: Error occurred during requsting  "http://www.google.com" ; Error:  QNetworkReply::OperationCanceledError
    2020/06/30 01:38:19 [Info] v2ray-desktop: Start to get url:  "http://www.google.com"
    2020/06/30 01:38:19 [Info] v2ray-desktop: Start to get url:  "http://www.baidu.com"
    2020/06/30 01:38:17 [Warning] v2ray-desktop: Timed out when requesting  "http://www.google.com"
    2020/06/30 01:38:17 [Critical] v2ray-desktop: Error occurred during requsting  "http://www.google.com" ; Error:  QNetworkReply::OperationCanceledError
    2020/06/30 01:38:15 [info] clash: Start initial compatible provider PROXY
    2020/06/30 01:38:15 [fatal] clash: Parse config error: Rules[0] [FINAL, PROXY] error: unsupported rule type FINAL
    2020/06/30 01:38:15 [Warning] v2ray-desktop: QIODevice::read (QProcess): WriteOnly device
    2020/06/30 01:38:15 [Info] v2ray-desktop: "Start Clash ... failed"
    2020/06/30 01:38:15 [Critical] v2ray-desktop: Failed to start Clash.
    2020/06/30 01:38:15 [Critical] v2ray-desktop: ""
    2020/06/30 01:38:14 [Info] v2ray-desktop: Start to get url:  "http://www.google.com"
    2020/06/30 01:38:14 [Info] v2ray-desktop: Start to get url:  "http://www.baidu.com"
    2020/06/30 01:38:13 [Warning] v2ray-desktop: QIODevice::read (QProcess): WriteOnly device
    2020/06/30 01:38:13 [Info] v2ray-desktop: "Start Clash ... failed"
    2020/06/30 01:38:13 [Critical] v2ray-desktop: Failed to start Clash.
    2020/06/30 01:38:13 [Critical] v2ray-desktop: ""
    2020/06/30 01:38:12 [Warning] v2ray-desktop: Timed out when requesting  "http://www.google.com"
    2020/06/30 01:38:12 [Critical] v2ray-desktop: Error occurred during requsting  "http://www.google.com" ; Error:  QNetworkReply::OperationCanceledError
    2020/06/30 01:38:09 [Warning] v2ray-desktop: QSystemTrayIcon::setVisible: No Icon set
    2020/06/30 01:38:09 [Info] v2ray-desktop: Start to get url:  "http://www.google.com"
    2020/06/30 01:38:09 [Info] v2ray-desktop: Start to get url:  "http://www.baidu.com"
    2020/06/30 01:38:09 [Info] v2ray-desktop: "Start Clash ... failed"
    2020/06/30 01:38:09 [Critical] v2ray-desktop: Failed to start Clash.
    2020/06/30 01:38:09 [Critical] v2ray-desktop: "2020/06/30 01:38:09 [info] clash: Start initial compatible provider PROXY\"\ntime=\"2020-06-30T01:38:09+08:00\" level=fatal msg=\"Parse config error: Rules[0] [FINAL, PROXY] error: unsupported rule type FINAL\""
    2020/06/30 01:38:06 [Warning] v2ray-desktop: QFileSystemWatcher::removePaths: list is empty
    2020/06/30 01:37:13 [Warning] v2ray-desktop: Timed out when requesting  "http://www.google.com"
    2020/06/30 01:37:13 [Critical] v2ray-desktop: Error occurred during requsting  "http://www.google.com" ; Error:  QNetworkReply::OperationCanceledError
    2020/06/30 01:37:10 [Info] v2ray-desktop: Start to get url:  "http://www.google.com"
    2020/06/30 01:37:10 [Info] v2ray-desktop: Start to get url:  "http://www.baidu.com"
    2020/06/30 01:37:08 [Warning] v2ray-desktop: Timed out when requesting  "http://www.google.com"
    2020/06/30 01:37:08 [Critical] v2ray-desktop: Error occurred during requsting  "http://www.google.com" ; Error:  QNetworkReply::OperationCanceledError
    2020/06/30 01:37:07 [Warning] v2ray-desktop: QIODevice::read (QProcess): WriteOnly device
    2020/06/30 01:37:07 [Info] v2ray-desktop: "Start Clash ... failed"
    2020/06/30 01:37:07 [Critical] v2ray-desktop: Failed to start Clash.
    2020/06/30 01:37:07 [Critical] v2ray-desktop: ""
    2020/06/30 01:37:05 [Info] v2ray-desktop: Start to get url:  "http://www.google.com"
    2020/06/30 01:37:05 [Info] v2ray-desktop: Start to get url:  "http://www.baidu.com"
    2020/06/30 01:37:03 [Warning] v2ray-desktop: Timed out when requesting  "http://www.google.com"
    2020/06/30 01:37:03 [Critical] v2ray-desktop: Error occurred during requsting  "http://www.google.com" ; Error:  QNetworkReply::OperationCanceledError
    2020/06/30 01:37:01 [Warning] v2ray-desktop: QIODevice::read (QProcess): WriteOnly device
    2020/06/30 01:37:01 [Info] v2ray-desktop: "Start Clash ... failed"
    2020/06/30 01:37:01 [Critical] v2ray-desktop: Failed to start Clash.
    2020/06/30 01:37:01 [Critical] v2ray-desktop: ""
    2020/06/30 01:37:00 [Info] v2ray-desktop: Start to get url:  "http://www.google.com"
    2020/06/30 01:37:00 [Info] v2ray-desktop: Start to get url:  "http://www.baidu.com"
    2020/06/30 01:36:59 [Warning] v2ray-desktop: QIODevice::read (QProcess): WriteOnly device
    2020/06/30 01:36:59 [Info] v2ray-desktop: "Start Clash ... failed"
    2020/06/30 01:36:59 [Critical] v2ray-desktop: Failed to start Clash.
    2020/06/30 01:36:59 [Critical] v2ray-desktop: ""
    2020/06/30 01:36:58 [Warning] v2ray-desktop: Timed out when requesting  "http://www.google.com"
    2020/06/30 01:36:58 [Critical] v2ray-desktop: Error occurred during requsting  "http://www.google.com" ; Error:  QNetworkReply::OperationCanceledError
    2020/06/30 01:36:55 [Warning] v2ray-desktop: QIODevice::read (QProcess): WriteOnly device
    2020/06/30 01:36:55 [Info] v2ray-desktop: Start to get url:  "http://www.google.com"
    2020/06/30 01:36:55 [Info] v2ray-desktop: Start to get url:  "http://www.baidu.com"
    2020/06/30 01:36:55 [Info] v2ray-desktop: "Start Clash ... failed"
    2020/06/30 01:36:55 [Critical] v2ray-desktop: Failed to start Clash.
    2020/06/30 01:36:55 [Critical] v2ray-desktop: ""
    2020/06/30 01:36:53 [Warning] v2ray-desktop: Timed out when requesting  "http://www.google.com"
    2020/06/30 01:36:53 [Warning] v2ray-desktop: QIODevice::read (QProcess): WriteOnly device
    2020/06/30 01:36:53 [Info] v2ray-desktop: "Start Clash ... failed"
    2020/06/30 01:36:53 [Critical] v2ray-desktop: Failed to start Clash.
    2020/06/30 01:36:53 [Critical] v2ray-desktop: Error occurred during requsting  "http://www.google.com" ; Error:  QNetworkReply::OperationCanceledError
    2020/06/30 01:36:53 [Critical] v2ray-desktop: ""
    2020/06/30 01:36:50 [Info] v2ray-desktop: Start to get url:  "http://www.google.com"
    2020/06/30 01:36:50 [Info] v2ray-desktop: Start to get url:  "http://www.baidu.com"
    2020/06/30 01:36:48 [Warning] v2ray-desktop: Timed out when requesting  "http://www.google.com"
    2020/06/30 01:36:48 [Critical] v2ray-desktop: Error occurred during requsting  "http://www.google.com" ; Error:  QNetworkReply::OperationCanceledError
    2020/06/30 01:36:46 [Info] v2ray-desktop: Start to get url:  "http://www.google.com"
    2020/06/30 01:36:46 [Info] v2ray-desktop: Start to get url:  "http://www.baidu.com"
    2020/06/30 01:30:55 [Info] v2ray-desktop: Start to get url:  "http://www.google.com"
    2020/06/30 01:30:55 [Info] v2ray-desktop: Start to get url:  "http://www.baidu.com"
    2020/06/30 01:30:55 [Critical] v2ray-desktop: Error occurred during requsting  "http://www.google.com" ; Error:  QNetworkReply::UnknownNetworkError
    2020/06/30 01:30:27 [Warning] v2ray-desktop: QProcess::start: Process is already running
    2020/06/30 01:30:27 [Info] v2ray-desktop: "Start Clash ... success"
    2020/06/30 01:30:21 [Info] v2ray-desktop: GFW List updated successfully.
    2020/06/30 01:30:18 [Info] v2ray-desktop: Start to get url:  "https://raw.githubusercontent.com/du5/gfwlist/master/Rules/Clash/gfwlist.yml"
    2020/06/30 01:30:15 [Info] v2ray-desktop: "Stop Clash ... success"
    2020/06/30 01:28:59 [Info] v2ray-desktop: Start to get url:  "http://www.google.com"
    2020/06/30 01:28:59 [Info] v2ray-desktop: Start to get url:  "http://www.baidu.com"
    2020/06/30 01:28:59 [Critical] v2ray-desktop: Error occurred during requsting  "http://www.google.com" ; Error:  QNetworkReply::UnknownNetworkError
    2020/06/30 01:28:54 [Info] v2ray-desktop: Start to get url:  "http://www.google.com"
    2020/06/30 01:28:54 [Info] v2ray-desktop: Start to get url:  "http://www.baidu.com"
    2020/06/30 01:28:54 [Critical] v2ray-desktop: Error occurred during requsting  "http://www.google.com" ; Error:  QNetworkReply::UnknownNetworkError
    2020/06/30 01:28:49 [Info] v2ray-desktop: Start to get url:  "http://www.google.com"
    2020/06/30 01:28:49 [Info] v2ray-desktop: Start to get url:  "http://www.baidu.com"
    2020/06/30 01:28:49 [Critical] v2ray-desktop: Error occurred during requsting  "http://www.google.com" ; Error:  QNetworkReply::UnknownNetworkError
    2020/06/30 01:28:44 [Info] v2ray-desktop: Start to get url:  "http://www.google.com"
    2020/06/30 01:28:44 [Info] v2ray-desktop: Start to get url:  "http://www.baidu.com"
    2020/06/30 01:28:44 [Critical] v2ray-desktop: Error occurred during requsting  "http://www.google.com" ; Error:  QNetworkReply::UnknownNetworkError
    2020/06/30 01:28:39 [Info] v2ray-desktop: Start to get url:  "http://www.google.com"
    2020/06/30 01:28:39 [Info] v2ray-desktop: Start to get url:  "http://www.baidu.com"
    2020/06/30 01:28:39 [Critical] v2ray-desktop: Error occurred during requsting  "http://www.google.com" ; Error:  QNetworkReply::UnknownNetworkError
    2020/06/30 01:28:34 [Info] v2ray-desktop: Start to get url:  "http://www.google.com"
    2020/06/30 01:28:34 [Info] v2ray-desktop: Start to get url:  "http://www.baidu.com"
    2020/06/30 01:28:34 [Critical] v2ray-desktop: Error occurred during requsting  "http://www.google.com" ; Error:  QNetworkReply::UnknownNetworkError
    2020/06/30 01:28:29 [Info] v2ray-desktop: Start to get url:  "http://www.google.com"
    2020/06/30 01:28:29 [Info] v2ray-desktop: Start to get url:  "http://www.baidu.com"
    2020/06/30 01:28:29 [Critical] v2ray-desktop: Error occurred during requsting  "http://www.google.com" ; Error:  QNetworkReply::UnknownNetworkError
    2020/06/30 01:28:24 [Info] v2ray-desktop: Start to get url:  "http://www.google.com"
    2020/06/30 01:28:24 [Info] v2ray-desktop: Start to get url:  "http://www.baidu.com"
    2020/06/30 01:28:24 [Critical] v2ray-desktop: Error occurred during requsting  "http://www.google.com" ; Error:  QNetworkReply::UnknownNetworkError
    2020/06/30 01:28:19 [Info] v2ray-desktop: Start to get url:  "http://www.google.com"
    2020/06/30 01:28:19 [Info] v2ray-desktop: Start to get url:  "http://www.baidu.com"
    2020/06/30 01:28:19 [Critical] v2ray-desktop: Error occurred during requsting  "http://www.google.com" ; Error:  QNetworkReply::UnknownNetworkError
    2020/06/30 01:28:14 [Info] v2ray-desktop: Start to get url:  "http://www.google.com"
    2020/06/30 01:28:14 [Info] v2ray-desktop: Start to get url:  "http://www.baidu.com"
    2020/06/30 01:28:14 [Critical] v2ray-desktop: Error occurred during requsting  "http://www.google.com" ; Error:  QNetworkReply::UnknownNetworkError
    2020/06/30 01:28:09 [Info] v2ray-desktop: Start to get url:  "http://www.google.com"
    2020/06/30 01:28:09 [Info] v2ray-desktop: Start to get url:  "http://www.baidu.com"
    2020/06/30 01:28:09 [Critical] v2ray-desktop: Error occurred during requsting  "http://www.google.com" ; Error:  QNetworkReply::UnknownNetworkError
    2020/06/30 01:28:04 [Info] v2ray-desktop: Start to get url:  "http://www.google.com"
    2020/06/30 01:28:04 [Info] v2ray-desktop: Start to get url:  "http://www.baidu.com"
    2020/06/30 01:28:04 [Critical] v2ray-desktop: Error occurred during requsting  "http://www.google.com" ; Error:  QNetworkReply::UnknownNetworkError
    2020/06/30 01:28:00 [Info] v2ray-desktop: Start to get url:  "http://www.google.com"
    2020/06/30 01:28:00 [Critical] v2ray-desktop: Error occurred during requsting  "http://www.google.com" ; Error:  QNetworkReply::UnknownNetworkError
    2020/06/30 01:27:59 [Info] v2ray-desktop: Start to get url:  "http://www.baidu.com"
    2020/06/30 01:27:54 [Info] v2ray-desktop: Start to get url:  "http://www.google.com"
    2020/06/30 01:27:54 [Info] v2ray-desktop: Start to get url:  "http://www.baidu.com"
    2020/06/30 01:27:54 [Critical] v2ray-desktop: Error occurred during requsting  "http://www.google.com" ; Error:  QNetworkReply::UnknownNetworkError
    2020/06/30 01:27:49 [Info] v2ray-desktop: Start to get url:  "http://www.google.com"
    2020/06/30 01:27:49 [Info] v2ray-desktop: Start to get url:  "http://www.baidu.com"
    2020/06/30 01:27:49 [Critical] v2ray-desktop: Error occurred during requsting  "http://www.google.com" ; Error:  QNetworkReply::UnknownNetworkError
    2020/06/30 01:27:44 [Info] v2ray-desktop: Start to get url:  "http://www.google.com"
    2020/06/30 01:27:44 [Info] v2ray-desktop: Start to get url:  "http://www.baidu.com"
    2020/06/30 01:27:44 [Critical] v2ray-desktop: Error occurred during requsting  "http://www.google.com" ; Error:  QNetworkReply::UnknownNetworkError
    2020/06/30 01:27:39 [Info] v2ray-desktop: Start to get url:  "http://www.google.com"
    2020/06/30 01:27:39 [Info] v2ray-desktop: Start to get url:  "http://www.baidu.com"
    2020/06/30 01:27:39 [Critical] v2ray-desktop: Error occurred during requsting  "http://www.google.com" ; Error:  QNetworkReply::UnknownNetworkError
    2020/06/30 01:24:13 [Info] v2ray-desktop: "Start Clash ... success"
    2020/06/30 01:24:10 [Info] v2ray-desktop: "Stop Clash ... success"
    

    环境 Environment

    • 操作系统:ArchLinux
    • v2ray-desktop version: 2.1.6-1

    说明 Description

    Server可以成功连接以及测试lantency。 尝试过不同的Mode(Rule、Global)以及系统代理(Http、Socks),均无法连接。

    Dashboard中网络状态显示:请检查代理设置 Network Status: Please check your proxy settings.

    用netstat查看本地端口占用,未发现1080和1087端口。

    过一段时间之后发现Turn the V2Ray Desktop on点击失效。

    details needed 
    opened by Shawn-Hx 10
  • [BUG] ComboBox.valueRole is not available.

    [BUG] ComboBox.valueRole is not available.

    基本信息

    操作系统:Arch Linux Latest image

    V2Ray Desktop 版本:tag v1.5.1

    V2Ray Desktop 安装方式:Build from source code.

    描述问题

    Settings and Rules panels are unable to display.

    image

    image

    复现问题的步骤(非常重要)

    1. The QML Debugger Console info:

    image

    1. Comment out the valueRole property on ComboBox can display the components, but other calls are obviously broken which does not affect our debugging.

    image

    1. I noticed that the valueRole property was introduced in QtQuick.Controls 2.14 (Qt 5.14) but the current build version is also the same.

    https://doc.qt.io/qt-5/qml-qtquick-controls2-combobox.html#valueRole-prop

    bug 
    opened by axionl 10
  • [Bug] error: yaml: line 13: did not find expected key

    [Bug] error: yaml: line 13: did not find expected key

    tips

    如果能够让它在linux上可以不依赖SwitchyOmege之类的插件独立使用,我愿意请你们喝杯茶

    基本信息

    操作系统: Manjaro

    V2Ray Desktop 版本: 2.1.3

    V2Ray Desktop 安装方式: yay

    描述问题

    服务不可用,网络状态:不可用

    复现问题的步骤

    添加完服务器后,想启动服务的时候就这样了。

    V2Ray Desktop 运行日志

    2020/04/06 22:30:50 [fatal] clash: Parse config error: yaml: line 13: did not find expected key 2020/04/06 22:30:50 [Warning] v2ray-desktop: QIODevice::read (QProcess): WriteOnly device 2020/04/06 22:30:50 [Info] v2ray-desktop: "Start Clash ... failed" 2020/04/06 22:30:50 [Critical] v2ray-desktop: Failed to start Clash. 2020/04/06 22:30:50 [Critical] v2ray-desktop: "" 2020/04/06 22:26:50 [Warning] v2ray-desktop: Timed out when requesting "http://www.google.com" 2020/04/06 22:26:50 [Critical] v2ray-desktop: Error occurred during requsting "http://www.google.com" ; Error: QNetworkReply::OperationCanceledError 2020/04/06 22:26:47 [Info] v2ray-desktop: Start to get url: "http://www.google.com" 2020/04/06 22:26:47 [Info] v2ray-desktop: Start to get url: "http://www.baidu.com"

    截图

    2020-04-06 22-37-36 的屏幕截图

    2020-04-06 22-42-26 的屏幕截图

    good first issue question 
    opened by maxioptty 8
  • Failed to get subscription servers from URLs

    Failed to get subscription servers from URLs

    在 Linux 和 Windows 上订阅均失败,后者的 log:

    2020/03/25 16:21:41 [Warning] v2ray-desktop: QSslSocket::connectToHostEncrypted: TLS initialization failed
    2020/03/25 16:21:41 [Info] v2ray-desktop: Start to get url:  "打码处理"
    2020/03/25 16:21:41 [Critical] v2ray-desktop: Error occurred during requsting  "打码处理" ; Error:  QNetworkReply::UnknownNetworkError
    

    在另一个客户端 v2rayN 就能正常订阅。

    bug 
    opened by acgtyrant 8
  • [Bug] Vmess subsription url not working if there is a `\r` at the end of a URL

    [Bug] Vmess subsription url not working if there is a `\r` at the end of a URL

    Hi bro,

    I download the lastest release and try to add server with my vmess subscription url. But it's not working for me.

    The log file:

    Errors: The value of 'Server Port' seems invalid."
    
    2020/12/25 13:52:18 [Warning] v2ray-desktop: "Error occurred for the server URL: . Errors: Unknown Server protocol"
    

    So I review the code you commited, and found that the rawServerConfig from base64 has changed.

    https://github.com/Dr-Incognito/V2Ray-Desktop/blob/b4fc06ba8447e09f8c6dfef1a3b7485e1a50a9a5/src/serverconfighelper.cpp#L213-L216

    Maybe you shoud change the function to QByteArray::fromBase64Encoding(encodedData)), see more details in QByteArray::FromBase64Result QByteArray::fromBase64Encoding(QByteArray &&base64, QByteArray::Base64Options options = Base64Encoding).

    Or is it another bug in code?

    enhancement 
    opened by MikoyChinese 7
  • [BUG]System Proxy: Disabled

    [BUG]System Proxy: Disabled

    My V2Ray Desktop is not working properly. Please help me. Thank you! The status shows a fine state, but the System Proxy is showing Disabled.

    At first: On the Dashboard Network Status Everything works fine. You can access the free Internet.

    Proxy Settings System Proxy: Disabled Clash: Running Proxy Mode: Global Connected Servers: - 111

    Operating System Ubuntu 18.04.4 LTS V2Ray Desktop Version v2.2.0 Clash Version v1.3.0

    The log is as follow: 2020/12/25 13:25:53 [Info] v2ray-desktop: Start to get url: "http://www.google.com" 2020/12/25 13:25:53 [Info] v2ray-desktop: Start to get url: "http://www.baidu.com" 2020/12/25 13:25:53 [Critical] v2ray-desktop: Error occurred during requsting "http://www.baidu.com" ; Error: QNetworkReply::HostNotFoundError 2020/12/25 13:25:48 [Info] v2ray-desktop: Start to get url: "http://www.google.com" 2020/12/25 13:25:48 [Info] v2ray-desktop: Start to get url: "http://www.baidu.com" 2020/12/25 13:25:48 [Critical] v2ray-desktop: Error occurred during requsting "http://www.baidu.com" ; Error: QNetworkReply::HostNotFoundError 2020/12/25 13:25:43 [Info] v2ray-desktop: Start to get url: "http://www.google.com" 2020/12/25 13:25:43 [Info] v2ray-desktop: Start to get url: "http://www.baidu.com" 2020/12/25 13:25:43 [Critical] v2ray-desktop: Error occurred during requsting "http://www.baidu.com" ; Error: QNetworkReply::HostNotFoundError 2020/12/25 13:25:39 [Warning] v2ray-desktop: Timed out when requesting "http://www.google.com" 2020/12/25 13:25:39 [Critical] v2ray-desktop: Error occurred during requsting "http://www.google.com" ; Error: QNetworkReply::OperationCanceledError 2020/12/25 13:25:37 [Warning] v2ray-desktop: QSystemTrayIcon::setVisible: No Icon set 2020/12/25 13:25:37 [Info] v2ray-desktop: Start to get url: "http://www.google.com" 2020/12/25 13:25:37 [Info] v2ray-desktop: Start to get url: "http://www.baidu.com" 2020/12/25 13:25:37 [Info] v2ray-desktop: "Start Clash ... success" 2020/12/25 13:25:37 [Critical] v2ray-desktop: Error occurred during requsting "http://www.baidu.com" ; Error: QNetworkReply::HostNotFoundError

    invalid 
    opened by ives-kwy 6
  • The proxy mode

    The proxy mode "Rule Mode" will stop the connection

    V2Ray Desktop Config

     {
         "autoStart": false,
         "defaultSysProxyProtocol": "http",
         "dns": "8.8.8.8; 4.4.4.4",
         "enableSysProxy": false,
         "gfwListLastUpdated": "周五 4月 10 00:53:13 2020",
         "gfwListUrl": "https://raw.githubusercontent.com/du5/gfwlist/master/Rules/Clash/gfwlist.yml",
         "hideWindow": false,
         "httpPort": 1087,
         "language": "zh-CN",
         "proxyMode": "Rule",
         "serverIp": "127.0.0.1",
         "servers": [
             {
                 "alterId": 2,
                 "autoConnect": false,
                 "cipher": "auto",
                 "name": "美国波特兰",
                 "port": 59237,
                 "server": "us.xxxxxxxxxxxxxxxxxx.com",
                 "skip-cert-verify": true,
                 "subscription": "https://xxxxxxxxxxxxxx	xxxxxxxxxxxx1",
                 "tls": true,
                 "type": "vmess",
                 "udp": false,
                 "uuid": "1xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxed5c"
             }
         ],
         "socksPort": 1080
     }
    ~                                                                                   
    
    

    V2Ray Desktop Log

    ...
    

    环境 Environment

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

    说明 Description

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

    1. open v2ray desktop
    2. add a v2ray server manually .make sure every param is right
    3. edit setting with ui ,change proxy mode to "Rules"
    4. open chrome and open https://www.google which can't open yet(cause i'm requesting from chine )
    5. go back to v2ray desktop ui .save setting
    6. quick refresh chrome

    我预期会发生……?

    i can requet website i want.

    实际上发生了什麽?

    the google can be only open for one time ! just one time ! no matter what url i request, it can be only open for one time .

    更多信息 More Information

    i have find the solution but it's still a bug.

    solution

    1. use terminal,edit the config file and change proxy mode from "Rule Mode" to "Global Mode"
    2. reconnect the server .
    3. use plugin on browser to apply the GfwList

    however ,once you edit your setting and change the Proxy mode . the connect will down.

    one more ,the default GFWlist url is end with ".yml" which is nolonger provided by github.

    details needed 
    opened by verneSil 5
  • Can't finish compiling in Arch Linux

    Can't finish compiling in Arch Linux

    I can't finish upgrading to new version. When Arch Linux start compiling this program, system will become very slow and finally become frozen like picture below: image And KDE will stop working, it even has influence to my host computer, I have to stop vitrual machine forcely. I'm not sure this is my fault or the program's. I am using vmware virtual machine and I have tried reinstall this program, it didn't help. Thanks for everyone's help.

    question wontfix 
    opened by zhanghua000 5
  • [question] ... 请问如何设置终端代理?

    [question] ... 请问如何设置终端代理?

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

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

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

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


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

    V2Ray Desktop Config

    ...
    

    V2Ray Desktop Log

    ...
    

    环境 Environment

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

    Ubuntu 20.04

    说明 Description

    你好,我该怎样才能使用V2ray Desktop来代理terminal呢?我尝试过几种方法,貌似都不是很好用,有没有哪种方案能让我实现终端代理呢?谢谢。 好像“全局模式”可以通过 curl www.google.com 获取到内容

    设置系统代理:无论是HTTP还是SOCKS5 我都试过,但是都不行。

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

    1. 当我在terminal中执行 sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
    2. 出现这个错误 curl: (7) SOCKS4: Failed receiving connect request ack: Failure when receiving data from the peer

    我预期会发生……?

    实际上发生了什麽?

    更多信息 More Information

    opened by fattypiggy 4
  • [Bug] Cannot switch proxy mode

    [Bug] Cannot switch proxy mode

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

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

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

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


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

    V2Ray Desktop Config

    ...
    

    V2Ray Desktop Log

    ...
    

    环境 Environment

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

    ...

    说明 Description

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

    1. [First Step]
    2. [Second Step]
    3. ...

    我预期会发生……?

    实际上发生了什麽?

    更多信息 More Information

    invalid 
    opened by autumn3015 4
  • [Bug] Cannot set system proxy in Ubuntu 20.04

    [Bug] Cannot set system proxy in Ubuntu 20.04

    V2Ray Desktop Log

    2021/05/11 14:36:13 [info] clash: [TCP] 127.0.0.1:55464 --> www.google.com match DomainSuffix(google.com) using PROXY[VMESS台湾原生600M] 2021/05/11 14:36:13 [Info] v2ray-desktop: Start to get url: "http://www.google.com" 2021/05/11 14:36:12 [Info] v2ray-desktop: Start to get url: "http://www.baidu.com" 2021/05/11 14:35:11 [info] clash: [TCP] 127.0.0.1:55438 --> www.google.com.hk match Match() using PROXY[VMESS台湾原生600M] 2021/05/11 14:35:11 [info] clash: [TCP] 127.0.0.1:55436 --> www.google.com.hk match Match() using PROXY[VMESS台湾原生600M] 2021/05/11 14:35:10 [info] clash: [TCP] 127.0.0.1:55432 --> www.google.com.hk match Match() using PROXY[VMESS台湾原生600M] 2021/05/11 14:35:09 [Info] v2ray-desktop: Start to get url: "http://www.google.com" 2021/05/11 14:35:09 [Info] v2ray-desktop: Start to get url: "http://www.baidu.com"

    Environment

    A fresh install of Ubuntu 20.04.2 LTS

    Description

    I tried version 2.1.7, 2.2.0 and 2.2.1 and they all have the same problem. After enabling system proxy from tray, Proxy Settings still says system proxy is still disabled, but the Network Status says everything works fine. Also tried on macOS as well, but it has the same problem.

    With ClashX on macOS, the subscription works fine thought.

    Any idea what's wrong?

    Screenshot from 2021-05-11 14-47-29

    opened by ZhengYuen 3
  • [Bug] 使用已被弃用的配置导致服务启动失败

    [Bug] 使用已被弃用的配置导致服务启动失败

    影响范围

    • 版本:v2.2.2之后
    • 仅vmess+websocket配置受影响

    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": 1087,
        "proxies": [
            {
                "alterId": 0,
                "cipher": "auto",
                "name": "config-a",
                "network": "ws",
                "port": 443,
                "server": "Hidden",
                "skip-cert-verify": false,
                "tls": true,
                "type": "vmess",
                "udp": false,
                "uuid": "Hidden",
                "ws-headers": {
                    "Host": ""
                },
                "ws-path": "Hidden"
            }
        ],
        "proxy-groups": [
            {
                "interval": 300,
                "name": "PROXY",
                "proxies": [
                    "config-a"
                ],
                "type": "load-balance",
                "url": "http://www.gstatic.com/generate_204"
            }
        ],
        "rules": [
            "IP-CIDR, 127.0.0.0/8, DIRECT",
            "IP-CIDR, 10.0.0.0/8, DIRECT",
            "IP-CIDR, 172.16.0.0/12, DIRECT",
            "IP-CIDR, 192.168.0.0/16, DIRECT",
            "GEOIP, CN, DIRECT",
            "MATCH, PROXY"
        ],
        "socks-port": 1080
    }
    
    

    V2Ray Desktop Log

    
    <!-- 访问资源时报错 #错误B -->
    2022/06/15 14:27:16 [warning] clash: [TCP] dial PROXY (match Match/) to raw.githubusercontent.com:443 error: dial xxxxxx:443 error: 200 OK
    2022/06/15 14:27:16 [Info] v2ray-desktop: Start to get url:  "https://raw.githubusercontent.com/du5/gfwlist/master/Rules/Clash/gfwlist.yml"
    2022/06/15 14:27:16 [Critical] v2ray-desktop: Error occurred during requsting  "https://raw.githubusercontent.com/du5/gfwlist/master/Rules/Clash/gfwlist.yml" ; Error:  QNetworkReply::RemoteHostClosedError
    
    <!-- 启动服务时报错  #错误A -->
    2022/06/15 14:12:45 [Critical] v2ray-desktop: Failed to start Clash.
    2022/06/15 14:12:45 [Warning] v2ray-desktop: QIODevice::read (QProcess): WriteOnly device
    2022/06/15 14:12:45 [Critical] v2ray-desktop: ""
    2022/06/15 14:12:45 [Info] v2ray-desktop: Disconnected from  "config-a"
    2022/06/15 14:12:46 [Info] v2ray-desktop: Connected to  "config-a"
    

    环境 Environment

    • Deepin 20.6

    说明 Description

    Clash在V1.9.0版本弃用了ws-pathws-headers等配置,导致使用vmess+ws的服务器均无法正常连接,需要更新代码以已修复这个问题。

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

    1. 双击运行 "V2Ray-Desktop-v2.3.1-linux-x86_64.AppImage"
    2. 服务器-添加新服务器页面填写配置,传输协议选择WebSocket,并任意填写HostPath选项
    3. 启用刚才配置的服务器并在托盘右键菜单中单击打开 V2Ray Desktop,日志中即出现上述所示的错误A
    4. 访问任意资源,日志中即出现上述所示的错误B

    更多信息 More Information

    1. 经过检查,这个问题是由Clash在V1.9.0版本弃用已过时的配置项导致的。
    2. 查阅Clash配置文档后可知,Vmess的ws配置项发生了如下变动
      # old 已弃用
      - name: v4
        type: vmess
        server: example.com
        port: 443
        uuid: uuid
        alterId: 233
        cipher: auto
        tls: true
        tls-hostname: example.com
        skip-cert-verify: true
        network: ws
        ws-path: /
        ws-headers:
            Host: example.com
      
      # new
      - name: "vmess"
        type: vmess
        server: server
        port: 443
        uuid: uuid
        alterId: 32
        cipher: auto
        udp: true
        tls: true
        skip-cert-verify: true
        servername: example.com # priority over wss host
        network: ws
        ws-opts:
          path: /path
          headers:
            Host: v2ray.com
          max-early-data: 2048
          early-data-header-name: Sec-WebSocket-Protocol
      
    3. 按照格式更新config.yaml后直接启动clash,代理正常运行
    opened by daizc311 1
  • Who can tell me how to use it after i have installed it in my Ubuntu 18.04?Please

    Who can tell me how to use it after i have installed it in my Ubuntu 18.04?Please

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

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

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


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

    说明 Description

    可能的解决方案 Possible Solution

    更多信息 More Information

    enhancement 
    opened by huanongzhangbin 0
  • [bug]trojan-go+ws and shell command not work - MacOS

    [bug]trojan-go+ws and shell command not work - MacOS

    v2ray-desktop v2.3.1

    bug 1: trojan-go+ws does not work.

    bug 2: in shell command, I run export https_proxy=http://127.0.0.1:1087 http_proxy=http://127.0.0.1:1087 all_proxy=socks5://127.0.0.1:1080 and then run curl http://google.com and got 500 error

    opened by chismo950 0
  • [Bug] Cannot import V2Ray Subscription with Tag

    [Bug] Cannot import V2Ray Subscription with Tag "Servers"

    日志提示: 2022/03/06 16:57:20 [Warning] v2ray-desktop: Ignore unknown config item [Name= "servers" , Type= QVariantList ] 2022/03/06 16:57:20 [Info] v2ray-desktop: "Add a new server[Name=香港] from URI: vmess://*****" 2022/03/06 16:57:18 [Warning] v2ray-desktop: Timed out when requesting "http://www.google.com" 2022/03/06 16:57:18 [Critical] v2ray-desktop: Error occurred during requsting "http://www.google.com" ; Error: QNetworkReply::OperationCanceledError 2022/03/06 16:57:15 [Info] v2ray-desktop: Start to get url: "http://www.google.com" 2022/03/06 16:57:15 [Info] v2ray-desktop: Start to get url: "http://www.baidu.com" 2022/03/06 16:55:18 [fatal] clash: Parse config error: proxy group[0]: use or proxies missing 2022/03/06 16:55:18 [Warning] v2ray-desktop: QIODevice::read (QProcess): WriteOnly device 2022/03/06 16:55:18 [Info] v2ray-desktop: "Start Clash ... failed" 2022/03/06 16:55:18 [Critical] v2ray-desktop: Failed to start Clash. 2022/03/06 16:55:18 [Critical] v2ray-desktop: ""

    details needed 
    opened by mrjeke 2
Releases(2.4.0)
Owner
Dr. Incognito
I am nobody.
Dr. Incognito
A Nginx module which tries to implement proxy wasm ABI in Nginx.

Status This library is under construction. Description A Nginx module which tries to implement proxy wasm ABI in Nginx. Install dependencies Download

API7 71 Jun 28, 2022
Encapsulates the two protocols of OpenVpn and Ikev2, you only need to enter the server IP and port number to realize the connection and status display, and the specific situation of the connection can be displayed at the same time。

NewVpnCore 封装了OpenVpn和Ikev2两种协议,只需要输入服务器IP和端口号即可实现连接和状态显示,同时可以显示连接的具体情况。 UniteVpn Core(第一版) 1. 模块说明 unitevpn:封装了vpn的操作和统一不同协议信息的模块 ikev2:IKEV2协议的源码 op

ZFashion 3 Jun 8, 2022
Like libevent and libuv, libhv provides event-loop with non-blocking IO and timer, but simpler api and richer protocols.

中文版 Intro Like libevent, libev, and libuv, libhv provides event-loop with non-blocking IO and timer, but simpler api and richer protocols. Features cr

ithewei 4.3k Jun 24, 2022
Ultra fast and low latency asynchronous socket server & client C++ library with support TCP, SSL, UDP, HTTP, HTTPS, WebSocket protocols and 10K connections problem solution

CppServer Ultra fast and low latency asynchronous socket server & client C++ library with support TCP, SSL, UDP, HTTP, HTTPS, WebSocket protocols and

Ivan Shynkarenka 848 Jun 26, 2022
Mongoose Embedded Web Server Library - a multi-protocol embedded networking library with TCP/UDP, HTTP, WebSocket, MQTT built-in protocols, async DNS resolver, and non-blocking API.

Mongoose - Embedded Web Server / Embedded Networking Library Mongoose is a networking library for C/C++. It implements event-driven non-blocking APIs

Cesanta Software 8.5k Jun 29, 2022
A modern C++ network library for developing high performance network services in TCP/UDP/HTTP protocols.

evpp Introduction 中文说明 evpp is a modern C++ network library for developing high performance network services using TCP/UDP/HTTP protocols. evpp provid

Qihoo 360 3k Jun 27, 2022
Phorklift is an HTTP server and proxy daemon, with clear, powerful and dynamic configuration.

Phorklift is an HTTP server and proxy daemon, with clear, powerful and dynamic configuration.

null 43 Mar 1, 2022
Gromox - Groupware server backend with MAPI/HTTP, RPC/HTTP, IMAP, POP3 and PHP-MAPI support for grommunio

Gromox is the central groupware server component of grommunio. It is capable of serving as a replacement for Microsoft Exchange and compatibles. Conne

grommunio 119 Jun 27, 2022
Pushpin is a reverse proxy server written in C++ that makes it easy to implement WebSocket, HTTP streaming, and HTTP long-polling services.

Pushpin is a reverse proxy server written in C++ that makes it easy to implement WebSocket, HTTP streaming, and HTTP long-polling services. The project is unique among realtime push solutions in that it is designed to address the needs of API creators. Pushpin is transparent to clients and integrates easily into an API stack.

Fanout 3.1k Jun 22, 2022
reverse proxy with web server and preview page

Reverse Proxy Dependencies Go Make Suport Termux (android/afsd kernel) linux (kernel) Install: Termux: 1 step: Install Go-lang, Git and Make pkg insta

AlbâniaSecurity-RT 7 Feb 19, 2022
Proxy that can be used in GTPS to crash and others. All commands are already in

Credit to ama6nen Real Repo This proxy can be used and modified by everyone. This proxy already has several command exploits for gtps Features: /proxy

Sersinals 15 May 25, 2022
An HTTPS beaconing Windows implant and multi-layered proxy C2 network designed for covert APT emulation focused offensive operations

WARFOX is a software-based HTTPS beaconing Windows implant that uses a multi-layered proxy network for C2 communications. This kit was designed to emulate covert APT offensive operations. This kit includes WARFOX (Windows implant), HIGHTOWER (Listening Post), and other tools to build configs and set up a proxy network.

null 93 Jun 30, 2022
A lightweight Universal Windows proxy app based on https://github.com/eycorsican/leaf

Maple A lightweight Universal Windows proxy app based on https://github.com/eycorsican/leaf Features Configuration management Outbound network adapter

YtFlow 588 Jun 25, 2022
Pipy is a tiny, high performance, highly stable, programmable proxy written in C++

Pipy is a tiny, high performance, highly stable, programmable proxy. Written in C++, built on top of Asio asynchronous I/O library, Pipy is extremely lightweight and fast, making it one of the best choices for service mesh sidecars.

null 454 Jun 24, 2022
zrp is a nat-passthrough reverse proxy written in modern c++.

zrp is a nat-passthrough reverse proxy written in modern c++. A major use case is to expose a local server via a remote server with public IP.

Coleman 11 Nov 23, 2021
A proxy service of incremental log of OceanBase

OceanBase Migration Serivce LogProxy OceanBase增量日志代理服务,是 OMS 的一部分。基于 liboblog, 以服务的形式,提供实时增量链路接入和管理能力,方便应用接入OceanBase增量日志;能够解决网络隔离的情况下,订阅增量日志的需求;并提供多种

OceanBase 19 Apr 21, 2022
A simple SIP server (proxy) for handling VoIP calls based on SIP using C++

Sip Server A simple sip server for handling VoIP calls based on sip protocol. Features Registration Of Users The server supports registration process.

null 7 May 27, 2022
A forward proxy module for CONNECT request handling

name This module provides support for the CONNECT method request. This method is mainly used to tunnel SSL requests through proxy servers. Table of Co

Xiaochen Wang 1.1k Jun 27, 2022
A flexible tool for redirecting a given program's TCP traffic to SOCKS5 or HTTP proxy.

graftcp English | 简体中文 Introduction graftcp can redirect the TCP connection made by the given program [application, script, shell, etc.] to SOCKS5 or

mingang.he 1.2k Jul 3, 2022