You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running vault-server docker image and consul-client image on the same machine and trying to connect to consul-server through consul client.(consul client is able to talk to consul server) Vault.hcl
ui = true
listener "tcp" {
address = "0.0.0.0:8200"
cluster_address = "111.111.111.111:8201"
tls_disable = "true"
}
storage "consul" {
address = "127.0.0.1:8500"
path = "vault/"
scheme = "https"
}
api_addr = "http://111.111.111.111:8200"
cluster_addr = "https://111.111.111.111:8201"
I'm running vault-server docker image and consul-client image on the same machine and trying to connect to consul-server through consul client.(consul client is able to talk to consul server)
Vault.hcl
ui = true
listener "tcp" {
address = "0.0.0.0:8200"
cluster_address = "111.111.111.111:8201"
tls_disable = "true"
}
storage "consul" {
address = "127.0.0.1:8500"
path = "vault/"
scheme = "https"
}
api_addr = "http://111.111.111.111:8200"
cluster_addr = "https://111.111.111.111:8201"
Consul Client config.json
{
"server": false,
"bind_addr": "111.111.111.111",
"client_addr":"127.0.0.1",
"datacenter": "IPC2",
"encrypt": "2um/Jn8NI0gTTPyk)8GY7g==",
"log_level": "INFO",
"node_name": "consul_c1_vault_50514",
"enable_debug": true,
"retry_join": ["50504.abc.xyz.com","50505.abc.xyz.com","50506.abc.xyz.com"],
"ca_file": "/consul/config/ssl/ca-bundle.crt",
"cert_file": "/consul/config/ssl/consul-cert.pem",
"key_file": "/consul/config/ssl/consul-key.key",
"verify_incoming": true,
"verify_outgoing": true,
"ports": {
"http": 8500,
"https": 8501
}
}
Error Log
2018-06-28T23:28:53.679Z [WARN ] storage.consul: reconcile unable to talk with Consul backend: error="service registration failed: Put https://127.0.0.1:8500/v1/agent/service/register: http: server gave HTTP response to HTTPS client"
2018-06-28T23:28:54.659Z [WARN ] storage.consul: check unable to talk with Consul backend: error="Put https://127.0.0.1:8500/v1/agent/check/fail/vault:10.17.82.222:8200:vault-sealed-check?note=Vault+Sealed: http: server gave HTTP response to HTTPS client"
2018-06-28T23:28:54.681Z [WARN ] storage.consul: reconcile unable to talk with Consul backend: error="service registration failed: Put https://127.0.0.1:8500/v1/agent/service/register: http: server gave HTTP response to HTTPS client"
2018-06-28T23:28:55.660Z [WARN ] storage.consul: check unable to talk with Consul backend: error="Put https://127.0.0.1:8500/v1/agent/check/fail/vault:10.17.82.222:8200:vault-sealed-check?note=Vault+Sealed: http: server gave HTTP response to HTTPS client"
The text was updated successfully, but these errors were encountered: