An Azure service that provides streamlined full-stack web app development.
Azure Static Web App began getting a server error due to Python 3.6 not being supported in WebJobs.Script.Workers
I published a next.js website as an azure static web app and it was working fine. Recently I have been getting a Server Error: There was an unexpected error in the request processing when trying to access the site. I am not exactly sure which commit started this because the Github actions have been working. Application insights gives me the following error: There was an unexpected error in the request processing. Exception Properties || || |Event time|4/25/2023, 9:55:26.2197906 AM (Local time)|| |Message|Version 3.6 is not supported for language python|| |Exception type|System.NotSupportedException|| |Failed method|Microsoft.Azure.WebJobs.Script.Workers.Rpc.RpcWorkerDescription.ValidateRuntimeVersion|| |Problem Id|System.NotSupportedException at Microsoft.Azure.WebJobs.Script.Workers.Rpc.RpcWorkerDescription.ValidateRuntimeVersion|| |Assembly|Microsoft.Azure.WebJobs.Script, Version=4.17.0.0, Culture=neutral, PublicKeyToken=null| Call Stack
System.NotSupportedException:
at Microsoft.Azure.WebJobs.Script.Workers.Rpc.RpcWorkerDescription.ValidateRuntimeVersion (Microsoft.Azure.WebJobs.Script, Version=4.17.0.0, Culture=neutral, PublicKeyToken=null: /src/azure-functions-host/src/WebJobs.Script/Workers/Rpc/RpcWorkerDescription.cs:156)
at Microsoft.Azure.WebJobs.Script.Workers.Rpc.RpcWorkerDescription.ValidateDefaultWorkerPathFormatters (Microsoft.Azure.WebJobs.Script, Version=4.17.0.0, Culture=neutral, PublicKeyToken=null: /src/azure-functions-host/src/WebJobs.Script/Workers/Rpc/RpcWorkerDescription.cs:132)
at Microsoft.Azure.WebJobs.Script.Workers.Rpc.RpcWorkerDescription.FormatWorkerPathIfNeeded (Microsoft.Azure.WebJobs.Script, Version=4.17.0.0, Culture=neutral, PublicKeyToken=null: /src/azure-functions-host/src/WebJobs.Script/Workers/Rpc/RpcWorkerDescription.cs:205)
at Microsoft.Azure.WebJobs.Script.Workers.Rpc.RpcWorkerConfigFactory.AddProvider (Microsoft.Azure.WebJobs.Script, Version=4.17.0.0, Culture=neutral, PublicKeyToken=null: /src/azure-functions-host/src/WebJobs.Script/Workers/Rpc/Configuration/RpcWorkerConfigFactory.cs:156)
I don't use any azure functions from the site, I call an azure function for to send emails from the contact form, I don't use python either.... So if anyone has any clues to solving this I would be very grateful, I am considering moving the site to vercel.