Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot parse endpoint from wireguard android app #160

Open
mathrb opened this issue Oct 24, 2021 · 2 comments
Open

Cannot parse endpoint from wireguard android app #160

mathrb opened this issue Oct 24, 2021 · 2 comments

Comments

@mathrb
Copy link

mathrb commented Oct 24, 2021

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
Copy link
Author

mathrb commented Oct 24, 2021

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

This remedy worked for me too. Thanks

DasSkelett added a commit to DasSkelett/wg-access-server that referenced this issue Apr 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants