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
15.79k stars 1.45k forks source link

Failed to add the configuration file #558

Closed zhuxining closed 4 months ago

zhuxining commented 7 months ago

Search first

What Happened?

When I used ClashX.Meta, I was able to add the download configuration, but when I used hiddify, it said "Failed to add the configuration file." ClashX.Meta App:https://github.com/MetaCubeX/ClashX.Meta agent install shell:https://github.com/mack-a/v2ray-agent

image

Reproduce the Bug

app.log

15:04:17.633648 - [W] ProfileRepositoryImpl: error adding profile DioException [unknown]: null Error: HttpException: Connection closed before full header was received, uri = https://xx.xxxx.com:24085/s/clashMetaProfiles/6175……

0 DioMixin.fetch. (package:dio/src/dio_mixin.dart:507)

1 _FutureListener.handleError (dart:async/future_impl.dart:180)

2 Future._propagateToListeners.handleError (dart:async/future_impl.dart:858)

3 Future._propagateToListeners (dart:async/future_impl.dart:879)

4 Future._completeError (dart:async/future_impl.dart:655)

5 _SyncCompleter._completeError (dart:async/future_impl.dart:63)

6 _Completer.completeError (dart:async/future_impl.dart:27)

7 Future.any.onError (dart:async/future.dart:618)

8 _RootZone.runBinary (dart:async/zone.dart:1666)

9 _FutureListener.handleError (dart:async/future_impl.dart:177)

10 Future._propagateToListeners.handleError (dart:async/future_impl.dart:858)

11 Future._propagateToListeners (dart:async/future_impl.dart:879)

12 Future._completeError (dart:async/future_impl.dart:655)

13 Future._chainForeignFuture. (dart:async/future_impl.dart:556)

14 _microtaskLoop (dart:async/schedule_microtask.dart:40)

15 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49)

url: configuration file

mixed-port: 7890 unified-delay: false geodata-mode: true tcp-concurrent: false find-process-mode: strict global-client-fingerprint: chrome

allow-lan: true mode: rule log-level: info ipv6: true

external-controller: 127.0.0.1:9090

geox-url: geoip: "https://testingcf.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@release/geoip.dat" geosite: "https://testingcf.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@release/geosite.dat" mmdb: "https://testingcf.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@release/country.mmdb"

profile: store-selected: true store-fake-ip: true

sniffer: enable: false sniff: TLS: ports: [443] HTTP: ports: [80] override-destination: true

tun: enable: true stack: system dns-hijack:

dns: enable: true listen: 0.0.0.0:1053 ipv6: true enhanced-mode: fake-ip fake-ip-range: 28.0.0.1/8 fake-ip-filter:

proxy-providers: aoczocurbf_provider: type: http path: ./aoczocurbf_provider.yaml

Expected Behavior

No response

Version

0.14.20 (1420)

Platform/OS

macOS

Additional Context

No response

Relevant log output

No response

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

lymanjre commented 4 months ago

Pls try the latest version