yanue / V2rayU

V2rayU,基于v2ray核心的mac版客户端,用于科学上网,使用swift编写,支持trojan,vmess,shadowsocks,socks5等服务协议,支持订阅, 支持二维码,剪贴板导入,手动配置,二维码分享等
https://github.com/yanue/V2rayU
18.96k stars 2.9k forks source link

错误提示failed to read http request > EOF,vpn一直用不了,卸载重装几次都不行 #1451

Open auau19 opened 4 months ago

auau19 commented 4 months ago

提交 Issue 之前请先在issue上搜索是否有相似问题, 看看能不能解决问题 (有太多相同的issue,没精力处理)。 除非特殊情况,请完整填写以下所有问题,不按模板发的 issue 将直接被关闭。

1) 你正在使用的 V2RayU 和 Mac 版本 ? 4.2.2或是 4.1.0 都不行 ,Mac是14.5

2) 你遇到的问题是什么?(请描述具体现象,比如访问超时,TLS 证书错误等) 首先某一天V2ray弹出软件放入废纸篓的提示框,软件一直无法启用,按照搜到的方法处理后(参考这个链接:https://github.com/yanue/V2rayU/issues/1235#issuecomment-1617590967),移入废纸筐的报错提示没有了,但是从此软件无法使用了,可以正常启动,配置没有调整但是代理不生效

手机端可以正常使用,所以服务器没问题,但是mac端就是一直没生效,卸载、换别的软件、换端口都不行,求助各位大佬们

3) 请附上你的配置(提交 Issue 前请隐藏服务器端IP地址)。

{ "log": { "access": "", "error": "", "loglevel": "info" }, "inbounds": [ { "settings": { "udp": false, "auth": "noauth" }, "listen": "127.0.0.1", "port": "1080", "protocol": "socks" }, { "settings": { "timeout": 360 }, "port": "1087", "protocol": "http", "listen": "127.0.0.1" } ], "outbounds": [ { "streamSettings": { "security": "none", "network": "tcp", "tcpSettings": { "header": { "type": "none" } } }, "settings": { "vnext": [ { "port": 14560, "address": ", "users": [ { "id": ", "level": 0, "alterId": 0, "security": "auto" } ] } ] }, "protocol": "vmess", "mux": { "enabled": false, "concurrency": 8 }, "tag": "proxy" }, { "protocol": "freedom", "tag": "direct", "settings": { "userLevel": 0, "domainStrategy": "UseIP" } }, { "protocol": "blackhole", "tag": "block", "settings": { "response": { "type": "none" } } } ], "dns": {}, "routing": { "settings": { "domainStrategy": "AsIs", "rules": [] } } } 4) 请附上出错时软件输出的错误日志。

Xray 1.8.16 (Xray, Penetrates Everything.) 9432a60 (go1.22.4 darwin/arm64) A unified platform for anti-censorship. 2024/07/18 12:38:14 [Info] infra/conf/serial: Reading config: config.json 2024/07/18 12:38:14 [Info] app/dns: DNS: created localhost client 2024/07/18 12:38:14 [Info] transport/internet/tcp: listening TCP on 127.0.0.1:1080 2024/07/18 12:38:14 [Info] transport/internet/tcp: listening TCP on 127.0.0.1:1087 2024/07/18 12:38:14 [Warning] core: Xray 1.8.16 started 2024/07/18 12:38:14 [Info] [751231062] proxy/http: request to Method [GET] Host [www.gstatic.com] with URL [http://www.gstatic.com/generate_204] 2024/07/18 12:38:14 [Info] [751231062] app/dispatcher: default route for tcp:www.gstatic.com:80 2024/07/18 12:38:14 [Info] [751231062] transport/internet/tcp: dialing TCP to tcp: 2024/07/18 12:38:14 127.0.0.1:57152 accepted http://www.gstatic.com/generate_204 [proxy] 2024/07/18 12:38:14 [Info] [751231062] transport/internet/tcp: dialing TCP to tcp: 2024/07/18 12:38:15 [Info] [751231062] transport/internet/tcp: dialing TCP to tcp: 2024/07/18 12:38:15 [Info] [751231062] transport/internet/tcp: dialing TCP to tcp: 2024/07/18 12:38:16 [Info] [751231062] transport/internet/tcp: dialing TCP to tcp: 2024/07/18 12:38:16 [Warning] [751231062] app/proxyman/outbound: failed to process outbound traffic > proxy/vmess/outbound: failed to find an available destination > common/retry: [dial tcp ip地址: connect: network is unreachable] > common/retry: all retry attempts failed 2024/07/18 12:38:16 [Warning] [751231062] proxy/http: failed to read response from www.gstatic.com > io: read/write on closed pipe 2024/07/18 12:38:16 [Info] [751231062] app/proxyman/inbound: connection ends > proxy/http: failed to read http request > EOF Xray 1.8.16 (Xray, Penetrates Everything.) 9432a60 (go1.22.4 darwin/arm64)

dideonc commented 4 months ago

我也是,好几天了,vpn登不上去,teacat官网也登不进去 但我是手机电脑都不行 我这边日志是显示test stream error attempt to connect to host timed out 我今年3月续了一年的说....

yanue commented 4 months ago

我也是,好几天了,vpn登不上去,teacat官网也登不进去 但我是手机电脑都不行 我这边日志是显示test stream error attempt to connect to host timed out 我今年3月续了一年的说....

V2rayU就一个macos的app, 不提供服务器, 请找你的提供商

auau19 commented 4 months ago

应该怎么处理啊

EtherealQ commented 3 months ago

1、彻彻底底删除v2rayU:

#!/bin/bash
cd ~/Library/LaunchAgents/
/bin/launchctl remove yanue.v2rayu.v2ray-core
/bin/launchctl remove yanue.v2rayu.http
rm -f ~/Library/LaunchAgents/yanue.v2rayu.v2ray-core.plist
rm -f ~/Library/Preferences/net.yanue.V2rayU.plist
rm -f ~/Library/Logs/V2rayU.log
rm -fr ~/.V2rayU/

2、重新安装(如遇到每次打开都需要V2rayTool的权限,可去 /Applications/V2rayU.app/Contents/Resources/目录,执行install.sh) 3、配置好相关信息(该订阅订阅、该手动导入就导入) 以上做完 还是同样的错误信息,就该检查下系统的网络设置(我就是这个原因导致的)

进入网络,选择位置,选择自动,会恢复了。(之前用公网wifi没法弹出网址输入电话号码的时候开了个新的位置设置,把这个新的位置删除后,恢复使用自动位置)

EtherealQ commented 3 months ago

@auau19