```
+0000 2022-10-20 01:56:18 INFO inbound/trojan[0]: tcp server started at [::]:12345
+0000 2022-10-20 01:56:18 INFO sing-box started (0.00s)
+0000 2022-10-20 01:56:24 INFO [2503396838] inbound/trojan[0]: inbound connection from **********:52792
+0000 2022-10-20 01:56:24 INFO [2767936057] inbound/trojan[0]: [TEST] inbound connection to 172.67.75.172:80
+0000 2022-10-20 01:56:24 INFO [2767936057] outbound/vmess[VMESS-out]: outbound connection to 172.67.75.172:80
+0000 2022-10-20 01:56:24 ERROR [2503396838] inbound/trojan[0]: process connection from **********:52792: invalid argument
+0000 2022-10-20 01:56:27 INFO [4114087625] inbound/trojan[0]: inbound connection from **********:52792
+0000 2022-10-20 01:56:27 INFO [1209777204] inbound/trojan[0]: [TEST] inbound connection to 172.67.75.172:80
+0000 2022-10-20 01:56:27 INFO [1209777204] outbound/vmess[VMESS-out]: outbound connection to 172.67.75.172:80
+0000 2022-10-20 01:56:27 ERROR [4114087625] inbound/trojan[0]: process connection from **********:52792: invalid argument
+0000 2022-10-20 01:56:27 INFO [76375507] inbound/trojan[0]: inbound connection from **********:52792
+0000 2022-10-20 01:56:27 INFO [787955418] inbound/trojan[0]: [TEST] inbound connection to 172.67.75.172:80
+0000 2022-10-20 01:56:27 INFO [787955418] outbound/vmess[VMESS-out]: outbound connection to 172.67.75.172:80
+0000 2022-10-20 01:56:27 ERROR [76375507] inbound/trojan[0]: process connection from **********:52792: invalid argument
```
Welcome
Description of the problem
客户端A(out: gRPC) -> 中转服务器B(in:gRPC / out:任意tcp协议)-> 终点服务器C (in:任意tcp协议) 以上情况不通过。
此时把中转服务器B的出口协议更换为udp的协议,就没问题,例如下面这样: 客户端A(out: gRPC) -> 中转服务器B(in:gRPC / out: Hysieria)-> 终点服务器C (in:Hysieria)
附注: 1、与gRPC内层包裹的协议无关,经测试trojan和vmess均会在中转服务器B产生invalid argument错误 2、没有编译标准gRPC,不确定使用标准gRPC是否有此异常。
Version of sing-box
Server and client configuration file
客户端A
中转服务器B
Server and client log file
客户端A上日志无异常
中转服务器B上日志有异常