How do I diagnose 503 - Function host is not running (static web apps integrated functions)

Mike Harper 1 Reputation point
2021-08-25T12:52:00.62+00:00

I have a static web app with C# integrated functions. Everything runs fine locally using the static web app CLI.

The github actions build completes and the app is published but all my functions get 503 Function host is not running responses.
I've tried turning on application insights and looking around the SWA portal but I can't find error the source anywhere

My host.json is just the standard/default:

{
    "version": "2.0",
    "logging": {
        "applicationInsights": {
            "samplingSettings": {
                "isEnabled": true,
                "excludedTypes": "Request"
            }
        }
    }
}

I'm in the dark on what is causing the deployed run time error.

Thanks

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,386 questions
Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
783 questions
{count} votes