hiddify / hiddify-next

Multi-platform auto-proxy client, supporting Sing-box, X-ray, TUIC, Hysteria, Reality, Trojan, SSH etc. It’s an open-source, secure and ad-free.
https://hiddify.com
Other
12.84k stars 1.2k forks source link

Subscription Json dosn't import , error : invalid configs [SignboxParser] unmarshal error: outbound[0]: missing outbound type #903

Open tinybug-m opened 1 month ago

tinybug-m commented 1 month ago

Search first

What Happened?

hello

i want to use fragment in my confings and it work in v2rayng app but dosn't work in hiddenify .

thats my json config

{ "dns": { "queryStrategy": "UseIP", "servers": [ { "address": "8.8.8.8", "skipFallback": false } ], "tag": "dns_out" }, "inbounds": [ { "port": 10808, "protocol": "socks", "settings": { "auth": "noauth", "udp": true, "userLevel": 8 }, "sniffing": { "destOverride": [ "http", "tls", "fakedns" ], "enabled": true }, "tag": "socks" }, { "port": 10809, "protocol": "http", "settings": { "userLevel": 8 }, "tag": "http" } ], "log": { "loglevel": "warning" }, "outbounds": [ { "protocol": "vless", "tag": "proxy", "streamSettings": { "network": "ws", "security": "none", "sockopt": { "dialerProxy": "fragment", "tcpKeepAliveIdle": 100, "tcpNoDelay": true }, "wsSettings": { "headers": {}, "host": "", "path": "/" } }, "settings": { "vnext": [ { "address": "myip", "port": 213123, "users": [ { "encryption": "none", "id": "fc8c1b50-794f-4188-b026-513d79442e79", "level": 8 } ] } ] } }, { "protocol": "freedom", "settings": { "domainStrategy": "UseIP" }, "tag": "direct" }, { "protocol": "blackhole", "settings": { "response": { "type": "http" } }, "tag": "block" }, { "tag": "fragment", "protocol": "freedom", "settings": { "domainStrategy": "AsIs", "fragment": { "packets": "tlshello", "length": "100-200", "interval": "0-5" } }, "streamSettings": { "sockopt": { "tcpKeepAliveIdle": 100, "tcpNoDelay": true } } } ], "policy": { "levels": { "8": { "connIdle": 300, "downlinkOnly": 1, "handshake": 4, "uplinkOnly": 1 } }, "system": { "statsOutboundDownlink": true, "statsOutboundUplink": true } }, "remarks": "bahador-01-20.00GB📊-30Days⏳", "routing": { "domainStrategy": "AsIs", "rules": [ { "network": "tcp,udp", "outboundTag": "proxy", "type": "field" } ] }, "stats": {} }

Minimal Reproducible Example (MRE)

.

Expected Behavior

No response

Version

1.1.1

Platform/OS

Android, Linux

Additional Context

No response

Application Config Options

No response

Relevant log output

No response

Are you willing to submit a PR? If you know how to fix the bug.

amir14a commented 1 month ago

I have same problem when I try to add socks configs.