This is the pipeline for my Duende IdentityServer application. It's supposed to build then deploy to an Azure Web App:
name: Build and deploy .NET...
on:
workflow_dispatch
env:
AZURE_WEBAPP_NAME: IdpBackend
AZURE_WEBAPP_PACKAGE_PATH: src/Web/published
CONFIGURATION: Release
DOTNET_CORE_VERSION: 8.0.x
WORKING_DIRECTORY: src/Web
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET SDK
uses: actions/setup-dotnet@v3
with:
dotnet-version: ${{ env.DOTNET_CORE_VERSION }}
- name: Restore
run: dotnet restore "${{ env.WORKING_DIRECTORY }}"
- name: Build
run: dotnet build "${{ env.WORKING_DIRECTORY }}" --configuration ${{ env.CONFIGURATION }} --no-restore
- name: Test
run: dotnet test "${{ env.WORKING_DIRECTORY }}" --no-build
- name: Publish
run: dotnet publish "${{ env.WORKING_DIRECTORY }}" --configuration ${{ env.CONFIGURATION }} --no-build --output "${{ env.AZURE_WEBAPP_PACKAGE_PATH }}"
- name: Publish Artifacts
uses: actions/upload-artifact@v3
with:
name: webapp
path: ${{ env.AZURE_WEBAPP_PACKAGE_PATH }}
deploy:
runs-on: ubuntu-latest
needs: build
steps:
- name: Download artifact from build job
uses: actions/download-artifact@v3
with:
name: webapp
path: ${{ env.AZURE_WEBAPP_PACKAGE_PATH }}
- name: Deploy to Azure WebApp
uses: azure/webapps-deploy@v2
with:
app-name: ${{ env.AZURE_WEBAPP_NAME }}
publish-profile: ${{ secrets.PUBLISH_PROFILE_IDPBACKEND }}
package: ${{ env.AZURE_WEBAPP_PACKAGE_PATH }}
The pipeline is running just fine.
Successfully deployed web package to App Service.
App Service Application URL: https://idpbackend-che0a9fmbhcngdc0.eastus2-01.azurewebsites.net
However, when I try to open the page, I'm getting this error.
Your web app is running and waiting for your content
This is the log from the Azure portal:
I don't know what's going on. I'm using similar pipeline for the API, and it's working just fine.


<system.web> <applicationPool maxWorkerThreads="50" maxIoThreads="50" /> </system.web>, try this in your web.config file and check once.the heart beat running for ...which is longer than .. this could be caused by thread pool starvation, for this try to scale up your app and check.Your web app is running and waiting for your contentthis is not the error.It is the default page of Azure App Service.Make sure your files are deployed to Azure App Service.