Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error consul: kv.get: moved permanently #164

Open
aroca opened this issue Oct 19, 2017 · 2 comments
Open

Error consul: kv.get: moved permanently #164

aroca opened this issue Oct 19, 2017 · 2 comments

Comments

@aroca
Copy link

aroca commented Oct 19, 2017

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
Copy link
Author

aroca commented Oct 20, 2017

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!

@jensendw
Copy link

jensendw commented Jun 1, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants