[GH-ISSUE #2369] AmneziaVPN + AmneziaWG Mobile config bug #1046

Closed
opened 2026-10-13 20:33:23 +00:00 by bsakaguchi · 7 comments
Owner

Originally created by @kiruxaspb on GitHub (Mar 18, 2026).
Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/2369

Describe the bug
After installing AmneziaWG (version 2) on the server via the desktop app for MacOS version 4.8.14.5, I tried to create a configuration for AmneziaWG 2.0.0 in AmniziaWG Native mode.

Steps to reproduce the issue:

  1. Install AmneziaWG on the server using the macOS desktop app (version 4.8.14.5).
  2. Attempt to share a peer configuration with the mobile app via QR code.
  3. Scan the QR code using AmneziaWG 2.0.0 on iOS (via AmneziaVPN).
  4. Observe the error: "Invalid QR".

Expected behavior

If manually remove the <r 2> tag from the I1 field in the configuration and try adding the peer/config manually — it is added successfully.

Log files

Sample config provided from AmneziaVPN app:

[Interface]
Address = 10.8.1.4/32
DNS = 1.1.1.1, 1.0.0.1
PrivateKey = <correct private key>
Jc = 4
Jmin = 10
Jmax = 50
S1 = 142
S2 = 41
S3 = 56
S4 = 11
H1 = 684141592-1751861769
H2 = 1957920865-2010016669
H3 = 2043550980-2107134838
H4 = 2127672251-2132651859
I1 = <r 2><b 0x858000010001000000000669636c6f756403636f6d0000010001c00c000100010000105a00044d583737>
I2 = 
I3 = 
I4 = 
I5 = 

[Peer]
PublicKey = <correct Public Key>
PresharedKey = <correct Preshared Key>
AllowedIPs = 0.0.0.0/0, ::/0
Endpoint = <correct host:ip>
PersistentKeepalive = 25

Screenshots
Image

Desktop (please complete the following information):

  • OS: MacOS / IOS
  • Version MacOS app version 4.8.14.5 / 2.0.0

Smartphone (please complete the following information):

  • Device: IPhone 15 Pro
  • OS: IOS 26.3.1
  • App version of AmneziaWG: 2.0.0

Server (please complete the following information):

  • OS: Ubuntu 22.04

Additional context
Reference link to code: Link to line 236

Originally created by @kiruxaspb on GitHub (Mar 18, 2026). Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/2369 **Describe the bug** After installing AmneziaWG (version 2) on the server via the desktop app for MacOS version 4.8.14.5, I tried to create a configuration for AmneziaWG 2.0.0 in AmniziaWG Native mode. **Steps to reproduce the issue:** 1. Install AmneziaWG on the server using the macOS desktop app (version 4.8.14.5). 2. Attempt to share a peer configuration with the mobile app via QR code. 3. Scan the QR code using AmneziaWG 2.0.0 on iOS (via AmneziaVPN). 4. Observe the error: "Invalid QR". **Expected behavior** If manually remove the `<r 2>` tag from the `I1` field in the configuration and try adding the peer/config manually — it is added successfully. **Log files** Sample config provided from AmneziaVPN app: ``` [Interface] Address = 10.8.1.4/32 DNS = 1.1.1.1, 1.0.0.1 PrivateKey = <correct private key> Jc = 4 Jmin = 10 Jmax = 50 S1 = 142 S2 = 41 S3 = 56 S4 = 11 H1 = 684141592-1751861769 H2 = 1957920865-2010016669 H3 = 2043550980-2107134838 H4 = 2127672251-2132651859 I1 = <r 2><b 0x858000010001000000000669636c6f756403636f6d0000010001c00c000100010000105a00044d583737> I2 = I3 = I4 = I5 = [Peer] PublicKey = <correct Public Key> PresharedKey = <correct Preshared Key> AllowedIPs = 0.0.0.0/0, ::/0 Endpoint = <correct host:ip> PersistentKeepalive = 25 ``` **Screenshots** ![Image](https://github.com/user-attachments/assets/90b44820-b2fc-4625-89d3-e665f11fe3e9) **Desktop (please complete the following information):** - OS: MacOS / IOS - Version MacOS app version 4.8.14.5 / 2.0.0 **Smartphone (please complete the following information):** - Device: IPhone 15 Pro - OS: IOS 26.3.1 - App version of AmneziaWG: 2.0.0 **Server (please complete the following information):** - OS: Ubuntu 22.04 **Additional context** Reference link to code: [Link to line 236](https://github.com/amnezia-vpn/amnezia-client/blob/67bd880cdf0f0cababe50a8287e2e0033c2afd0e/client/protocols/protocols_defs.h#L236)
Author
Owner

@jkttim commented on GitHub (Mar 19, 2026):

there is already a given topic QRcode #2363

<!-- gh-comment-id:4091539472 --> @jkttim commented on GitHub (Mar 19, 2026): there is already a given topic QRcode #2363
Author
Owner

@127 commented on GitHub (Apr 27, 2026):

so it is still the same in production right?
I have the same issue with newly installed apps

<!-- gh-comment-id:4326908476 --> @127 commented on GitHub (Apr 27, 2026): so it is still the same in production right? I have the same issue with newly installed apps
Author
Owner

@kiruxaspb commented on GitHub (Apr 27, 2026):

I think yes

<!-- gh-comment-id:4326918069 --> @kiruxaspb commented on GitHub (Apr 27, 2026): I think yes
Author
Owner

@ghost commented on GitHub (Jun 19, 2026):

Version 4.8.19.0 still doesn't work. Where can I download the previous version?

<!-- gh-comment-id:4752078436 --> @ghost commented on GitHub (Jun 19, 2026): Version 4.8.19.0 still doesn't work. Where can I download the previous version?
Author
Owner

@kiruxaspb commented on GitHub (Jun 19, 2026):

@eurominus I using this version now: https://github.com/amnezia-vpn/amnezia-client/releases/tag/4.8.12.9 . And it works.

<!-- gh-comment-id:4752092323 --> @kiruxaspb commented on GitHub (Jun 19, 2026): @eurominus I using this version now: https://github.com/amnezia-vpn/amnezia-client/releases/tag/4.8.12.9 . And it works.
Author
Owner

@ghost commented on GitHub (Jun 19, 2026):

@eurominus I using this version now: https://github.com/amnezia-vpn/amnezia-client/releases/tag/4.8.12.9 . And it works.

Thank you very much! Already installed! I'll try it.

<!-- gh-comment-id:4752130494 --> @ghost commented on GitHub (Jun 19, 2026): > [@eurominus](https://github.com/eurominus) I using this version now: https://github.com/amnezia-vpn/amnezia-client/releases/tag/4.8.12.9 . And it works. Thank you very much! Already installed! I'll try it.
Author
Owner

@kiruxaspb commented on GitHub (Sep 29, 2026):

Fixed on the latest versions. Closed.

<!-- gh-comment-id:5897989900 --> @kiruxaspb commented on GitHub (Sep 29, 2026): Fixed on the latest versions. Closed.
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
amnezia-vpn/amnezia-client#1046
No description provided.