Hubs-Foundation / hubs-compose

Local development setup for Hubs
Mozilla Public License 2.0
44 stars 37 forks source link

Fix unhealthy Dialog status #10

Closed bryanenders closed 1 year ago

bryanenders commented 1 year ago

Why

The public /meta path from Dialog is being used as a health-check. When that path was removed from Dialog the health-check broke.

What

bryanenders commented 1 year ago

That endpoint still exists in Dialog: https://github.com/mozilla/dialog/blob/1dfd526ffe68e2052b6d73416be3d53450e23920/index.js#L191-L198

The problem might be that by default the port is 7000 unless the the port is changed here: https://github.com/mozilla/dialog/blob/1dfd526ffe68e2052b6d73416be3d53450e23920/config.js#L35

Just changing 4443 here for 7000 should fix the health check issue.

Thanks! You are absolutely right. My Express is rusty.