You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am first trying out marathon-consul (Thanks for writing this BTW) and all is working great except that I can not seem to get health checks copied from Marathon to Consul.
I have a very simple marathon app with 1 defined health check. The apps gets properly registered in Consul but the health check does not make it over. I was hoping you could point me in the right direction to look at things
@tokenrain Thanks for reporting. From your logs it looks like it's a problem with empty path.
For quick fix I recommend setting health check path to /.
The real fix for this is easy. If health check path is empty then we should replace it with /. This should take place just before parsing the path in consul/consul.go. Would you like to prepare fix for it? I'll be happy to merge it.
Adding the Path on my end did indeed fix this. Thanks! - I have submitted a pull request. As I have never written a line of Go yet please feel free to make any fixes that are needed.
I am first trying out marathon-consul (Thanks for writing this BTW) and all is working great except that I can not seem to get health checks copied from Marathon to Consul.
I have a very simple marathon app with 1 defined health check. The apps gets properly registered in Consul but the health check does not make it over. I was hoping you could point me in the right direction to look at things
Here is the health check in Marathon
Here is the logs from marathon-consul.log
The text was updated successfully, but these errors were encountered: