netmaker icon indicating copy to clipboard operation
netmaker copied to clipboard

[Need Help] I can't open the WebGUI

Open LxnChan opened this issue 4 years ago • 4 comments

I install netmaker on my server, but I can't open WebGUI. It prompts me ERR_SSL_PROTOCOL_ERROR. I guess may the problem of certs. Open http://[IP]:443 in directly is the same problem too.

Install method: nm-quick.sh Version: Latest

How to delete or disable ssl?

LxnChan avatar Feb 16 '22 04:02 LxnChan

Hello, did you solve it?

I have the same problem and I don't know how to solve it.

SmileEye avatar Mar 29 '22 03:03 SmileEye

@LxnChan @SmileEye the latest version uses Traefik as a proxy which may help with this issue. Are you still experiencing the problem?

afeiszli avatar Jul 28 '22 16:07 afeiszli

@SmileEye @afeiszli I didn't have this problem when I use a non-mainland China server, probably because it couldn't connect to some APIs in the Mainland China and couldn't apply for a SSL certificate.

@afeiszli By the way does Netmaker (when deployed with Docker) download some files from github or elsewhere during configuration (besides the Docker image itself)? Due to the poor network environment in mainland China, it may not be possible to access some APIs or (required download from web) files in non-mainland China regions.

LxnChan avatar Jul 29 '22 11:07 LxnChan

If you use the nm-quick script, then yes it will download some files from GitHub, including the docker-compose and the mosquitto.conf file.

As far as accessing APIs, LetsEnncrypt is probably the issue here. I am guessing in China it might be necessary to provide your own certificates for the proxy.

Finally, during runtime, both the netclient and netmaker need to reach out to an API to determine their public IP address. We have known this is an issue in China for some time, and have open PR's so that you can specify your own public IP service: #1432 #1426

afeiszli avatar Jul 29 '22 11:07 afeiszli

@afeiszli @LxnChan Thank you for your help, it has been solved, it may be related to my use of cloud servers in mainland China, I changed to an overseas server and it worked.

SmileEye avatar Sep 19 '22 12:09 SmileEye