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

Can't connect to https consul endpoint #277

Open
dibyajyotiron opened this issue Apr 5, 2020 · 0 comments
Open

Can't connect to https consul endpoint #277

dibyajyotiron opened this issue Apr 5, 2020 · 0 comments

Comments

@dibyajyotiron
Copy link

Consul version:

  • v1.7.1

Consul-alerts version:

  • Consul Alerts 0.5.0

What's happening:

  • When I make a request to https consul server it just simply appends http:// before https://, in the logs I can see this INFO[0000] Waiting for consul: Get http://https:%2F%2Fx.x.x.x:8501/v1/status/leader?dc=x_x&token=x-x-x-x: invalid URL port "//x.x.x.x:8501"
  • Since http is disabled on consul, if I query to http api, I get this response : INFO[0000] Waiting for consul: Unexpected response code: 400 (Client sent an HTTP request to an HTTPS server.)

Desired behavior:

  • It should be able to query https api endpoint and monitor changes.
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

1 participant