Please, fill the following sections to help us fix the issue
What happened: When deploying to an Azure App Service (running Linux), the UI will report "IPv4 address 0.0.0.0 and IPv6 address ::0 are unspecified addresses that cannot be used as a target address. (Parameter 'hostName') ([::]:8080)"
What you expected to happen: The UI reports a healthy service
How to reproduce it (as minimally and precisely as possible): Deploy to Azure App Service, using code below
Source code sample:
services.AddHealthChecks().AddNpgSql(configuration.GetConnectionString("Default") ?? throw new ArgumentNullException("Default ConnectionString not found", (Exception?)null));
services.AddHealthChecksUI(options =>
{
options.SetEvaluationTimeInSeconds(10);
options.MaximumHistoryEntriesPerEndpoint(60);
options.SetApiMaxActiveRequests(1);
options.AddHealthCheckEndpoint("Application Core", "/healthz");
}).AddInMemoryStorage();
Anything else we need to know?:
Environment:
.NET Core version: 7
Healthchecks version
Npgsql: 7.1.0
UI: 7.0.2
UI.Client: 7.1.0
UI.InMemoryStorage: 7.0.0
Please, fill the following sections to help us fix the issue
What happened: When deploying to an Azure App Service (running Linux), the UI will report "IPv4 address 0.0.0.0 and IPv6 address ::0 are unspecified addresses that cannot be used as a target address. (Parameter 'hostName') ([::]:8080)"
What you expected to happen: The UI reports a healthy service
How to reproduce it (as minimally and precisely as possible): Deploy to Azure App Service, using code below
Source code sample:
Anything else we need to know?:
Environment: