[GH-ISSUE #267] Bug: Cannot connect to server from Android client app. #70

Closed
opened 2026-10-13 20:12:04 +00:00 by bsakaguchi · 8 comments
Owner

Originally created by @steindvart on GitHub (Aug 1, 2023).
Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/267

The steps to reproduce the bug are as follows:

  1. A connection setting is added (Proto: OpenVPN)
  2. Press the center button "Connect".
  3. The connection attempt is immediately reset and no connection is made.

Environment:

  • Samsung M31 (SM-M315F/DSN)
  • Android 12
  • Installed from "Google Play"

And this behavior is repeated all the time, not allowing to use VPN from mobile device.

Logs of this behavior: AmneziaVPN.log

Originally created by @steindvart on GitHub (Aug 1, 2023). Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/267 The steps to reproduce the bug are as follows: 1. A connection setting is added (_Proto: OpenVPN_) 2. Press the center button "Connect". 3. The connection attempt is immediately reset and no connection is made. Environment: - Samsung M31 (SM-M315F/DSN) - Android 12 - Installed from "Google Play" And this behavior is repeated all the time, not allowing to use VPN from mobile device. Logs of this behavior: [AmneziaVPN.log](https://github.com/amnezia-vpn/amnezia-client/files/12225575/AmneziaVPN.log)
Author
Owner

@Bushroott commented on GitHub (Aug 2, 2023):

Same bug on "сlear" Android 12 (generic China phone). Ver 2.1.2 work well.

<!-- gh-comment-id:1662845536 --> @Bushroott commented on GitHub (Aug 2, 2023): Same bug on "сlear" Android 12 (generic China phone). Ver 2.1.2 work well.
Author
Owner

@arigatory commented on GitHub (Aug 7, 2023):

Looks as if a provider somehow blocks the connection

<!-- gh-comment-id:1668432134 --> @arigatory commented on GitHub (Aug 7, 2023): Looks as if a provider somehow blocks the connection
Author
Owner

@unlive74 commented on GitHub (Aug 8, 2023):

If you exit the application (using the exit button), it starts working correctly.

<!-- gh-comment-id:1669985569 --> @unlive74 commented on GitHub (Aug 8, 2023): If you exit the application (using the exit button), it starts working correctly.
Author
Owner

@steindvart commented on GitHub (Aug 9, 2023):

@arigatory

Looks as if a provider somehow blocks the connection

No. The same connection (network, provider, VPN server, protocol, etc.) from another device works fine.

<!-- gh-comment-id:1671919326 --> @steindvart commented on GitHub (Aug 9, 2023): @arigatory > Looks as if a provider somehow blocks the connection No. The same connection (network, provider, VPN server, protocol, etc.) from another device works fine.
Author
Owner

@steindvart commented on GitHub (Aug 9, 2023):

@unlive74

If you exit the application (using the exit button), it starts working correctly.

I tried to do this. It didn't help :[ Bug playback has been preserved.

<!-- gh-comment-id:1671919420 --> @steindvart commented on GitHub (Aug 9, 2023): @unlive74 > If you exit the application (using the exit button), it starts working correctly. I tried to do this. It didn't help :[ Bug playback has been preserved.
Author
Owner

@arigatory commented on GitHub (Aug 9, 2023):

@arigatory

Looks as if a provider somehow blocks the connection

No. The same connection (network, provider, VPN server, protocol, etc.) from another device works fine.

Both devices have the same TTL or maybe one of the devices is used as a hot-spot?

<!-- gh-comment-id:1672177350 --> @arigatory commented on GitHub (Aug 9, 2023): > @arigatory > > Looks as if a provider somehow blocks the connection > > No. The same connection (network, provider, VPN server, protocol, etc.) from another device works fine. > Both devices have the same TTL or maybe one of the devices is used as a hot-spot?
Author
Owner

@mrg1971 commented on GitHub (Sep 9, 2023):

Similar behavior...
Android client (v. 3.0.10 from Google Play) fails to connect using the configuration shared from Windows version (which works fine on multiple desctops for multiple users). Protocol - OpenVPN over Cloak. On Androind the attempt to connect never ends up, just keeps on trying forever showing the animation. This reproduces on two phones (Samsung S22 and S21 FE, both on Androind 13)
UPD:

  • Tried both DNS options - built in to Amnezia and external. Did not help.
  • Tried to use (on Android) both types of connection - "share connection" and "share full server", both did not work.
  • Checked Amnizia VPN client on on iPhone 13 Mini. Did not work, same as described above.
<!-- gh-comment-id:1712567116 --> @mrg1971 commented on GitHub (Sep 9, 2023): Similar behavior... Android client (v. 3.0.10 from Google Play) fails to connect using the configuration shared from Windows version (which works fine on multiple desctops for multiple users). Protocol - OpenVPN over Cloak. On Androind the attempt to connect never ends up, just keeps on trying forever showing the animation. This reproduces on two phones (Samsung S22 and S21 FE, both on Androind 13) UPD: - Tried both DNS options - built in to Amnezia and external. Did not help. - Tried to use (on Android) both types of connection - "share connection" and "share full server", both did not work. - Checked Amnizia VPN client on on iPhone 13 Mini. Did not work, same as described above.
Author
Owner

@steindvart commented on GitHub (Oct 21, 2023):

After release 3.1.0 the problem is not reproducible, and I can use AmneziaVPN on my device correctly. Who had the same issue, check, everything should be fine now.

Thanks to everyone involved! ❤️

<!-- gh-comment-id:1773720163 --> @steindvart commented on GitHub (Oct 21, 2023): After release [3.1.0](https://github.com/amnezia-vpn/amnezia-client/releases/tag/3.1.0 ) the problem is not reproducible, and I can use AmneziaVPN on my device correctly. Who had the same issue, check, everything should be fine now. Thanks to everyone involved! ❤️
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#70
No description provided.