DavidAJohn / FotoStorioMicroservices

.NET application built using a microservice architecture with Docker containers. Includes a Blazor WebAssembly e-commerce store with Stripe Elements payment integration.
23 stars 4 forks source link

Health Checks failing & missing icons #20

Closed DavidAJohn closed 5 months ago

DavidAJohn commented 6 months ago

There are a couple of unrelated issues with the Application Status project which uses the built-in .NET health checks generated by each project:

  1. There is a cosmetic issue where a particular font isn't being loaded after the update to .NET 8. It appears to be a relatively simple fix involving the webpack config. There is an open issue containing a PR waiting for the contributor to agree to the CLA. I'll leave it for now as this isn't vital. It's just to show the icons in the UI.
  2. The projects that have been updated to .NET 8 are all showing as being down (when they are not). Is it related to the default port changing to 8080 from 80? Microsoft's docs on Health Checks are here
DavidAJohn commented 6 months ago

As I suspected, the second problem was caused by the .NET 8 Docker images defaulting to port 8080.

The docker compose override file now needs to explicitly declare the 8080 port number as part of its internal url within the Application Status environment variables, as detailed in this commit: 5c171c0033389e6bfff209248762ea583407cd28

I'll leave this open for now, to see what happens with the missing font.

DavidAJohn commented 5 months ago

There hasn't been any progress with an updated version of the Health Checks UI, so I'm reverting back to v7 for the time being.