Closed Langstra closed 7 years ago
Please try HTTP protocol (stop redirection to HTTPS) and tell us if it is better.
That definitely did the trick. Many thanks. Later I will look into this and see if we can use https as well.
Wifidog can deal with HTTPS. Please have a look to wifidog-gateway to learn how to do it: https://github.com/wifidog/wifidog-gateway
i got similar error openwrt v19.07 and wifidog v1.3.1-4 if i use config HTTPS SSLAvailable yes the error occurred. This error must be fix . Please wifidog developers or other groups fix this issue.
AuthServer {
Hostname wan.cloudwifizone.com
HTTPPort 80
SSLAvailable yes
Path /
}
After setting up fbwlan on my server (shared hosting) and installing and configuring Wifidog, the captive portal worked and my requests were intercepted. I get redirected to the fbwlan page, I enter the access code and press to connect. Then I am redirect back to http://192.168.1.1:2060/wifidog/auth?token=a352c1d3d98f33e0ab7a0209540279d8bb6c5ad0 and the following message appears.
Error: We did not get a valid answer from the central server
I then started Wifidog with
wifidog -f -d 7
to get all the debugging. I found the following things that are of interest, but I am unsure where the problem lies. Could you help with this? I am interested in the techniques as well and would like to add some functionality later as well.Maybe useful to know, the webserver uses https and I tried both wifidog configurations with sslavailable true and false.