nicholasjackson / demo-consul-service-mesh

Demos built using Docker Compose showing Consul Service Mesh features
145 stars 50 forks source link

Getting invalid config key "Expose" #10

Open scshitole opened 4 years ago

scshitole commented 4 years ago

I am getting this error Bad request, I uncommented in the docker-compose and ran this command ?

pwd
demo-consul-service-mesh/traffic_routing/central_config
SJC-ML-00028512:central_config shitole$ consul config write payments-defaults.hcl 
Error writing config entry "service-defaults" / "payments": Unexpected response code: 400 (Bad request: Request decoding failed: 1 error occurred:
    * invalid config key "Expose"

)
dschulten commented 4 years ago

This is caused by a version mismatch between the consul version used by the examples and the consul cli version. Use the older consul cli Version 1.6.0 when working with Nicholas' examples.