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

/health endpoint not working #18

Open
davidsayers opened this issue Jan 6, 2016 · 3 comments
Open

/health endpoint not working #18

davidsayers opened this issue Jan 6, 2016 · 3 comments

Comments

@davidsayers
Copy link

The http://0.0.0.0:4000/health endpoint is not working in the latest version.

I guess it is less important since /events is used instead of a subscription with newer versions of marathon. However it would be nice to know about the health of the container. This would match mesos-consul which had a health check added.

@bwhaley
Copy link

bwhaley commented Apr 13, 2016

+1 In fact I'm seeing that the port is never opened. --listen has no effect.

@rrichardson
Copy link

I see the same issue. Anyone find a solution to this?

@rrichardson
Copy link

It looks like the issue is here:
https://github.com/CiscoCloud/marathon-consul/blob/master/main.go#L52-L57

If it connects to a modern marathon, it won't set up the request handler.

I guess it should do both no matter what, not if/else

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

3 participants