Closed NovianPutera closed 1 week ago
I am going to try to recreate this.
@NovianPutera can you URL encode your peer's public key in the URL? https://www.urlencoder.org/
Sorry for late reply.
Ahh, after I encode my public key at https://www.urlencoder.org/. And I tried to get the configuration via API, apparently it works.
The problem is Postman does not encode the "+" sign to URL-encoded format on Query Params.
Thanks @DaanSelen
Sorry for late reply.
Ahh, after I encode my public key at https://www.urlencoder.org/. And I tried to get the configuration via API, apparently it works.
The problem is Postman does not encode the "+" sign to URL-encoded format on Query Params.
Thanks @DaanSelen
I was afraid it was not passing something correctly! Good to hear it works.
The Problem I want to know why I can't get peer config via API with error "Peer does not exist".
I tried to reinstall WGDashboard (Delete Folder -> reclone -> ./wgd.sh install -> ./wgd.sh start). After that process, API get config peer can be obtained.
However, 1 day later, peer config can't be obtained again with the same error, "Peer does not exist".
Can the symbols in the public key affect the API?
Error No error found at error-xxx.log
Configuration
wg pubkey
wg genkey
OS Information: