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.

Comments
  • [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 ZhengYuan-Public 3
  • [New Feature] ...

    [New Feature] ...

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

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

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


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

    说明 Description

    可能的解决方案 Possible Solution

    更多信息 More Information

    enhancement 
    opened by akrammarkzi 0
  • [Bug] Do not use ipinfo.io on AUR PKGBUILD

    [Bug] Do not use ipinfo.io on AUR PKGBUILD

    Sorry for not using the issue template since this is not a direct problem with V2Ray-Desktop

    the IP location check in AUR package PKGBUILD is using ipinfo.io which is not available in Iran and leads to installation failure.

    Using a different IP check service can solve this problem. personally I recommend api.myip.com since I've been personally using it for a long time

    image

    opened by navidmafi 0
  • [Bug] Global Mode not really global

    [Bug] Global Mode not really global

    This is a great project and I love it, however when I check global mode nothing happens, setting as system proxy http or socks after pressing the global makes it work, I don't know if that is expected or not.

    I use macos by the way, then in terminal if I do a

    curl ident.me

    I still get my real ip, but in chrome visiting ident.me gives me the server ip, sounds like the global mode is not perfect.

    I can go ahead and set environment variables for setting the http proxy on terminals too, but then many tools including git will detect that and stop working...

    Wish the global mode was a full tunnel, maybe something like wireguard does, I don't know if this is the expected behavior or not, but currently I don't find global mode much usable especially compared to openvpn and wireguard which do a full tunnel

    opened by Stevemoretz 1
  • Server is connected but IP has not changed

    Server is connected but IP has not changed

    I have installed v2ray on a server and from android I am connect to it through v2rayNG. On desktop, I used the same settings, but it doesn't work.

    image

    image

    image

    The log shows

    2022/10/30 10:35:32 [Critical] v2ray-desktop: Error occurred during requsting  "http://www.google.com" ; Error:  QNetworkReply::OperationCanceledError
    2022/10/30 10:35:29 [Info] v2ray-desktop: Start to get url:  "http://www.google.com"
    2022/10/30 10:35:28 [Info] v2ray-desktop: Start to get url:  "http://www.baidu.com"
    2022/10/30 10:35:20 [Warning] v2ray-desktop: Timed out when requesting  "http://www.google.com"
    2022/10/30 10:35:20 [Critical] v2ray-desktop: Error occurred during requsting  "http://www.google.com" ; Error:  QNetworkReply::OperationCanceledError
    2022/10/30 10:35:17 [Info] v2ray-desktop: Start to get url:  "http://www.google.com"
    2022/10/30 10:35:16 [Info] v2ray-desktop: Start to get url:  "http://www.baidu.com"
    2022/10/30 10:34:53 [info] clash: Start initial compatible provider PROXY
    2022/10/30 10:34:53 [info] clash: SOCKS proxy listening at: 127.0.0.1:1080
    2022/10/30 10:34:53 [info] clash: HTTP proxy listening at: 127.0.0.1:1087
    2022/10/30 10:34:53 [error] clash: Start DNS server error: missing port in address
    2022/10/30 10:34:53 [Info] v2ray-desktop: Connected to  "m"
    
    

    Any idea on how to fix that? When I check the IP, I see my original IP and not the tunneled one.

    opened by mahmoodn 2
  • [question] Display less servers

    [question] Display less servers

    For same subscribe URL, v2ray-desktop only has some ssr and trojan protocol, more server cannot be achieved:

    Screenshot from 2022-10-25 14-59-55

    I try v2ray 4.45.2 and 5.1.0, and nothing change. Does my setting have something wrong? Thanks!

    details needed 
    opened by Freed-Wu 1
  • [Bug] log 乱码

    [Bug] log 乱码

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

    Screenshot from 2022-10-25 14-52-31

    • [x] 我已经在 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": 1087,
        "proxies": [
            {
                "alpn": [
                    "h2",
                    "http/1.1"
                ],
                "name": "IEPL·沪日专线·JP3·空闲·2倍·推荐·500M",
                "password": "******",
                "port": 29206,
                "server": "**************",
                "skip-cert-verify": false,
                "sni": "",
                "type": "trojan",
                "udp": false
            }
        ],
        "proxy-groups": [
            {
                "interval": 300,
                "name": "PROXY",
                "proxies": [
                    "IEPL·沪日专线·JP3·空闲·2倍·推荐·500M"
                ],
                "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

    a.log

    环境 Environment

    • 操作系统 (the OS for running the client)
    ❯ uname -a
    Linux desktop 6.0.2-arch1-1 #1 SMP PREEMPT_DYNAMIC Sat, 15 Oct 2022 14:00:49 +0000 x86_64 GNU/Linux
    

    说明 Description

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

    1. 正常启动

    我预期会发生……?

    不乱码

    实际上发生了什麽?

    乱码

    opened by Freed-Wu 0
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 104 Dec 29, 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 5k Jan 4, 2023
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 958 Jan 3, 2023
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 9k Jan 1, 2023
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 3.2k Jan 5, 2023
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 139 Dec 26, 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.2k Jan 2, 2023
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 9 Dec 8, 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 1 Nov 12, 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 85 Nov 25, 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 784 Jan 6, 2023
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 538 Dec 23, 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 12 Oct 27, 2022
A proxy service of incremental log of OceanBase

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

OceanBase 26 Nov 25, 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 8 Nov 3, 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.3k Jan 4, 2023
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.3k Dec 26, 2022