When nomad auto registers it self, the nomad server passes all checks. However the nomad-client is failing its http check with this error.
HTTP GET http://0.0.0.0:4646/v1/agent/health?type=client: 500 Internal Server Error Output: {"client":{"ok":false,"message":"client not enabled"}}
I think it is because it is trying a 0.0.0.0 address and not 10.10.10.4. When i curl on the cli everthing is working just fine. I can’t figure out how to make nomad register the nomad -client with the right iP.
So here is what is crazy, it is enabled and I can do the check via curl and all is well. It seems to be the service registration is registering the ip of 0.0.0.0 which will not work. Here is the client config. I did try the flag “checks_use_advertise = true”. When I did this there was no output on the health check. Yes I know there is no TLS in this config. That is part of my config, first lets get it working