添加链接
link之家
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
相关文章推荐
温暖的芒果  ·  STL ...·  11 月前    · 
温暖的枕头  ·  Python ...·  1 年前    · 
逆袭的核桃  ·  错误:[Dagger/MissingBind ...·  1 年前    · 
V2ray报错:failed to process outbound traffic > failed to read response header > websocket: close 1000
最新推荐文章于 2024-09-04 17:45:01 发布
最新推荐文章于 2024-09-04 17:45:01 发布 阅读量 1.7k

一台 Windows 10 机器装有 V2rayN 客户端,节点已配置好,正常运作。
另一台机器装有 Ubuntu 20 和 v2ray。
我把 Windows 端的 V2rayN 的配置文件(c:\Program Files\v2rayN\guiConfigs\config.json)直接复制到 Ubuntu 端的机器(目标路径:/usr/local/etc/v2ray/config.json)。在 Ubuntu 端运行 sudo systemctl status v2ray ,显示 v2ray 服务运行正常。

但当其他设备使用 Ubuntu 端的 v2ray 代理IP和端口时,总是连接失败。
在 Ubuntu 端输入 sudo journalctl -u v2ray 查看日志时,发现报错信息:

app/proxyman/outbound: failed to process outbound traffic
> proxy/vmess/outbound: connection ends
> proxy/vmess/outbound: failed to read header
> proxy/vmess/encoding: failed to read response header
> websocket: close 1000 (normal)

尝试解决方法1

由于 v2ray 对时间日期要求非常严格,一两分钟的误差也可能导致使用失败。
输入 date 查看日期时间,如果日期时间偏差很小,仍不能解决的话,需要方法2。

尝试解决方法2

(1)修改 Ubuntu 端的 config.json
运行:nano /usr/local/etc/v2ray/config.json
把 outbounds 项下的 alterId 的值改为 0
按 Ctrl + O 保存, Ctrl + X 退出 nano。
在这里插入图片描述

(2)运行: sudo systemctl restart v2ray

参考:https://github.com/v2fly/v2ray-core/discussions/1508

23:37:05 tcp:127.0.0.1:55901 accepted tcp:clients2.google.com:443 [proxy] 2022/02/09 23:37:05 [Warning] [3439109546] who-you-know.com/core/app/proxyman/outbound: failed to process outbou. v2ray.com/core/proxy/vmess/encoding: failed to read response header > websocket: close 1000 normal 系统时间与服务器时间相差太多,手动调整系统时间。 解决错误outbound: failed to process outbound traffic > proxy/freedom: connection ends > context canceled。 主要错误:app/proxyman/outbound: failed to process outbound traffic > proxy/freedom: connection ends > context canceled。 时间不同步导致无法连接 2021/07/30 17:32:23 tcp:127.0.0.1:60370 accepted tcp:www.google.com:80 [proxy] 2021/07/30 17:32:23 [Warning] [1656453167] v2ray.com/core/app/proxyman/outbound: failed to process outbound traffic > v2ray.com/core/proxy/vmes. 问题原因&解决办法:计算机时间有问题,在设置中“同步”时间。并且关闭路由器的Ipv6以绝后患 v2ray.com/core/proxy/vmess/encoding: failed to read response header > websocket: close 1000 (normal) 2021/02/15 14:02:23 t cp:127.0.0.1:63859 accepted tcp:www.googleapis.com:443 [proxy] 2021/02/15 14:02 Failed to start: app/proxyman/inbound: failed to listen TCP on 10808 > transport/internet: failed to listen on address: 127.0.0.1:10808 > transport/internet/tcp: failed to listen TCP on 127.0.0.1:10808 > listen tcp 127.0.0.1:10808: bind: An attempt was mad ##error [Warning] failed to handler mux client connection > v*ray.com/core/proxy/vmess/outbound: connection ends > v*ray.com/core/proxy/vmess/outbound: failed to read header > v*ray.com/core/proxy/vmess/encoding: failed to read response header &g. 解决 proxy/vmess/inbound: invalid request from 49.7.51.5:24347 > proxy/vmess/encoding: failed to read request header > websocket: close 1006 (abnormal closure): unexpected EOF。 错误信息如下: [Warning] failed to handler mux client connection > v2ray.com/core/proxy/vmess/outbound: failed to find an available destination > v2ray.com/core/common/retry: [v2ray.com/core/transport/internet/websocket: failed to dia