xiaoqingfengATGH / HomeLede

An Openwrt firmware for home use scenarios.

Home Page:https://github.com/xiaoqingfengATGH/HomeLede/wiki

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

passwall中grpc不支持部分参数

ajdgsu opened this issue · comments

反馈bug/问题模板,提建议请删除

1.关于你要提交的问题

Q:是否搜索了issue (使用 "x" 选择)

  • [ x] 没有类似的issue

2. 详细叙述

(1) 具体问题

A:当我使用一个脚本在vps上创建一个grpc节点时(https://github.com/mack-a/v2ray-agent),发现在passwall中无法连接,在日志中查看到显示不支持该连接方式 (Cannot dial gRPC > rpc error: code = Unavailable desc = connection closed)

openwrt和vps均使用xray并且版本均为最新的1.4.2,且已排除xray自身的兼容性问题(我在手机和电脑上都是能够正常连接的)

这是一个用上述脚本创建的一个grpc例子
vless://bbc9fe0c-e162-4ad6-aa3b-dcaeb6be6006@host.com:443/?type=grpc&encryption=none&serviceName=qykngrpc&security=tls&sni=host.com&alpn=h2#VLESS_gRPC

话说请问能否增加直接编辑v2ray/xray json配置的功能?这样就能直接解决这类问题了

(2) 路由器型号和固件版本

A:自编译x86

(3) 详细日志

A:2021/07/08 18:53:30 [Warning] [298886128] app/proxyman/outbound: failed to process outbound traffic > proxy/vless/outbound: failed to find an available destination > common/retry: [transport/internet/grpc: failed to dial gRPC > transport/internet/grpc: Cannot dial gRPC > rpc error: code = Unavailable desc = connection closed] > common/retry: all retry attempts failed
2021/07/08 18:53:30 [Info] [298886128] app/proxyman/inbound: connection ends > proxy/dokodemo: connection ends > proxy/dokodemo: failed to transport response > io: read/write on closed pipe

目前最新passwall已经可以正常工作了