Server Deploy with Consul Support

I am trying to start up the Waypoint Server with

export NOMAD_ADDR='http://x.x.x.x:4646'
waypoint install -platform=nomad -accept-tos -nomad-consul-service=true -nomad-runner-host-volume=hvolume -nomad-host-volume=hvolume -nomad-dc=us-west1-c -nomad-consul-datacenter=us-west1

However its gets always hits this error.

What do I need to fix to get it to connect?

Hey @moses, I’ve run into this issue before when I’ve had DNS issues on my machine. In that scenario, the machine on which I was running waypoint install did not have DNS properly configured for lookups on hostnames in the .consul domain. I’m not sure if that’s the case here, but it appears that for some reason or another, your machine couldn’t connect to the server at the address waypoint-ui.service.us-west1.consul.

You could also attempt to run waypoint server bootstrap to bootstrap your new server and set the server address to an address which your machine can access, so long as it routes to the Waypoint server. This can be done with the -server-addr flag.

Hi @paladin-devops, you would not believe that I just ran the command twice and all was well.

Thanks for your help.

1 Like