Jigsaw-Code / outline-apps

Outline Client and Manager, developed by Jigsaw. Outline Manager makes it easy to create your own VPN server. Outline Client lets you share access to your VPN with anyone in your network, giving them access to the free and open internet.
https://getoutline.org/
Apache License 2.0
8.38k stars 1.36k forks source link

IllegalServerConfiguration client cannot connect to any Outline Server #1522

Open guruhost opened 1 year ago

guruhost commented 1 year ago

Hi,

Under latest OSx the latest client 1.8.1 cannot connect at all to any server. If I run the app from terminal I'm getting the following error:

2022-12-20 17:55:24.963 Outline[4808:60304] error: could not connect to server server id: IllegalServerConfiguration

guruhost commented 1 year ago

Just to add an update that this is not working only unde M1 chip with latest MacOSx. Same client/version on other OS running fine.

IvanAdmaers commented 8 months ago

I got this error when my server sent a dynamic access key with data:

{
    "server": "https://myserver.com",
    "server_port": 8326,
    "password": "q0VqbZUo2diErlLOT5CwAd",
    "method": "chacha20-ietf-poly1305"
}

My solution was:

{
    "server": "195.246.124", // my server ip is here
    "server_port": 8326,
    "password": "q0VqbZUo2diErlLOT5CwAd",
    "method": "chacha20-ietf-poly1305"
}

Just changed the domain URL to my server direct ip address.

Wismute commented 1 month ago

Same error happened on iPhone app. Eventually I discovered that iOS Setting app was in "connecting to a VPN" state (VPN toggle in main menu just under Wi-Fi, Bluetooth, and Personal Hotspot). That toggle seems to be incompatible with Outline app and breaks connections in general.

Fix for me was to manually turn this toggle off, and after that in-app connection succeeded.

Hope that helps