[GH-ISSUE #318] Can't establish coonection to server on mobile devices #95

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

Originally created by @mrg1971 on GitHub (Sep 10, 2023).
Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/318

The bug reproduces on Android clients:
v.3.0.10 installed from Google Play and v.3.1.0 installed from Github
Devices:
Samsung S22, S21 FE and Galaxy Tab, all on Androind 13.
Protocol:
OpenVPN over Cloak.
Behavior:
The client fails to establish connection to Amnezia VPN server. Attempt to connect never ends up, just keeps on trying forever showing the animation.
Same configuration (with the same server) works fine on multiple Windows 10 desctops for multiple users.
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.
NOTE that, when using the shared full server configuration on Android client I can retrieve the client list from the server, but the VPN connection still fails to establish.
P.S. Checked most recent Amnizia VPN client from Appstore on iPhone 13 Mini. Did not work, same as described above.

Originally created by @mrg1971 on GitHub (Sep 10, 2023). Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/318 The bug reproduces on Android clients: v.3.0.10 installed from Google Play and v.3.1.0 installed from Github Devices: Samsung S22, S21 FE and Galaxy Tab, all on Androind 13. Protocol: OpenVPN over Cloak. Behavior: The client fails to establish connection to Amnezia VPN server. Attempt to connect never ends up, just keeps on trying forever showing the animation. Same configuration (with the same server) works fine on multiple Windows 10 desctops for multiple users. 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. NOTE that, when using the shared full server configuration on Android client I can retrieve the client list from the server, but the VPN connection still fails to establish. P.S. Checked most recent Amnizia VPN client from Appstore on iPhone 13 Mini. Did not work, same as described above.
Author
Owner

@EugeneEA commented on GitHub (Sep 21, 2023):

same problem. Samsung S20 plus
AmneziaVPN.log

<!-- gh-comment-id:1730321916 --> @EugeneEA commented on GitHub (Sep 21, 2023): same problem. Samsung S20 plus [AmneziaVPN.log](https://github.com/amnezia-vpn/amnezia-client/files/12693465/AmneziaVPN.log)
Author
Owner

@pokamest commented on GitHub (Sep 23, 2023):

@EugeneEA log you attached says you trying to use ShadowSocks. Could you please try OpenVPN Cloak?
Could you please test latest release 3.1.0 (apk from github) - https://github.com/amnezia-vpn/amnezia-client/releases/tag/3.1.0

@mrg1971 could you please reach our support in our Telegram group - https://t.me/amnezia_vpn_en
We would like to dig this issue

<!-- gh-comment-id:1732282085 --> @pokamest commented on GitHub (Sep 23, 2023): @EugeneEA log you attached says you trying to use ShadowSocks. Could you please try OpenVPN Cloak? Could you please test latest release 3.1.0 (apk from github) - https://github.com/amnezia-vpn/amnezia-client/releases/tag/3.1.0 @mrg1971 could you please reach our support in our Telegram group - https://t.me/amnezia_vpn_en We would like to dig this issue
Author
Owner

@THE-KONDRAT commented on GitHub (Oct 25, 2023):

I think i have same issue. I already installed 3.1.0v from github.
Samsung Galaxy s21

2023-10-25 18:25:21 debug "ConnectToVpn, Server index is 0, container is amnezia-wireguard, route mode is" Settings::VpnAllSites
2023-10-25 18:25:21 debug VpnLogic::onConnectionStateChanged "Подключение..."
2023-10-25 18:25:21 debug VpnConfigurator::getDnsForConfig "1.1.1.1" "1.0.0.1"
2023-10-25 18:25:21 debug VpnConfigurator::getDnsForConfig "1.1.1.1" "1.0.0.1"
2023-10-25 18:25:21 debug Prompting for VPN permission
2023-10-25 18:28:57 debug Transact: service disconnected
2023-10-25 18:28:57 debug Transact: service connected
2023-10-25 18:29:01 debug VpnLogic::onConnectionStateChanged "Отключено"
2023-10-25 18:29:01 debug AndroidController::stop
2023-10-25 18:29:01 debug Transact: disconnected
<!-- gh-comment-id:1779822093 --> @THE-KONDRAT commented on GitHub (Oct 25, 2023): I think i have same issue. I already installed 3.1.0v from github. Samsung Galaxy s21 ``` 2023-10-25 18:25:21 debug "ConnectToVpn, Server index is 0, container is amnezia-wireguard, route mode is" Settings::VpnAllSites 2023-10-25 18:25:21 debug VpnLogic::onConnectionStateChanged "Подключение..." 2023-10-25 18:25:21 debug VpnConfigurator::getDnsForConfig "1.1.1.1" "1.0.0.1" 2023-10-25 18:25:21 debug VpnConfigurator::getDnsForConfig "1.1.1.1" "1.0.0.1" 2023-10-25 18:25:21 debug Prompting for VPN permission 2023-10-25 18:28:57 debug Transact: service disconnected 2023-10-25 18:28:57 debug Transact: service connected 2023-10-25 18:29:01 debug VpnLogic::onConnectionStateChanged "Отключено" 2023-10-25 18:29:01 debug AndroidController::stop 2023-10-25 18:29:01 debug Transact: disconnected ```
Author
Owner

@pokamest commented on GitHub (Feb 24, 2024):

Android issues fixed in AmneziaVPN 4.x releases.

<!-- gh-comment-id:1962324625 --> @pokamest commented on GitHub (Feb 24, 2024): Android issues fixed in AmneziaVPN 4.x releases.
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#95
No description provided.