Skip to content
This repository has been archived by the owner on Jun 20, 2019. It is now read-only.

Graceful shutdown is not working in Azure App Service #95

Closed
wimex opened this issue Apr 26, 2017 · 2 comments
Closed

Graceful shutdown is not working in Azure App Service #95

wimex opened this issue Apr 26, 2017 · 2 comments

Comments

@wimex
Copy link

wimex commented Apr 26, 2017

Currently, it's impossible to gracefully shutdown a .NET Core based App Service in Azure. Whenever the stop button is clicked (or the application unloads itself or detects the app_offline.htm) the process gets killed with an error (visible under the Application Events area): Failed to gracefully shutdown process ''. This is true for the most basic template (created with dotnet new).

The .NET version seems to be up to date, but I'm not 100% sure:

> dotnet --version
1.0.1

> dotnet --info
.NET Command Line Tools (1.0.1)

Product Information:
 Version:            1.0.1
 Commit SHA-1 hash:  005db40cd1

Runtime Environment:
 OS Name:     Windows
 OS Version:  6.2.9200
 OS Platform: Windows
 RID:         win8-x86
 Base Path:   D:\Program Files (x86)\dotnet\sdk\1.0.1
@wimex wimex changed the title Graceful shutdown not working in Azure App Service Graceful shutdown is not working in Azure App Service Apr 26, 2017
@shirhatti
Copy link
Contributor

Acknowledging this issue. We're working with folks on Azure App Service to resolve this.

@shirhatti
Copy link
Contributor

Fixed with #118

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

No branches or pull requests

2 participants