Closed napat1412 closed 5 years ago
The problem is the incorrect configuration. In file CONFIG_DIR/config.toml, variable: database in [pdns.geoip] is "/home/user/geoip/GeoLite2-Country.mmdb" but it's wrong path. User must change the variable: database to correct path.
Old configuration
[pdns.geoip]
default = "5.6.7.8"
database = "/home/user/geoip/GeoLite2-Country.mmdb"
New configuration
[pdns.geoip]
default = "5.6.7.8"
database = "/home/user/test-data/GeoLite2-Country_20180206/GeoLite2-Country.mmdb"
What happened: I build docker: Registration Server: dbtype=sqlite (wot.service.local, os: centos 7) and run pagekite client for service: https (c.wot.service.local, os: centos 7). I can access service: https through https://c.wot.service.local but i cannot /subscribe c.wot.service.local to Registration Server.
What you expected to happen: I can use /subscribe & /reclaim for new device registration
How to reproduce it (as minimally and precisely as possible):
systemctl start nginx (run at port 80 & set confugration-file )
docker run --name wot -d -v /opt/docker-run/registration_server/data:/home/user/data -v /opt/docker-run/registration_server/config:/home/user/config -p 81:81 -p 444:4444 -p 443:4443 -p 53:53 -p 53:53/udp local/registration_server:0.1
netstat -tna | grep LISTEN
I run nginx:https and pagekite client.
$ docker restart wot $ docker logs -f wot
Now i can access https://c.wot.service.local $ curl -k https://c.wot.service.local
$ docker logs -f wot
$ docker logs -f wot
$ docker logs -f wot
What is the problem? about registration server configuration or subscribe method.
*Note: edit 1: add curl command for json data