Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Azure App Service error with Addressing on Health Check UI #2054

Open
jameswoodley opened this issue Oct 10, 2023 · 3 comments
Open

Azure App Service error with Addressing on Health Check UI #2054

jameswoodley opened this issue Oct 10, 2023 · 3 comments
Labels

Comments

@jameswoodley
Copy link

jameswoodley commented Oct 10, 2023

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
  • Operative system: Linux
  • Others: Azure App Service
@sungam3r sungam3r added the UI label Dec 3, 2023
@ahmed-abdelrazek
Copy link

same issue with .net 8 and AspNetCore.HealthChecks.UI" Version="8.0.0"

@ricardoschroeder
Copy link

Same here. Any updates?

@xDaevax
Copy link

xDaevax commented Aug 21, 2024

Confirmed still an issue with .NET 8
Seems related to #410 when hosting in Azure App Service on Linux

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants