Place1 / wg-access-server

An all-in-one WireGuard VPN solution with a web ui for connecting devices
MIT License
1.79k stars 226 forks source link

Cannot parse endpoint from wireguard android app #160

Open mathrb opened 3 years ago

mathrb commented 3 years ago

Hello,

I'm encountering an issue with the configuration. I tried setting up the address so that my devices can connect using a hostname: vpn.xxx.com I updated the dockercompose file with: "WG_EXTERNAL_HOST=https://vpn.xxx.com" This problem is while I scan the QR code with the wireguard android application, I get this exception: Unable to import tunnel: Cannot parse endpoint "https://vpn.xxx.com:51820" in Peer's Endpoint: Forbidden characters

Any ideas resolving this issue?

Thanks in advance

mathrb commented 3 years ago

It turns out the documentation isn't right when telling: The external domain for the server (e.g. https://www.mydomain.com) You should not add https://, just leave www.mydomain.com and it works like a charm

orthogonalmodetransducer commented 2 years ago

This remedy worked for me too. Thanks