Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to Add Profile #984

Open
1 of 2 tasks
ali-masoudi opened this issue Jun 22, 2024 · 2 comments
Open
1 of 2 tasks

Failed to Add Profile #984

ali-masoudi opened this issue Jun 22, 2024 · 2 comments
Labels
bug Something isn't working reviewed

Comments

@ali-masoudi
Copy link

ali-masoudi commented Jun 22, 2024

Search first

  • I searched and no similar issues were found

What Happened?

after changing domain on server
when I try to import profile on android, I get:
Failed to Add Profile
Connection Timeout
Tested Version 1.4.0,1.1.1

Problem is same link works on Hiddify-next windows versions with same and different ISP.
IP and Domain are reachable even on android browser!
Also other clients (e.g. v2rayng android) can import profiles flawlessly

Minimal Reproducible Example (MRE)

Import profile

Expected Behavior

No response

Version

1.4.0

Platform/OS

Android

Additional Context

Hiddify App log

:53:07.377879 - [D] AddProfile: adding profile, url: [https://sub********************]
13:54:13.474300 - [W] ProfileRepositoryImpl: error adding profile by url
DioException [connection timeout]: The request connection took longer than 0:00:15.000000 and it was aborted. To get rid of this exception, try raising the RequestOptions.connectTimeout above the duration of 0:00:15.000000 or improve the response time of the server.
#0      DioMixin.fetch.<anonymous closure> (package:dio/src/dio_mixin.dart:510)
#1      _FutureListener.handleError (dart:async/future_impl.dart:180)
#2      Future._propagateToListeners.handleError (dart:async/future_impl.dart:850)
#3      Future._propagateToListeners (dart:async/future_impl.dart:871)
#4      Future._completeError (dart:async/future_impl.dart:651)
#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:613)
#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:850)
#11     Future._propagateToListeners (dart:async/future_impl.dart:871)
#12     Future._completeError (dart:async/future_impl.dart:651)
#13     Future._chainForeignFuture.<anonymous closure> (dart:async/future_impl.dart:556)
#14     _microtaskLoop (dart:async/schedule_microtask.dart:40)
#15     _startMicrotaskLoop (dart:async/schedule_microtask.dart:49)

13:54:13.481071 - [W] AddProfile: failed to add profile
ProfileFailure.unexpected(error: DioException [connection timeout]: The request connection took longer than 0:00:15.000000 and it was aborted. To get rid of this exception, try raising the RequestOptions.connectTimeout above the duration of 0:00:15.000000 or improve the response time of the server., stackTrace: #0      DioMixin.fetch.<anonymous closure> (package:dio/src/dio_mixin.dart:510)
#1      _FutureListener.handleError (dart:async/future_impl.dart:180)
#2      Future._propagateToListeners.handleError (dart:async/future_impl.dart:850)
#3      Future._propagateToListeners (dart:async/future_impl.dart:871)
#4      Future._completeError (dart:async/future_impl.dart:651)
#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:613)
#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:850)
#11     Future._propagateToListeners (dart:async/future_impl.dart:871)
#12     Future._completeError (dart:async/future_impl.dart:651)
#13     Future._chainForeignFuture.<anonymous closure> (dart:async/future_impl.dart:556)
#14     _microtaskLoop (dart:async/schedule_microtask.dart:40)
#15     _startMicrotaskLoop (dart:async/schedule_microtask.dart:49)
)

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.

  • I'm willing to submit a PR (Thank you!)
@ali-masoudi ali-masoudi added the bug Something isn't working label Jun 22, 2024
@ali-masoudi
Copy link
Author

Can I some how get subscription import logs?

@titancomputer
Copy link
Collaborator

try v2.3.1 and check if problem has been solved or not

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working reviewed
Projects
None yet
Development

No branches or pull requests

2 participants