Skip to content

iOS app shows self-hosted server as Not installed and fails with ErrorCode 300 #2250

Description

@vpozdnyakov

Describe the bug
I'm trying to connect to an already installed self-hosted server using AmneziaWG v2 via the iOS app. The server was successfully installed using the macOS client, and it works correctly there. However, after importing the server configuration into the iOS app, the server is shown as "Not installed". When pressing Connect, instead of connecting, the app displays the "Choose Installation Type" selector and attempts to reinstall the server. It then shows: "Usually it takes no more than 5 minutes" followed by: "ErrorCode: 300. SSH request was denied". The server is already installed and working, so it should not attempt reinstallation.

To Reproduce
Steps to reproduce the behavior:

  1. Install the app on macOS
  2. Install a self-hosted VPN server using the "+" button
  3. Confirm the server works on macOS
  4. Install the app on iOS
  5. Share the server settings from macOS using the Share button
  6. Import the configuration on iOS (QR code or copy-paste)
  7. Press "Connect"

Expected behavior
The iOS client should recognize the server as already installed and connect to it without attempting reinstallation.

Actual behavior
The server is marked as "Not installed" and the app attempts to reinstall it, eventually failing with: Error Code: 300. SSH request was denied

Screenshots
Image

Desktop (please complete the following information):

  • OS: MacOS
  • Version 4.8.12.9

Smartphone (please complete the following information):

  • Device: iPhone 13
  • OS: 18.7.1
  • Version 4.8.10

Server (please complete the following information):

  • OS: Ubuntu 22.04.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions