[Logs] AmneziaWG profile fails to connect on Android (server on 3x-ui), works in AmneziaVPN client

Open
#2,589 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Active
Tech stack
android, dart, go

Research direction

Start with the attached diagnostics report and the logged amneziawg-go routines in device/receive.go:286; the core is STOPPED after the AWG device is created, so suspect profile/config handling or handshake setup rather than app UI. Reproduce with the same AmneziaWG profile on Android and compare the generated WireGuard/AmneziaWG config against the AmneziaVPN client. Done means the profile connects and the core stays running with a completed handshake; encrypted core logs must be obtained from the reporter first.

Written by the indexing model from the issue text.

Description

area:connection from-telegram logs platform:android
📱 Environment
Platform Android
OS version QP1A.190711.020
Hiddify version v5.9.8
Build 50908
Architecture arm64
Report type Logs
Severity (AI estimate) medium
Source Telegram bot · entered manually
📝 Summary

The user cannot connect with an AmneziaWG profile in Hiddify v5.9.8 on Android. The server runs on 3x-ui (without the Amnezia core) and the same server connects fine from the official AmneziaVPN client. The report also mentions "win10 pro", so the issue may also occur on Windows, but the attached diagnostics are from Android.

🔁 Steps to reproduce
  1. Import an AmneziaWG/WireGuard profile for a server managed by 3x-ui into Hiddify (Android, v5.9.8)
  2. Try to connect
✅ Expected behaviour

The AmneziaWG profile connects as it does in the AmneziaVPN client.

❌ Actual behaviour

The connection fails. Diagnostics show the core STOPPED and the connection status disconnected.

🔎 Notable log lines
  • metadata: connection.status = ConnectionStatus.disconnected(connectionFailure: null), coreState = STOPPED, crashes = 0
  • active_profile_name: WireGuardSWED; per_app_proxy_enabled = true (include mode); unblocker-mode = psiphon
  • Previous run goroutine dump shows amneziawg-go device routines running: github.com/amnezia-vpn/amneziawg-go/v3/device.(*Device).RoutineDecryption (device/receive.go:286), so the AWG device was created but no traffic/handshake is evident
  • Core and config logs are encrypted and were not available for analysis
📎 Attachments

🩺 hiddify-008.zip — diagnostics report as sent by the app

🩺 App diagnostics
App 5.9.8 (50908)
Release / env general / prod
System android QP1A.190711.020
Architecture arm64
Core GRPC_NORMAL · STOPPED
Connection ConnectionStatus.disconnected(connectionFailure: null)
Service mode vpn
Go / Dart go1.27.3 · 3.10.4
⚠️ Reporter selected app v5.9.6 (report: v5.9.8)
⚠️ Reporter selected os 10 (report: QP1A.190711.020)
Sensitive part encrypted, not readable by the bot
⚙️ Settings
setting value
active_config_path /storage/emulated/0/Android/data/app.hiddify.com/files/configs/<uuid>.json
active_profile_name WireGuardSWED
allow-connection-from-lan false
auto_apps_selection_last_update 2026-11-11T10:08:52.220509
auto_apps_selection_region ``
balancer-strategy round-robin
chain-status off
debug_mode true
enable-tls-fragment false
enable-tls-mixed-sni-case true
enable-tls-padding true
enable_analytics true
fragment-packets 1-5
locale en
log-filter-level FINE
log-level debug
per_app_proxy_enabled true
per_app_proxy_exclude_list <10 entries>
per_app_proxy_include_list <9 entries>
per_app_proxy_mode include
psiphon-consent-given true
region ru
service-mode vpn
started_by_user false
starting_core_on_starting_service false
store_reviewed_by_user true
tls-fragment-sleep 2-10
unblocker-mode psiphon
warp-consent-given true
💬 Original message from the reporter (English)

amnezia don't connect, server on 3xui, without amnezia core, it connect well from amneziavpn client

Hi

win10 pro


🤖 Submitted through the Hiddify Telegram bot · reporter 1ac9fa2df4 · the reporter is notified about comments here, and their replies are posted by the bot.

Dominant language
Dart
Stars
33.9k
Forks
3.2k
Avg merge
9h 34m
Merged PRs (30d)
22

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from hiddify/hiddify-app

All issues in hiddify/hiddify-app

Similar issues

More Dart issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.