Closed heqirong closed 2 years ago
connIdle
https://xtls.github.io/config/policy.html#levelpolicyobject
在base.json尝试添加本地策略,connIdle设置了3600,但是没有效果,还是600s左右就断开
"policy": { "levels": { "0": { "handshake": 4, "connIdle": 3600, "uplinkOnly": 2, "downlinkOnly": 5, "statsUserUplink": false, "statsUserDownlink": false, "bufferSize": 16 } }
我没有遇到这个情况,请问是否方便贴出完整配置呢?
我没有遇到这个情况,请问是否方便贴出完整配置呢?
{ "policy": { "levels": { "0": { "handshake": 4, "connIdle": 3600, "uplinkOnly": 2, "downlinkOnly": 5, "statsUserUplink": false, "statsUserDownlink": false, "bufferSize": 16 } } }, "log": { "access": "none", "loglevel": "warning", "dnsLog": true }, "inbounds": [ { "tag": "proxy-in", "port": 65535, "protocol": "dokodemo-door", "settings": { "network": "tcp,udp", "followRedirect": true }, "streamSettings": { "sockopt": { "tproxy": "tproxy" } }, "sniffing": { "enabled": true, "routeOnly": true, "destOverride": [ "http", "tls" ] } } ], "outbounds": [ { "tag": "direct", "protocol": "freedom", "settings": { "domainStrategy": "UseIPv4" } }, { "tag": "block", "protocol": "blackhole", "settings": { "response": { "type": "http" } }, "streamSettings": null, "mux": null }, { "tag": "dns-out", "protocol": "dns", "settings": { "address": "8.8.8.8" } } ] }
你的fcm是用microg还是gms提供的?
你的fcm是用microg还是gms提供的?
原生android13 beta2.1自带的gms
在我的地区,fcm能够直连;测试一下在你的地区能否直连,以判断是否xray环节出了预期外情况
使用该软件进行测试: https://play.google.com/store/apps/details?id=net.xdroid.pn
注意:软件注册fcm需要过墙,过墙注册成功后,断开代理,开关飞行模式,看看能否正常推送消息
在我的地区,fcm能够直连;测试一下在你的地区能否直连,以判断是否xray环节出了预期外情况
使用该软件进行测试: https://play.google.com/store/apps/details?id=net.xdroid.pn
注意:软件注册fcm需要过墙,过墙注册成功后,断开代理,开关飞行模式,看看能否正常推送消息
大概确认到原因了,应该是跟我刷了Universal GMS Doze模块有关
在5G网络下,fcm 600s就断开,不会自动重连,需要开关下飞行模式; 一样的xray节点配置在路由器上,手机wifi连接,fcm连接正常; 目前是通过magisk fcmfix模块保持连接,是否同timeout有关?
06-06 10:28:02.191 net=0: Close err:20 time:600 06-06 10:28:1 2.847 net=0: [fcmfix] Send broadcast GCM_RECONNECT 06-06 10:28:1 3.308 net=0: Connected 06-06 10:38:1 2.929 net=0: Close err:20 time:599 06-06 10:38:1 8.703 net=0: [fcmfix] Send broadcast GCM_RECONNECT 06-06 10:38:19.082 net=0: Connected