git2consul icon indicating copy to clipboard operation
git2consul copied to clipboard

Error consul: kv.get: moved permanently

Open aroca opened this issue 8 years ago • 2 comments

This is the complete error: { [Error: consul: kv.get: moved permanently] message: 'consul: kv.get: moved permanently' }

I am using the same config as the README with the same command adding the endpoint and port. I can clone the repo via git clone.

git2consul -c /tmp/git2consul.json.sample --endpoint consul.server --port 8500 { [Error: consul: kv.get: moved permanently] message: 'consul: kv.get: moved permanently' }

I am using consul 0.9.3

npm install git2consul npm WARN engine [email protected]: wanted: {"node":">= 4"} (current: {"node":"0.10.48","npm":"2.15.1"}) npm WARN engine [email protected]: wanted: {"node":">=4"} (current: {"node":"0.10.48","npm":"2.15.1"}) npm WARN engine [email protected]: wanted: {"node":">= 0.12"} (current: {"node":"0.10.48","npm":"2.15.1"}) [email protected] node_modules/git2consul ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ([email protected]) ├── [email protected] ([email protected]) ├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]) ├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]) ├── [email protected] ([email protected], [email protected]) ├── [email protected] ([email protected]) └── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])

aroca avatar Oct 19 '17 21:10 aroca

Well it seems that the problem is because of the short -c flag :S. Weird. If use --config-file it works. mmm. You can close this if you want, but it seems like a bug.

Cheers!

aroca avatar Oct 20 '17 12:10 aroca

I can confirm I'm hitting this bug with Consul 1.0.6 as well

jensendw avatar Jun 01 '18 00:06 jensendw