When you register a health check together with a service in consul the health check gets an id of service:name-node-port. Fabio currently relies on the service: prefix to tell service checks from node and maintenance checks but this is not reliable since you can register health checks for services separately and there you can specify your own check id.
If your service does not show up in fabio although you have a passing health check verify that the check id starts with service: until this is fixed. Run curl localhost:8500/v1/health/state/any to see all health checks.
When you register a health check together with a service in consul the health check gets an id of
service:name-node-port. Fabio currently relies on theservice:prefix to tell service checks from node and maintenance checks but this is not reliable since you can register health checks for services separately and there you can specify your own check id.If your service does not show up in fabio although you have a passing health check verify that the check id starts with
service:until this is fixed. Runcurl localhost:8500/v1/health/state/anyto see all health checks.