[GH-ISSUE #2223] If I lock the iPhone screen, then after 10-15 minutes the handshake stops, it only helps to reconnect the tunnel. #989

Open
opened 2026-10-13 20:32:28 +00:00 by bsakaguchi · 3 comments
Owner

Originally created by @kda2495 on GitHub (Feb 16, 2026).
Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/2223

Describe the bug
If I lock the iPhone screen, then after 10-15 minutes the handshake stops, it only helps to reconnect the tunnel.

To Reproduce
Steps to reproduce the behavior:

  1. Turn on your tunnel
  2. Lock iPhone screen
  3. Wait 15+ minutes
  4. When you unlock the screen your connetion will be off, cause handshakes stopped after you locked iPhone screen.

Expected behavior
A clear and concise description of what you expected to happen.

Log files
AmneziaVPN.log
amneziawg-log-2026-02-16T095139Z.txt

Smartphone (please complete the following information):

  • Device: iPhone 16
  • OS: iOS 26.3
  • Version 4.8.10 (AmneziaVPN), 2.0.0 (AmneziaWG)
Originally created by @kda2495 on GitHub (Feb 16, 2026). Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/2223 **Describe the bug** If I lock the iPhone screen, then after 10-15 minutes the handshake stops, it only helps to reconnect the tunnel. **To Reproduce** Steps to reproduce the behavior: 1. Turn on your tunnel 2. Lock iPhone screen 3. Wait 15+ minutes 4. When you unlock the screen your connetion will be off, cause handshakes stopped after you locked iPhone screen. **Expected behavior** A clear and concise description of what you expected to happen. **Log files** [AmneziaVPN.log](https://github.com/user-attachments/files/25340421/AmneziaVPN.log) [amneziawg-log-2026-02-16T095139Z.txt](https://github.com/user-attachments/files/25340422/amneziawg-log-2026-02-16T095139Z.txt) **Smartphone (please complete the following information):** - Device: iPhone 16 - OS: iOS 26.3 - Version 4.8.10 (AmneziaVPN), 2.0.0 (AmneziaWG)
Author
Owner

@roger-5899 commented on GitHub (Feb 19, 2026):

I have the same issue with Android -- this is old problem with wireguard -- xray was working fine

<!-- gh-comment-id:3927112920 --> @roger-5899 commented on GitHub (Feb 19, 2026): I have the same issue with Android -- this is old problem with wireguard -- xray was working fine
Author
Owner

@Ayfat commented on GitHub (Feb 26, 2026):

Yep, I also have the same issue on Samsung Galaxy S23 Ultra

<!-- gh-comment-id:3968890854 --> @Ayfat commented on GitHub (Feb 26, 2026): Yep, I also have the same issue on Samsung Galaxy S23 Ultra
Author
Owner

@b0r0d1nsky commented on GitHub (Mar 12, 2026):

I may be experiencing a similar issue, although I haven’t fully verified it yet.
Here’s what happens for me:
if I’m on mobile data and enable Amnezia, then later connect to Wi-Fi, Amnezia tries to reconnect but fails. I can see Wi-Fi connecting, then the VPN icon briefly appears again in the status bar and disappears right after.
If I start on Wi-Fi and then leave its coverage area, the VPN also doesn’t reconnect.
I didn’t have this issue when using the standard WireGuard app.
Do you have any ideas what might be causing this or how it could be fixed?

<!-- gh-comment-id:4046468205 --> @b0r0d1nsky commented on GitHub (Mar 12, 2026): I may be experiencing a similar issue, although I haven’t fully verified it yet. Here’s what happens for me: if I’m on mobile data and enable Amnezia, then later connect to Wi-Fi, Amnezia tries to reconnect but fails. I can see Wi-Fi connecting, then the VPN icon briefly appears again in the status bar and disappears right after. If I start on Wi-Fi and then leave its coverage area, the VPN also doesn’t reconnect. I didn’t have this issue when using the standard WireGuard app. Do you have any ideas what might be causing this or how it could be fixed?
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#989
No description provided.