hiddify / hiddify-app

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
17.23k stars 1.56k forks source link

Any version shows "Failed to add profile" #1207

Open mwx280 opened 3 months ago

mwx280 commented 3 months ago

Search first

What Happened?

I reinstalled the system once today, and the result shows "Failed to add configuration file, unexpected connection error" regardless of the version.

Minimal Reproducible Example (MRE)

  1. Open Hiddify
  2. Click Add profile from clipboard

Expected Behavior

Add the configuration file as normal

Version

v2.0.5 and Any version

Platform/OS

Windows

Additional Context

屏幕截图 2024-08-09 191657

Application Config Options

{
  "region": "cn",
  "block-ads": false,
  "execute-config-as-is": false,
  "log-level": "warn",
  "resolve-destination": false,
  "ipv6-mode": "ipv4_only",
  "remote-dns-address": "udp://1.1.1.1",
  "remote-dns-domain-strategy": "",
  "direct-dns-address": "1.1.1.1",
  "direct-dns-domain-strategy": "",
  "mixed-port": 12334,
  "tproxy-port": 12335,
  "local-dns-port": 16450,
  "tun-implementation": "mixed",
  "mtu": 9000,
  "strict-route": true,
  "connection-test-url": "http://connectivitycheck.gstatic.com/generate_204",
  "url-test-interval": 600,
  "enable-clash-api": true,
  "clash-api-port": 16756,
  "enable-tun": false,
  "enable-tun-service": false,
  "set-system-proxy": true,
  "bypass-lan": false,
  "allow-connection-from-lan": false,
  "enable-fake-dns": false,
  "enable-dns-routing": true,
  "independent-dns-cache": true,
  "rules": [],
  "mux": {
    "enable": false,
    "padding": false,
    "max-streams": 8,
    "protocol": "h2mux"
  },
  "tls-tricks": {
    "enable-fragment": false,
    "fragment-size": "10-30",
    "fragment-sleep": "2-8",
    "mixed-sni-case": false,
    "enable-padding": false,
    "padding-size": "1-1500"
  },
  "warp": {
    "enable": false,
    "mode": "proxy_over_warp",
    "wireguard-config": "",
    "license-key": "",
    "account-id": "",
    "access-token": "",
    "clean-ip": "auto",
    "clean-port": 0,
    "noise": "1-3",
    "noise-size": "10-30",
    "noise-delay": "10-30",
    "noise-mode": "m6"
  },
  "warp2": {
    "enable": false,
    "mode": "proxy_over_warp",
    "wireguard-config": "",
    "license-key": "",
    "account-id": "",
    "access-token": "",
    "clean-ip": "auto",
    "clean-port": 0,
    "noise": "1-3",
    "noise-size": "10-30",
    "noise-delay": "10-30",
    "noise-mode": "m6"
  }
}

Relevant log output

null

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

mwx280 commented 3 months ago

After my testing, it turned out that it was not a problem with configuring links, but with Hiddify. Whether it's a preview or an official version, there is this problem

titancomputer commented 2 months ago

uninstall the app, then remove this folder AppData\Roaming\Hiddify\ then try v2.1.5 if problem exist, share your configuration which has issue.

Annie602942 commented 5 days ago

![Uploading Snapchat App Icon.png…]()