dotnet / dotnet/aspnetcore

Opt-in feature to restart ANCM on 500.31 error

Open
#29,858 3 comments 0 reactions 0 assignees View on GitHub
area-networking
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 6h
Merged PRs (30d)
290

Description

There are many times when shared hosting environments hit scnearios where they deploy a new version of the dotnet runtime and apps restart during that time. In that timeframe, apps may hit a 500.31 error because the entire dotnet framework isn't placed yet.

We recently added a feature to ANCM which makes it restart after hitting a startup timeout failure. We can do the same thing for error pages that include a response code of 500.31. We can also add a 60 second timeout before restart to avoid rapid failure (app starting too many times in a certain time frame) and CPU usage.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.