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

nomad operator debug: Consul API calls fail when using https address #10081

Closed
davemay99 opened this issue Feb 24, 2021 · 1 comment · Fixed by #10082
Closed

nomad operator debug: Consul API calls fail when using https address #10081

davemay99 opened this issue Feb 24, 2021 · 1 comment · Fixed by #10082
Labels
stage/accepted Confirmed, and intend to work on. No timeline committment though. theme/cli type/bug

Comments

@davemay99
Copy link
Contributor

Nomad version

Nomad v1.0.4+ent (72adb9f)

Issue

When an https address is specified for Consul nomad operator debug mangles the URL.

Reproduction steps

operator debug -consul-http-addr=https://127.0.0.1:8500 -duration=5s -output=ssltest
cat ssltest/nomad-debug-*/version/consul-agent-members.json

Expected result

JSON output from the Consul API

Actual result

{"Error":"Get \"http://https//127.0.0.1:8500/v1/agent/members\": dial tcp: lookup https: no such host"}
@shoenig shoenig added theme/cli type/bug stage/accepted Confirmed, and intend to work on. No timeline committment though. labels Feb 24, 2021
@github-actions
Copy link

I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 22, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
stage/accepted Confirmed, and intend to work on. No timeline committment though. theme/cli type/bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants