demo-consul-service-mesh icon indicating copy to clipboard operation
demo-consul-service-mesh copied to clipboard

Getting invalid config key "Expose"

Open scshitole opened this issue 5 years ago • 1 comments

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"

)

scshitole avatar Feb 26 '20 23:02 scshitole

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.

dschulten avatar Jul 19 '20 09:07 dschulten