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

status intigration api will not connect #89

Open
NOXCIS opened this issue Aug 6, 2021 · 9 comments
Open

status intigration api will not connect #89

NOXCIS opened this issue Aug 6, 2021 · 9 comments

Comments

@NOXCIS
Copy link

NOXCIS commented Aug 6, 2021

I don't know what I may or may not be doing wrong but no matter what I try I cannot get wg-api to connect to wg-gen-web. The Api logs show 2021/08/06 19:10:47 info: server: listening on http://172.17.0.1:8182
and wg-gen-web is configured correctly with auto restart

@NOXCIS
Copy link
Author

NOXCIS commented Aug 6, 2021

Status api integration

@NOXCIS NOXCIS changed the title What-api will not connect status intigration api will not connect Aug 6, 2021
@UpworksTeam
Copy link

@NOXCIS You should add addition entire in
wg-gen-web:
........
environment:
......
- WG_STATS_API=http://172.17.0.1:8182

@horatiu-udrea
Copy link

For me it was the firewall on the host, had to allow the port through it.

@rahmadsandy
Copy link

same issue, but only table wireguard client status can't showing anything
image

@NOXCIS
Copy link
Author

NOXCIS commented Jan 22, 2022

The api integration hasn't worked since last year.

@rahmadsandy
Copy link

from my side totally fixed

missed pointing URL API from docker side

@TheOriginalXman
Copy link

For me it was the firewall on the host, had to allow the port through it.

What is the command you used to open up the port inside the host?

@horatiu-udrea
Copy link

@TheOriginalXman probably sudo ufw allow <port>, because I have an Ubuntu OS and use ufw for managing the firewall.

@TheOriginalXman
Copy link

@TheOriginalXman probably sudo ufw allow <port>, because I have an Ubuntu OS and use ufw for managing the firewall.

I see, I thought it would have been in the gen-web environment, and wasn't able to figure out the commands for that.

Thanks!

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

5 participants