jolly-london-20127
05/18/2022, 5:43 PM[netclient] 2022-05-18 18:47:59 joining testnetwork at
[netclient] 2022-05-18 18:47:59 unable to authenticate: Post "https:///api/nodes/adm/testnetwork/authenticate": http: no Host in request URL
The decoded string (from access token) gives:
{
"server": "",
"apiconnstring": "",
"network": "testnetwork",
"key": "87bd33af12e542f0",
"localrange": ""
}
Is this a known bug in 0.14 or did I forget to put some info somewhere ?
My YAML configuration file if that can help, is (modified):
server:
host: netmaker.test.net
apiport: "8081"
masterkey: "this-is-not-secret"
allowedorigin: "*"
restbackend: true
agentbackend: true
dnsmode: "off"
rce: "on"
telemetry: "off"
mqhost: 127.0.0.1
SERVER_NAME: "broker.NETMAKER_BASE_DOMAIN"
SERVER_HOST: "SERVER_PUBLIC_IP"
SERVER_API_CONN_STRING: "api.NETMAKER_BASE_DOMAIN:443"
COREDNS_ADDR: "SERVER_PUBLIC_IP"
SERVER_HTTP_HOST: "api.NETMAKER_BASE_DOMAIN"
need to add these values to config, but it's in yaml config, not docker-composeserver:
server: broker.domain
host: netmaker.test.net
apihost: api.domain
apiconn: api.domain:port
apiport: "8081"
masterkey: "this-is-not-secret"
allowedorigin: "*"
restbackend: true
agentbackend: true
dnsmode: "off"
rce: "on"
telemetry: "off"
mqhost: 127.0.0.1
missing values were server, apihost, apiconn. Now it works after restarting server and regenerating a tokenbored-island-21407
05/18/2022, 5:56 PM