app/proxyman/outbound: failed to process outbound traffic > proxy/trojan: failed to write A request payload > common/buf: buffer is full
Problem: My Flutter Xray client with the Trojan protocol works for websites, but it cannot download audio messages and images in messengers (Telegram, WhatsApp, etc.). Buffering error. it takes some time and starts working, then errors again.
app/proxyman/outbound: failed to process outbound traffic > proxy/trojan: failed to write A request payload > common/buf: buffer is full:
json { "loglevel": "debug", "access": "/data/user/0/com.diamondvpn.client/files/diamondvpn.log", "error": "/data/user/0/com.diamondvpn.client/files/diamondvpn.log", "inbounds": [ { "tag": "socks", "port": 10808, "listen": "127.0.0.1", "protocol": "socks", "sniffing": { "destOverride": ["http", "tls"], "enabled": true, "routeOnly": false }, "settings": { "auth": "noauth", "userLevel": 0, "udp": true } }, { "tag": "http", "port": 10809, "listen": "127.0.0.1", "protocol": "http", "sniffing": { "enabled": true, "destOverride": ["http", "tls", "quic"] }, "settings": { "userLevel": 0 } } ], "outbounds": [ { "protocol": "trojan", "settings": { "servers": [ { "port": 443, "flow": "", "ota": false } ] }, "streamSettings": { "network": "ws", "security": "tls", "tlsSettings": { "allowInsecure": false, "show": false }, "wsSettings": { "path": "/ws" } }, "mux": { "concurrency": -1, "enabled": false }, "tag": "proxy" }, { "tag": "direct", "protocol": "freedom", "settings": {} } ], "routing": { "domainStrategy": "IPIfNonMatch", "rules": [ { "type": "field", "ip": ["geoip:private"], "outboundTag": "direct" }, { "type": "field", "protocol": ["bittorrent"], "outboundTag": "direct" } ] } } My Tunnel config (HevSocks5Tunnel): misc: log-file: '/data/user/0/com.diamondvpn.client/files/diamondvpn.log' log-level: info tunnel: name: tun0 mtu: 1500 socks5: port: 10808 address: '127.0.0.1' udp: 'udp' mapdns: address: 198.18.0.2 port: 53 network: 240.0.0.0 netmask: 240.0.0.0 cache-size: 15000 Same server and config works perfectly with other Xray clients - all features work including audio and files. Problem only occurs with my Flutter client implementation.Other protocols such as vless are working fine.
未遵照模板 不处理第三方客户端遇到的问题