wg-gen-web icon indicating copy to clipboard operation
wg-gen-web copied to clipboard

status intigration api will not connect

Open NOXCIS opened this issue 3 years ago • 9 comments

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 avatar Aug 06 '21 19:08 NOXCIS

Status api integration

NOXCIS avatar Aug 06 '21 19:08 NOXCIS

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

UpworksTeam avatar Sep 24 '21 16:09 UpworksTeam

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

horatiu-udrea avatar Oct 17 '21 19:10 horatiu-udrea

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

rahmadsandy avatar Dec 01 '21 10:12 rahmadsandy

The api integration hasn't worked since last year.

NOXCIS avatar Jan 22 '22 18:01 NOXCIS

from my side totally fixed

missed pointing URL API from docker side

rahmadsandy avatar Jan 24 '22 00:01 rahmadsandy

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?

TheOriginalXman avatar Mar 26 '22 10:03 TheOriginalXman

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

horatiu-udrea avatar Mar 26 '22 18:03 horatiu-udrea

@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!

TheOriginalXman avatar Mar 27 '22 05:03 TheOriginalXman