Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

"HealthChecksEnabled": false fails the app #12226


User avatar
0
uenlkr4e created

Hi, when i set this property to false i start getting the following error: "HealthChecksEnabled": false in appsettings.json of the host app

** Microsoft.AspNetCore.Hosting.Diagnostics - Request reached the end of the middleware pipeline without being handled by application code. Request path: GET https://localhost:44301/health, Response status code: 404**

am i missing something here?


3 Answer(s)
  • User Avatar
    0
    m.aliozkaya created
    Support Team

    Hi @uenlkr4e,

    Could you look at these changes?

    https://github.com/aspnetzero/aspnet-zero-core/pull/5422/commits/b5d809a26f5c6d151c37b9a8c39a37a8d7d52387

  • User Avatar
    0
    uenlkr4e created

    Hi, do you not have these changes in the latest release?

    thanks

  • User Avatar
    0
    m.aliozkaya created
    Support Team

    Hi @uenlkr4e,

    These changes are included in 14.0. Until then you will need to update your app manually.