-
-
Notifications
You must be signed in to change notification settings - Fork 24
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
Start error #16
Comments
Can you please check the log files for more info. The warnings are not necessarily bad, they are just informing. |
Now I add ipv6^ `cd /root/Wireguard-Manager-and-API; 2023/08/03 22:04:44 /root/Wireguard-Manager-and-API/src/db/db.go:62 record not found ` This is log file:
|
The last line says it is unable to find file or directory. This may be your https certificate. Can you double check location. |
I have some questions:
Thanks |
|
I turned off the SSL and started the API. Other questions are still relevant. Can you suggest how I can generate QR from the API results and create a config file for import in APP |
And how i can get PrivateKey? from API or wg config? I understand correctly that your api creates its own interface and private key? and not use default wg0.conf |
And why after add new key, I got "PresharedKey" => "REDACTED" ? |
sudo: ./services/start.sh: command not found |
Sorry for the late reply. This is correct, it does not use the default wg0.conf. The private key to my knowledge (I haven't worked on this project in ages) is stored in the database in the WireguardInterface table. |
This is because a preshared key is an extra layer of security. You are already specifying the preshared key when creating a new key, why do you need to see it? |
Hi.
I clone repo, setup config.json and when i start commands:
Do not forget to add your config.json file to /opt/wgManagerAPI/config.json
git clone this repository
cd wireguard-manager-and-api to open the repo
go get to get packages
go build -o wgManagerAPI main.go to build an output a executable file
sudo ./wgManagerAPI to run the application.
I got error:
WG MANAGER AND API STARTING UP
Env file loading - 1/6
Logger starting up - 2/6
Starting database - 3/6
Starting of network - 4/6
Created wireguard instance on port 51821
Warning - Failed to add IP address file exists
Warning - Failed to add IP address file exists
Warning - Failed to add IP address file exists
Warning - Failed to add IP address file exists
Starting autochecker - 5/6
Starting API - 6/6
HTTPS about to listen on 8443.root@v340811515netstat -na | grep :8443
:~/Wireguard-Manager-and-API#
in config.json isset real ipv4 adress, but not set ipv6
in log Error - Startup of API serveropen : no such file or directory
The text was updated successfully, but these errors were encountered: