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

silent_start login error #978

Open
1 of 2 tasks
eexpress opened this issue Jun 19, 2024 · 0 comments
Open
1 of 2 tasks

silent_start login error #978

eexpress opened this issue Jun 19, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@eexpress
Copy link

Search first

  • I searched and no similar issues were found

What Happened?

If select silent_start, the hiddify will fail to launch at next reboot. kill process, trun on/off system proxy, no help.

⭕ /usr/bin/hiddify
flutter: 23:36:16.505301 [INFO]     [bootstrap] initializing [directories]
flutter: 23:36:16.505585 [DEBUG]    [bootstrap] [directories] initialized in 0ms
flutter: 23:36:16.505617 [INFO]     [bootstrap] initializing [app info]
flutter: 23:36:16.506031 [DEBUG]    [bootstrap] [app info] initialized in 0ms
flutter: 23:36:16.506050 [INFO]     [bootstrap] initializing [preferences]
flutter: 23:36:16.506069 [DEBUG]    [preferences] initializing preferences
flutter: 23:36:16.506229 [DEBUG]    [bootstrap] [preferences] initialized in 0ms
flutter: 23:36:16.506284 [INFO]     [bootstrap] initializing [analytics]
flutter: 23:36:16.506313 [DEBUG]    [AnalyticsController] enabling analytics
flutter: 23:36:16.506331 [DEBUG]    [LoggerController] adding [analytics] printer
flutter: 23:36:16.506516 [DEBUG]    [bootstrap] [analytics] initialized in 0ms
flutter: 23:36:16.506526 [INFO]     [bootstrap] initializing [preferences migration]
flutter: 23:36:16.506544 [DEBUG]    [PreferencesMigration] already using the latest version (v1)
flutter: 23:36:16.506560 [DEBUG]    [bootstrap] [preferences migration] initialized in 0ms
flutter: 23:36:16.506596 [DEBUG]    [PreferencesEntry<bool, dynamic>] getting persisted preference [debug_mode](bool)
flutter: 23:36:16.506605 [INFO]     [bootstrap] initializing [window controller]
flutter: 23:36:16.510175 [DEBUG]    [bootstrap] [window controller] initialized in 3ms
flutter: 23:36:16.510222 [DEBUG]    [PreferencesEntry<bool, bool>] getting persisted preference [silent_start](bool)
flutter: 23:36:16.510245 [DEBUG]    [bootstrap] silent start [Enabled]
flutter: 23:36:16.510254 [DEBUG]    [bootstrap] silent start, remain hidden accessible via tray
flutter: 23:36:16.510262 [INFO]     [bootstrap] initializing [auto start service]
flutter: 23:36:16.510350 [INFO]     [AutoStartNotifier] auto start is [Enabled]
flutter: 23:36:16.510365 [DEBUG]    [bootstrap] [auto start service] initialized in 0ms
flutter: 23:36:16.510374 [INFO]     [bootstrap] initializing [logs repository]
flutter: 23:36:16.510817 [DEBUG]    [bootstrap] [logs repository] initialized in 0ms
flutter: 23:36:16.510832 [INFO]     [bootstrap] initializing [logger controller]
flutter: 23:36:16.510856 [INFO]     [bootstrap] hiddify v1.4.0 (10400) [prod]
general release
linux [Linux 6.9.4-200.fc40.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jun 12 13:33:34 UTC 2024]
flutter: 23:36:16.510872 [INFO]     [bootstrap] initializing [geo assets repository]
flutter: 23:36:16.511295 [INFO]     [bootstrap] initializing [profile repository]
flutter: 23:36:16.511473 [INFO]     [bootstrap] initializing [active profile]
flutter: 23:36:16.512736 [INFO]     [bootstrap] initializing [deep link service]
flutter: 23:36:16.512825 [INFO]     [bootstrap] initializing [sing-box]
flutter: 23:36:16.512852 [INFO]     [bootstrap] initializing [system tray]
flutter: 23:36:16.514953 [INFO]     [ConnectionNotifier] connection status: DISCONNECTED
flutter: 23:36:16.517394 [INFO]     [bootstrap] bootstrap took [12ms]
flutter: upgrader: parseAppcastItemsFromUri exception: ClientException with SocketException: 连接被拒绝 (OS Error: 连接被拒绝, errno = 111), address = 127.0.0.1, port = 52254, uri=https://raw.githubusercontent.com/hiddify/hiddify-next/main/appcast.xml

(hiddify:3607): Gtk-CRITICAL **: 23:36:16.616: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed
^C

After modify shared_preferences.json manually, set "flutter.silent_start":false, it works again. Maybe it fail due to raw.githubusercontent.com has been blocken.

Minimal Reproducible Example (MRE)

  1. silent_start = true
  2. reboot
  3. fail launch
  4. "flutter.silent_start":false
  5. it work

Expected Behavior

No response

Version

v1.4.0

Platform/OS

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.

  • I'm willing to submit a PR (Thank you!)
@eexpress eexpress added the bug Something isn't working label Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant