Closed ddzobov closed 4 months ago
Same problem here
Could you share the server and client configurations you're working with?
Same problem. My server config:
{
"stats": {},
"log": {
"loglevel": "debug",
"dnsLog": false
},
"api": {
"tag": "api",
"services": ["ReflectionService", "HandlerService", "LoggerService", "StatsService"]
},
"routing": {
"domainStrategy": "IPIfNonMatch",
"rules": [
{
"type": "field",
"inboundTag": [
"api"
],
"outboundTag": "api"
},
{
"type": "field",
"domain": [
"geosite:category-ads-all"
],
"outboundTag": "block"
},
{
"type": "field",
"domain": [
"geosite:cn",
"geosite:netflix",
"geosite:disney"
],
"outboundTag": "warp-go"
},
{
"type": "field",
"ip": [
"geoip:cn",
"geoip:private"
],
"outboundTag": "warp-go"
}
]
},
"policy": {
"levels": {
"0": {
"handshake": 2,
"connIdle": 120,
"statsUserUplink": true,
"statsUserDownlink": true
}
},
"system": {
"statsInboundUplink": true,
"statsInboundDownlink": true,
"statsOutboundUplink": true,
"statsOutboundDownlink": true
}
},
"inbounds": [
{
"listen": "0.0.0.0",
"port": 3000,
"protocol": "dokodemo-door",
"settings": {
"address": "0.0.0.0"
},
"tag": "api"
},
{
"listen": "/dev/shm/xray.sock,0666",
// "listen": "127.0.0.1",
// "port": 51000,
"protocol": "vless",
"settings": {
"clients": [
{
"id": "8e4477bf-8d00-49e8-a189-fb9acb7eb52d",
"email":"phone",
"flow": "xtls-rprx-vision"
}
],
"decryption": "none"
},
"sniffing": {
"enabled": true,
"destOverride": [
"http",
"tls",
"quic"
]
}
}
],
"outbounds": [
{
"protocol": "freedom",
"tag": "direct"
},
{
"sendThrough":"172.16.0.2",
"protocol":"freedom",
"settings":{
"domainStrategy":"UseIPv4"
},
"tag":"warp-go"
},
{
"protocol": "blackhole",
"settings": {},
"tag": "block"
}
]
}
As a client I'm using grpcurl:
grpcurl -plaintext 127.0.0.1:3000 describe v2ray.core.app.log.command.LoggerService
Failed to resolve symbol "v2ray.core.app.log.command.LoggerService": Symbol not found: v2ray.core.app.log.command.LoggerService
zobov@MBP-Daniil ~ % grpcurl -plaintext 159.89.31.135:10085 list grpc.reflection.v1alpha.ServerReflection v2ray.core.app.log.command.LoggerService v2ray.core.app.proxyman.command.HandlerService v2ray.core.app.stats.command.StatsService xray.app.log.command.LoggerService xray.app.proxyman.command.HandlerService xray.app.stats.command.StatsService
zobov@MBP-Daniil ~ % grpcurl -plaintext 159.89.31.135:10085 describe v2ray.core.app.proxyman.command.HandlerService Failed to resolve symbol "v2ray.core.app.proxyman.command.HandlerService": Symbol not found: v2ray.core.app.proxyman.command.HandlerService
But in postman: Could not load server reflection. Details: unknown error