Giter VIP home page Giter VIP logo

v2raya / v2raya Goto Github PK

View Code? Open in Web Editor NEW
9.6K 82.0 1.0K 7 MB

A web GUI client of Project V which supports VMess, VLESS, SS, SSR, Trojan, Tuic and Juicity protocols. 🚀

License: GNU Affero General Public License v3.0

Dockerfile 0.12% Go 56.98% JavaScript 12.30% HTML 0.96% Vue 25.27% CSS 0.25% Shell 1.46% SCSS 0.36% Nunjucks 0.24% PowerShell 0.23% NSIS 0.67% Inno Setup 0.71% TypeScript 0.43%
v2ray shadowsocks shadowsocksr trojan linux gui gfw juicity ssr tuic

v2raya's Introduction

v2rayA Docker Cloud Build Status Travis (.org)

English   简体中文

v2rayA is a V2Ray client supporting global transparent proxy on Linux and system proxy on Windows and macOS, it is compatible with SS, SSR, Trojan(trojan-go), Tuic and Juicity protocols. [SSR protocol list]

We are committed to providing the simplest operation and meet most needs.

Thanks to the advantages of Web GUI, you can not only use it on your local computer, but also easily deploy it on a router or NAS.

Project:https://github.com/v2rayA/v2rayA

Usage

v2rayA mainly provides the following methods of installation:

  1. Install from apt-source or AUR
  2. Docker
  3. Our self-built scoop bucket (for Windows users)
  4. Our self-built homebrew tap
  5. Our self-built OpenWrt repo and OpenWrt's official repo(from OpenWrt version 22.03)
  6. Microsoft winget: https://winstall.app/apps/v2rayA.v2rayA
  7. Ubuntu Snap: https://snapcraft.io/v2raya
  8. Binary file and installation package from GitHub releases

See v2rayA - Docs

Screenshot

Statement

  1. The program does not store any user data in the cloud, and all user data is stored in local.
  2. Do not use this project for illegal purposes.

Credits

hq450/fancyss

ToutyRater/v2ray-guide

nadoo/glider

Loyalsoldier/v2ray-rules-dat

zfl9/ss-tproxy

Stargazers over time

Stargazers over time

License

License: AGPL v3-only

v2raya's People

Contributors

aeeq avatar chanthmiao avatar cubercsl avatar database64128 avatar dependabot[bot] avatar dimmkg avatar easternday avatar fantasquex avatar gaojianli avatar gszw90 avatar gyf9835 avatar invisiblerain avatar iopq avatar kecrily avatar kelo007 avatar lostthing avatar marksonhon avatar mzz2017 avatar nopint avatar qianxuu avatar qqq-qqqq avatar star-39 avatar wenyuanyu avatar wngtk avatar wnxd avatar xerxesar avatar yjun123 avatar youcancharm avatar yuandi42 avatar zhullyb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

v2raya's Issues

GFWList 更新总是失败

环境:arch linux
软件:通过 release 中的 installer 安装,版本为最新,

问题:gfwlist 更新总是失败,详见下图,

截图_2020-02-07_21-06-46

不知道如果更新成功的话,文件会保留在哪里,
不然可以下载下来手动替换,(文件已经下载下来)

v2ray-core 4.22.0与4.22.1版本DoH查询较慢

如果您使用V2RayA开启DoH(DNS over HTTPS)发现dns查询速度极慢,且增大了QoS的几率,请暂时不要使用DoH。

目前的v2ray-core(4.22.0 - 4.22.1)确实存在这样的问题,详见PR#2212

在PR被合并后,V2RayA会跟进一些提示性更新。

[BUG] v2ray/official is always restarting, docker部属无法启动

描述问题
简要描述问题
使用 docker 命令部署,无法启动应用,终端中显示v2ray/official 容器一直在restart

环境参数:
OS: Ubuntu 18.04.3 LTS x86_64
Kernel: 4.15.0-20-generic
Docker version 19.03.5, build 633a0ea838

复现问题的步骤
如何复现问题

  1. docker pull mzz2017/v2raya:stable
  2. docker pull v2ray/official
  3. docker volume create v2raya_shared-data
  4. docker run -d \ --restart=always \ --privileged \ --network=host \ -v v2raya_shared-data:/etc/v2ray \ -v /etc/localtime:/etc/localtime:ro \ -v /etc/timezone:/etc/timezone:ro \ --name v2raya_backend \ mzz2017/v2raya:stable
  5. docker run -d \ --restart=always \ --privileged \ --network=host \ --pid=container:v2raya_backend \ -v v2raya_shared-data:/etc/v2ray \ --env V2RAY_LOCATION_ASSET=/etc/v2ray \ --name v2raya_v2ray \ v2ray/official \ sh -c "cp -rfu /usr/bin/v2ray/* /etc/v2ray/ && v2ray -config=/etc/v2ray/config.json"

预期结果
简要讲述执行正确时预期的结果
此时打开demo链接,能够顺利使用

日志
V2Ray 4.20.0 (V2Fly, a community-driven edition of V2Ray.) Custom A unified platform for anti-censorship. main: failed to load config: /etc/v2ray/config.json > v2ray.com/core/main/confloader/external: config file not readable > open /etc/v2ray/config.json: no such file or directory

截图
如果条件允许请附图

[BUG] 在树莓派上安装出错

Welcome to Ubuntu 18.04.4 LTS (GNU/Linux 5.3.0-1017-raspi2 aarch64)

System information as of Fri Feb 14 15:51:22 UTC 2020

System load: 0.13 Processes: 126
Usage of /: 2.9% of 57.35GB Users logged in: 1
Memory usage: 28% IP address for eth0: 192.168.8.102
Swap usage: 0%

0 packages can be updated.
0 updates are security updates.

Your Hardware Enablement Stack (HWE) is supported until April 2023.

Last login: Fri Feb 14 15:34:28 2020 from 192.168.1.3
ubuntu@ubuntu:$ sudo apt update
Hit:1 http://chinanet.mirrors.ustc.edu.cn/ubuntu-ports bionic InRelease
Hit:2 http://chinanet.mirrors.ustc.edu.cn/ubuntu-ports bionic-updates InRelease
Hit:3 http://chinanet.mirrors.ustc.edu.cn/ubuntu-ports bionic-backports InRelease
Hit:4 http://chinanet.mirrors.ustc.edu.cn/ubuntu-ports bionic-security InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
ubuntu@ubuntu:
$ sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
ubuntu@ubuntu:$ sudo apt dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
ubuntu@ubuntu:
$ curl -L -s https://github.com/mzz2017/V2RayA/raw/master/install/go.sh | sudo -E bash -s - --source ustc
ubuntu@ubuntu:$ ls
ubuntu@ubuntu:
$ wget -qO - https://apt.v2raya.mzz.pub/key/public-key.asc | sudo apt-key add -
OK
ubuntu@ubuntu:$ sudo add-apt-repository 'deb https://apt.v2raya.mzz.pub/ v2raya main'
Hit:1 http://chinanet.mirrors.ustc.edu.cn/ubuntu-ports bionic InRelease
Hit:2 http://chinanet.mirrors.ustc.edu.cn/ubuntu-ports bionic-updates InRelease
Hit:3 http://chinanet.mirrors.ustc.edu.cn/ubuntu-ports bionic-backports InRelease
Hit:4 http://chinanet.mirrors.ustc.edu.cn/ubuntu-ports bionic-security InRelease
Get:5 https://apt.v2raya.mzz.pub v2raya InRelease
Fetched 1437 B in 4s (327 B/s)
Reading package lists... Done
N: Skipping acquire of configured file 'main/binary-arm64/Packages' as repository 'https://apt.v2raya.mzz.pub v2raya InRelease' doesn't support architecture 'arm64'
ubuntu@ubuntu:
$ sudo apt-get update
Get:1 https://apt.v2raya.mzz.pub v2raya InRelease
Hit:2 http://chinanet.mirrors.ustc.edu.cn/ubuntu-ports bionic InRelease
Hit:3 http://chinanet.mirrors.ustc.edu.cn/ubuntu-ports bionic-updates InRelease
Hit:4 http://chinanet.mirrors.ustc.edu.cn/ubuntu-ports bionic-backports InRelease
Hit:5 http://chinanet.mirrors.ustc.edu.cn/ubuntu-ports bionic-security InRelease
Fetched 1437 B in 7s (199 B/s)
Reading package lists... Done
N: Skipping acquire of configured file 'main/binary-arm64/Packages' as repository 'https://apt.v2raya.mzz.pub v2raya InRelease' doesn't support architecture 'arm64'
ubuntu@ubuntu:~$ sudo apt-get install v2raya
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package v2raya

[Running on MacOS] 测了下在macos上运行

由于mac docker desktop不支持host模式,也不能设置全局,就只作为端口代理,实测可用,ping测试也没问题:
下面三个命令:

docker volume create v2raya_shared-data
docker run -d \
    -p 2017:2017 \
    --restart=always \
    --privileged=true \
    -v v2raya_shared-data:/etc/v2ray \
    --name v2raya_backend \
    mzz2017/v2raya:stable
docker run -d \
    -p 20170-20172:20170-20172 \
    -p 12345:12345 \
    --restart=always \
    --privileged=true \
    --pid=container:v2raya_backend \
    -v v2raya_shared-data:/etc/v2ray \
    --env V2RAY_LOCATION_ASSET=/etc/v2ray \
    --name v2raya_v2ray \
    v2ray/official \
    /bin/sh -c "cp -rfu /usr/bin/v2ray/* /etc/v2ray/ && v2ray -config=/etc/v2ray/config.json"

貌似不需要pull golang:buster,当然了,没有 host 模式,http 测试是用不了的

[BUG] AUR PKGBUILD 添加桌面图标时错误

描述问题
当运行到 package() 时, 出现 ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper

复现问题的步骤
出现问题的地方如截图, 但是不用复现啦, 可修复

预期结果
顺利安装, 修复方式如下

diff --git a/PKGBUILD b/PKGBUILD
index 853cc77..73778ff 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -27,7 +27,7 @@ package() {
     install -Dm755 "service/v2raya" -t "$pkgdir/usr/bin/"
     
     ICON_SOURCE=gui/public/img/icons
-    ICON_TARGET=/usr/share/icons
-    sudo install -Dm644 "$ICON_SOURCE/android-chrome-512x512.png" "$ICON_TARGET/v2raya.png"
-    sudo install -Dm755 "install/v2raya.desktop" -t "$pkgdir/usr/share/applications/"
+    ICON_TARGET=$pkgdir/usr/share/icons
+    install -Dm644 "$ICON_SOURCE/android-chrome-512x512.png" "$ICON_TARGET/v2raya.png"
+    install -Dm755 "install/v2raya.desktop" -t "$pkgdir/usr/share/applications/"
 }

截图
Screenshot from 2020-02-11 16-07-27

[BUG] dns解析有问题会破坏ping测试,无法修改profile等

1,订阅里有一个或多个设置域名(解析无效)的节点,就无法继续执行ping了,会出现无法解析的提示并退出ping测试,估计在非订阅(多节点)下也是这样的情况。
最好能跳过不能解析的节点,并给出标记,其他节点继续ping
2,在首页subscription里点击修改订阅的名称等等,目前没有进一步动作(也许还在开发中?)
3,如果订阅内的节点可以手动修改内容--更高级的可以直接查看修改 config.json 就更好了 -- 用来查bug

Chrome该网页无法正常运作

描述问题
系统: Arch

  1. 能连接成功
  2. 终端 可以 Ping 通 Google
  3. Chrome无法正常访问Google网页(该网页无法正常运作)

[BUG] v2raya 启动失败 panic: runtime error: invalid memory address or nil pointer dereference

描述问题
简要描述问题
v2raya 启动失败

复现问题的步骤
如何复现问题
安装0.5.9,启动v2raya

预期结果
简要讲述执行正确时预期的结果
正常启动

截图
如果条件允许请附图
以下是log

1月 05 11:06:32 lhw-laptap audit[32210]: USER_ACCT pid=32210 uid=1000 auid=1000 ses=2 msg='op=PAM:accounting grantors=pam_unix,pam_permit,pam_time acct="lhw" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/3 res=success'
1月 05 11:06:32 lhw-laptap sudo[32210]:      lhw : TTY=pts/3 ; PWD=/home/lhw ; USER=root ; COMMAND=/usr/bin/systemctl start v2raya
1月 05 11:06:32 lhw-laptap audit[32210]: CRED_REFR pid=32210 uid=0 auid=1000 ses=2 msg='op=PAM:setcred grantors=pam_unix,pam_permit,pam_env acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/3 res=success'
1月 05 11:06:32 lhw-laptap audit[32210]: USER_START pid=32210 uid=0 auid=1000 ses=2 msg='op=PAM:session_open grantors=pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/3 res=success'
1月 05 11:06:32 lhw-laptap sudo[32210]: pam_unix(sudo:session): session opened for user root by lhw(uid=0)
1月 05 11:06:32 lhw-laptap kernel: audit: type=1101 audit(1578193592.711:349): pid=32210 uid=1000 auid=1000 ses=2 msg='op=PAM:accounting grantors=pam_unix,pam_permit,pam_time acct="lhw" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/>
1月 05 11:06:32 lhw-laptap kernel: audit: type=1110 audit(1578193592.711:350): pid=32210 uid=0 auid=1000 ses=2 msg='op=PAM:setcred grantors=pam_unix,pam_permit,pam_env acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/3 res=>
1月 05 11:06:32 lhw-laptap kernel: audit: type=1105 audit(1578193592.711:351): pid=32210 uid=0 auid=1000 ses=2 msg='op=PAM:session_open grantors=pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pt>
1月 05 11:06:32 lhw-laptap systemd[1]: Started V2RayA Service.
-- Subject: v2raya.service 单元已结束启动
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- v2raya.service 单元已结束启动。
-- 
-- 启动结果为“done”。
1月 05 11:06:32 lhw-laptap audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=v2raya comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
1月 05 11:06:32 lhw-laptap audit[32210]: USER_END pid=32210 uid=0 auid=1000 ses=2 msg='op=PAM:session_close grantors=pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/3 res=success'
1月 05 11:06:32 lhw-laptap audit[32210]: CRED_DISP pid=32210 uid=0 auid=1000 ses=2 msg='op=PAM:setcred grantors=pam_unix,pam_permit,pam_env acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/3 res=success'
1月 05 11:06:32 lhw-laptap sudo[32210]: pam_unix(sudo:session): session closed for user root
1月 05 11:06:32 lhw-laptap kernel: audit: type=1130 audit(1578193592.721:352): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=v2raya comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
1月 05 11:06:32 lhw-laptap kernel: audit: type=1106 audit(1578193592.721:353): pid=32210 uid=0 auid=1000 ses=2 msg='op=PAM:session_close grantors=pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/p>
1月 05 11:06:32 lhw-laptap kernel: audit: type=1104 audit(1578193592.721:354): pid=32210 uid=0 auid=1000 ses=2 msg='op=PAM:setcred grantors=pam_unix,pam_permit,pam_env acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/3 res=>
1月 05 11:06:32 lhw-laptap v2raya[32213]: V2RayLocationAsset is /usr/lib/v2ray
1月 05 11:06:32 lhw-laptap v2raya[32213]: V2Ray binary is at /usr/lib/v2ray/v2ray
1月 05 11:06:32 lhw-laptap v2raya[32213]: V2RayA working directory is /
1月 05 11:06:32 lhw-laptap v2raya[32213]: Version: 0.5.9
1月 05 11:06:32 lhw-laptap v2raya[32213]: V2RayA is running at 0.0.0.0:2017
1月 05 11:06:32 lhw-laptap v2raya[32213]: panic: runtime error: invalid memory address or nil pointer dereference
1月 05 11:06:32 lhw-laptap v2raya[32213]: [signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0x562c8a7a7ae6]
1月 05 11:06:32 lhw-laptap v2raya[32213]: goroutine 1 [running]:
1月 05 11:06:32 lhw-laptap v2raya[32213]: V2RayA/model/v2ray.NewTemplateFromVmessInfo(0xc000604290, 0xc, 0xc0006042a0, 0xd, 0xc0006042b4, 0x5, 0xc0005f2930, 0x24, 0xc0006042c0, 0x2, ...)
1月 05 11:06:32 lhw-laptap v2raya[32213]:         /home/lhw/.cache/yay/v2raya/src/V2RayA-0.5.9/service/model/v2ray/v2rayTmpl.go:364 +0x406
1月 05 11:06:32 lhw-laptap v2raya[32213]: V2RayA/model/v2ray.UpdateV2rayWithConnectedServer(0x562c8a104a70, 0xc00045bea0)
1月 05 11:06:32 lhw-laptap v2raya[32213]:         /home/lhw/.cache/yay/v2raya/src/V2RayA-0.5.9/service/model/v2ray/status.go:212 +0xf0
1月 05 11:06:32 lhw-laptap v2raya[32213]: main.run(0xc000000180, 0xc000193f50)
1月 05 11:06:32 lhw-laptap v2raya[32213]:         /home/lhw/.cache/yay/v2raya/src/V2RayA-0.5.9/service/main.go:200 +0x4a
1月 05 11:06:32 lhw-laptap v2raya[32213]: main.main()
1月 05 11:06:32 lhw-laptap v2raya[32213]:         /home/lhw/.cache/yay/v2raya/src/V2RayA-0.5.9/service/main.go:234 +0xaf
1月 05 11:06:32 lhw-laptap systemd[1]: v2raya.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
-- Subject: Unit process exited
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- An ExecStart= process belonging to unit v2raya.service has exited.
-- 
-- The process' exit code is 'exited' and its exit status is 2.
1月 05 11:06:32 lhw-laptap systemd[1]: v2raya.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- The unit v2raya.service has entered the 'failed' state with result 'exit-code'.
1月 05 11:06:32 lhw-laptap audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=v2raya comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
1月 05 11:06:32 lhw-laptap kernel: audit: type=1131 audit(1578193592.841:355): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=v2raya comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
1月 05 11:06:32 lhw-laptap systemd[1]: v2raya.service: Scheduled restart job, restart counter is at 1.
-- Subject: Automatic restarting of a unit has been scheduled
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Automatic restarting of the unit v2raya.service has been scheduled, as the result for
-- the configured Restart= setting for the unit.
1月 05 11:06:32 lhw-laptap systemd[1]: Stopped V2RayA Service.
-- Subject: v2raya.service 单元已结束停止操作
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- v2raya.service 单元已结束停止操作。

看着是访问越界

[BUG] 修改全局透明代理后无法使用

修改全局透明代理后无法使用,关闭全局透明代理的话可以使用,但是设置为大陆白名单并没有用,还是全局走代理。是否这两个端口设置不一样,请提供一下端口设置的详细说明。。

订阅名字出现乱码

描述问题
SIP002订阅中,订阅更新后的节点名字中中文的编码未解码

复现问题的步骤
机场SIP002订阅中节点含有中文都会编码,应该都会出现这个问题

预期结果
应出现中文,但是出现未解码

截图
DeepinScreenshot_select-area_20200123114811

这个是否可以部署在NAS上?

这个是否可以通过 docker 部署在NAS上,然后其他设备通过走代理模式,实现全局透明代理呢?

现在有一个官方的V2ary可以通过Docker部署在NAS,但是确实缺点就是没办法实现透明代理。

[BUG] 未发现GFWList文件,请更新GFWList后再试

描述问题
设置里选GFWList保存时提示"未发现GFWList文件,请更新GFWList后再试"
版本:0.5.7
系统:manjaro-arm pi4

复现问题的步骤
菜单-》设置-》全局透明代理-》GFWList-》保存设置

预期结果
自动下载gfwlist

截图

如何关闭服务端

描述问题:

我想要重置账号密码
我忘记了我的密码, 需要删除/etc/v2ray/v2raya.json
但需要先停止v2raya以删除.
我已经尝试过移除v2raya, 重启, 但都无用

系统: manjaro kde
第一次使用Linux, 在阅读了wiki和进行了google之后仍无法解决问题, 向大佬请教

ssr无法连接网络

如何使用ssr配置文件?

系统: pop!_os 19.10 基于ubuntu 19.10

使用v2ray配置文件 系统端口设置为20171, 20170 能正常使用
但端口20171, 20170无法使用ssr ,其他端口中的12346 是否需要设置, 系统设置socks 端口 12346无效,还是无法连接

[BUG] 安装脚本取消-s参数以后显示以下错误

Welcome to Ubuntu 18.04.4 LTS (GNU/Linux 5.3.0-1017-raspi2 aarch64)

System information as of Sat Feb 15 15:29:14 UTC 2020

System load: 0.04 Processes: 122
Usage of /: 2.8% of 57.35GB Users logged in: 0
Memory usage: 29% IP address for eth0: 192.168.8.102
Swap usage: 0%

0 packages can be updated.
0 updates are security updates.

Your Hardware Enablement Stack (HWE) is supported until April 2023.

Last login: Sat Feb 15 14:43:06 2020 from 192.168.8.101
ubuntu@ubuntu:$ curl -L https://github.com/mzz2017/V2RayA/raw/master/install/go.sh | sudo -E bash -s - --source ustc
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 135 100 135 0 0 125 0 0:00:01 0:00:01 --:--:-- 125
curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused
ubuntu@ubuntu:
$

安装后正常使用一旦重启后就会无法使用

版本、安装方式、系统

  1. amd64 0.6.7.1 V2RayA

  2. 你通过deb安装V2RayA

  3. deepin x86 64位

描述问题

安装后正常使用但是重启后就会无法使用
显示未检测到v2reyA的服务端

复现问题的步骤

V2RayA运行日志:

# daemon mode
journalctl -u v2raya | tail -n 50

# docker mode
docker logs v2raya_backend
# 此处贴入运行日志


截图

74601060-8998c200-50d4-11ea-80c0-0ce565bb1062

[BUG] 无法打开wsj.com,可以ping但是无法访问

描述问题
在代理模式、大陆白名单模式下可以访问谷歌、youtube、纽约时报等网站,但是就是打不开wsj.com。
在终端可以ping通wsj.com,但是curl wsj.com显示如下错误
curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to www.wsj.com:443
image

在clash下使用v2ray的同一个节点可以访问,应该不是节点的问题。

复现问题的步骤
使用代理模式或者大陆白名单访问wsj.com
在终端ping wsj.com curl wsj.com

截图
image
可以在截图中看到谷歌访问正常,但是wsj.com无法打开

我有v2ray账号怎么用这个工具科学上网呢

预期的行为和实际行为

如果是feature建议,请写在这里
请问我已经有v2Ray的账号了,在windows下也能使用v2RayN进行科学上网,如何用v2RayA在ubuntu上科学上网呢?

重现问题的步骤

如果条件允许请附图。如果是feature建议,请省略。

[BUG] 在 Debian 10.2 下,无法启动

执行就报错退出哈:

v2raya
panic: runtime error: slice bounds out of range

goroutine 1 [running]:
V2RayA/model/v2ray.GetV2rayServiceFilePath(0xc000040600, 0xc000543e38, 0x4e1321, 0xf35da0)
/home/travis/gopath/src/github.com/mzz2017/V2RayA/service/model/v2ray/v2rayService.go:70 +0x329
V2RayA/model/v2ray.LiberalizeProcFile(0xc0000b0000, 0x13)
/home/travis/gopath/src/github.com/mzz2017/V2RayA/service/model/v2ray/v2rayService.go:78 +0x4a
main.initConfigure()
/home/travis/gopath/src/github.com/mzz2017/V2RayA/service/main.go:63 +0x68
main.main()
/home/travis/gopath/src/github.com/mzz2017/V2RayA/service/main.go:236 +0x9a

[Feature] 应该补一下docker run命令的介绍

docker run -it -p 2017:2017 -p 20170:20170 -p 20171:20171 -p 20172:20172 mzz2017/v2raya

直接运行会出现提示

不支持透明代理,设置透明代理失败获取v2ray-core版本失败

如题,用docker run命令运行应该补充到 docker hub 和 github readme 中。
另外,shell 是什么呢?
运行非透明/透明代理的参数设置也最好补充一下

[BUG] docker 里无法启动服务

一直停留在 Waiting for offical/v2ray's running
猜测是

diff --git a/service/main.go b/service/main.go
index fae5a11..895734a 100644
--- a/service/main.go
+++ b/service/main.go
@@ -124,7 +124,7 @@ func hello() {
        } else {
                fmt.Println("V2RayA is running in Docker. Compatible mode starts up.")
                fmt.Printf("%v\n", "Waiting for container v2raya_v2ray's running. Refer: https://github.com/mzz2017/V2RayA#docker%E6%96%B9%E5%BC%8F")
-               for !v2ray.IsV2RayProcessExists() {
+               for !v2ray.IsV2RayRunning() {
                        time.Sleep(1 * time.Second)
                }
                fmt.Println("Container v2raya_v2ray is ready.")

[BUG] 安装报错

报错信息
File "/usr/bin/add-apt-repository", line 95, in
sp = SoftwareProperties(options=options)
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 109, in init
self.reload_sourceslist()
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 599, in reload_sourceslist
self.distro.get_sources(self.sourceslist)
File "/usr/lib/python3/dist-packages/aptsources/distro.py", line 93, in get_sources
(self.id, self.codename))
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Deepin/stable

群晖使用docker无法透明代理

设置透明代理,保存显示iptables-legacy -t mangle -A SSTP_PRE -m mark --mark 1 -p tcp -j TPROXY --on-port 12345 --tproxy-mark 1 exit status 2 iptables v1.8.3 (legacy): unknown option "--on-port" Try `iptables -h' or 'iptables --help' for more information.

[BUG] 修改服务端地址之后无法连接

描述问题
通过web修改服务端地址之后,会出现如图提示
image

看起来除了localhost127.0.0.1以外的地址都无法工作。
即使指定的IP是本机的IP都不行

复现问题的步骤
修改服务端地址为localhost,127.0.0.1以外的其他地址

预期结果
支持远端服务器

截图
见描述问题

[BUG] 已是 Root 环境,依旧提示没有权限

描述问题

root@localhost:/# ./home/pi/v2ray
2020/02/10 18:36:20 请以sudo或root权限执行本程序

复现问题的步骤

始终如此,权限 7777,任何方法都无法启动
设备系统经修改,官方 Raspbian 可用。使用 ARM 编译版本。
Linux version 4.19.79-OPENFANS+20191013-v8 (root@raspbian) (gcc version 9.1.0 (GCC)) #1 SMP PREEMPT Sun Oct 13 16:06:07 CST 2019

可能方案

不知道是怎么检查 Root 的,如果可能,您能否加一个跳过 Root 检查的选项?

[help] Exit Status 5

版本、安装方式、系统

  1. 你在使用什么版本的V2RayA
    0.6.7.1
  2. 你通过什么方式安装V2RayA
    releases中的amd64 pkg文件,通过terminal sudo启动
  3. 你所使用的操作系统、CPU架构
    ubuntu18.04 amd64

描述问题:

sudo运行pkg后,在网页端打开ui界面,提示v2raya可能没有正确安装。然后添加服务器信息之后,点击connect显示‘exit status 5’。systemctl中没有v2raya的服务。

V2RayA运行日志(Optional):

# daemon mode
journalctl -u v2raya | tail -n 50

# docker mode
docker logs v2raya_backend

没有查询到日志,terminal中的输出只显示了Connect: begin和Connect: doen

[help]

描述问题:
debian 9 安装报错,请问一下是我这边出现问题了吗?
在此描述问题

Err:1 https://apt.v2raya.mzz.pub v2raya/main i386 v2raya i386 0.6.6
404 Not Found
E: Failed to fetch https://apt.v2raya.mzz.pub/pool/main/v/v2raya/v2raya_0.6.6_i386.deb 404 Not Found

root@OMV:~# sudo apt-get install v2raya
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
linux-image-4.9.0-9-686-pae
Use 'sudo apt autoremove' to remove it.
The following NEW packages will be installed:
v2raya
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 11.0 MB of archives.
After this operation, 21.7 MB of additional disk space will be used.
Err:1 https://apt.v2raya.mzz.pub v2raya/main i386 v2raya i386 0.6.6
404 Not Found
E: Failed to fetch https://apt.v2raya.mzz.pub/pool/main/v/v2raya/v2raya_0.6.6_i386.deb 404 Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

V2RayA运行日志(Optional):

# daemon mond
journalctl -u v2raya | tail -n 50

# docker mode
docker logs v2raya_backend

在此贴入运行日志

问一个关于订阅的小白问题

预期的行为和实际行为

我在别的网站购买了v2ray的服务器,并且提供了订阅地址。这个地址可以直接填到v2ray的windows和手机客户端上,之后更新订阅就可以获取服务器地址。 v2raya 看起来也可以导入订阅,为什么我只能导入一个一个的服务器呢? 我需要在导入的时候填写什么? 目前我点导入后,填写的是类似于这样的订阅地址:https://xxxxx.xxx.xx 。 会提示
image

我确认这个订阅地址有效

如果是feature建议,请写在这里

重现问题的步骤

如果条件允许请附图。如果是feature建议,请省略。

[BUG] readObjectStart: expect { or n, but found /, error found in #1 byte of ...|// Config f|..., bigger context ...|// Config file of V2Ray. This file follows standard|...

描述问题
manjaro下敲击 sudo v2raya后报错

复现问题的步骤
manjaro下使用yay v2raya安装,使用sudo v2raya后报错

V2RayLocationAsset is /usr/lib/v2ray
V2Ray binary is at /usr/lib/v2ray/v2ray
V2RayA working directory is /home/roife
Version: 0.5.7
V2RayA is running at 0.0.0.0:2017
2020/01/02 19:35:32 readObjectStart: expect { or n, but found /, error found in #1 byte of ...|// Config f|..., bigger context ...|// Config file of V2Ray. This file follows standard|...

使用docker-compose up 的方式启动,报错

预期的行为和实际行为

使用docker-compose up 的方式启动,报错, log如下

Starting v2raya_backend_1 ... done
Starting v2raya_v2ray_1 ... done
Attaching to v2raya_backend_1, v2raya_v2ray_1
backend_1 | V2RayLocationAsset is /etc/v2ray
backend_1 | V2Ray binary is at /etc/v2ray/v2ray
backend_1 | V2RayA is running in Docker. Compatible mode starts up.
backend_1 | Waiting for official/v2ray's running. Refer: https://github.com/mzz2017/V2RayA#docker%E6%96%B9%E5%BC%8F
v2ray_1 | V2Ray 4.20.0 (V2Fly, a community-driven edition of V2Ray.) Custom
v2ray_1 | A unified platform for anti-censorship.
v2ray_1 | main: failed to load config: /etc/v2ray/config.json > v2ray.com/core/main/confloader/external: config file not readable > open /etc/v2ray/config.json: no such file or directory
backend_1 | 2020/02/02 21:20:28 asset.go:129: open /etc/v2ray/config.json: no such file or directory
v2raya_v2ray_1 exited with code 23
v2raya_v2ray_1 exited with code 23

如果是feature建议,请写在这里

重现问题的步骤

如果条件允许请附图。如果是feature建议,请省略。

open /etc/v2ray/config.json: no such file or directory [BUG]

描述问题
在全新安装的Manjaro Linux启动v2raya服务时发生open /etc/v2ray/config.json: no such file or directory错误

复现问题的步骤
终端输出

[a a]# v2raya
V2RayLocationAsset is /usr/lib/v2ray
V2Ray binary is at /usr/lib/v2ray/v2ray
V2RayA working directory is /home/a
Version: 0.5.7
V2RayA is running at 0.0.0.0:2017
2020/01/01 23:07:49 open /etc/v2ray/config.json: no such file or directory

docker-compose安装到第六步就不行了,挂代理也不行

版本、安装方式、系统

  1. 你在使用docker-compose版本的V2RayA

  2. 通过docker-compose安装V2RayA

  3. manjaro和omv最新版,64位处理器

描述问题:

docker-compose安装不了

V2RayA运行日志(Optional):

Step 6/13 : RUN go build -o V2RayA .
---> Running in c52503bbc871
go: github.com/matoous/[email protected]: parsing go.mod: go.mod:1: usage: go 1.23
ERROR: Service 'backend' failed to build: The command '/bin/sh -c go build -o V2RayA .' returned a non-zero code: 1

连接出现exit code: 127

预期的行为和实际行为

按照readme进行安装完成后,然后订阅成功,选择节点连接出现失败,显示exit code:127。请问这个出错的原因是什么?

重现问题的步骤

点击连接就出现了

如果条件允许请附图。如果是feature建议,请省略。
Screenshot from 2019-11-23 09-48-37

[BUG] lintian v2raya_0.6.5.1_amd64.deb 检查,报错信息比较多

描述问题

lintian v2raya_0.6.5.1_amd64.deb

E: v2raya: unstripped-binary-or-object usr/bin/v2raya
W: v2raya: hardening-no-relro usr/bin/v2raya
W: v2raya: hardening-no-pie usr/bin/v2raya
W: v2raya: missing-depends-line
W: v2raya: syntax-error-in-debian-changelog line 5 "badly formatted trailer line"
W: v2raya: syntax-error-in-debian-changelog line 5 "found eof where expected more change data or trailer"
E: v2raya: no-copyright-file
E: v2raya: extended-description-is-empty
E: v2raya: maintainer-name-missing travis@travis-job-5a110948-5ecc-4ea2-9f20-ca326f2a75f3
E: v2raya: maintainer-address-malformed travis@travis-job-5a110948-5ecc-4ea2-9f20-ca326f2a75f3
W: v2raya: unknown-section default
W: v2raya: priority-extra-is-replaced-by-priority-optional
W: v2raya: non-standard-file-perm etc/systemd/system/v2raya.service 0664 != 0644
W: v2raya: non-standard-executable-perm usr/bin/v2raya 0775 != 0755
W: v2raya: package-contains-timestamped-gzip usr/share/doc/v2raya/changelog.gz
W: v2raya: binary-without-manpage usr/bin/v2raya
W: v2raya: possible-bashism-in-maintainer-script postinst:8 'echo -e'
W: v2raya: possible-bashism-in-maintainer-script postinst:9 'echo -e'
W: v2raya: possible-bashism-in-maintainer-script postinst:10 'echo -e'
W: v2raya: possible-bashism-in-maintainer-script ... use --no-tag-display-limit to see all (or pipe to a file/program)
W: v2raya: maintainer-script-ignores-errors postinst
W: v2raya: maintainer-script-ignores-errors postrm
W: v2raya: maintainer-script-ignores-errors prerm
E: v2raya: systemd-service-file-outside-lib etc/systemd/system/v2raya.service
W: v2raya: maintainer-script-calls-systemctl postinst:7
W: v2raya: maintainer-script-calls-systemctl postinst:22
W: v2raya: maintainer-script-calls-systemctl postinst:23
W: v2raya: maintainer-script-calls-systemctl ... use --no-tag-display-limit to see all (or pipe to a file/program)

预期结果
希望制作的 deb 包,能够符合 Debian 的打包规范,lintian 质量检查,尽量少报错。

具体可以看下:

https://www.atzlinux.com/devel.htm

[BUG] 部分代理连接后不能访问目标地址

描述问题
使用 v0.6.3.1+ 版本以后部分代理连接后无法访问网站, firefox 提示见截图1

复现问题的步骤
使用 v0.6.3- 同一代理连接后可以正常访问, 怀疑与部分代理访问时不支持使用目标 IP 连接有关? 见截图2

预期结果
增加网址 / IP切换开关?

截图
1
2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.