Azure / Azure/azure-functions-host
Random errors across every single Python HttpTrigger Azure Function in Function App
- Dominant language
- C#
- Stars
- 2k
- Forks
- 482
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 38
Description
We have started encountering random, intermittent errors across every single one of our HttpTrigger Azure Functions which are coded in Python. The log streaming service shows only this vague Exception when the issue occurs while executing a given function:
Functions.. Microsoft.Azure.WebJobs.Script: .
In looking at the logs under Monitoring, I was able to dig out this call stack:
```
Microsoft.Azure.WebJobs.Host.FunctionInvocationException : Exception while executing function: Functions. ---> System.ApplicationException
at async Microsoft.Azure.WebJobs.Script.Description.ScriptFunctionInvoker.ExecuteScriptAsync(String path,String arguments,Object[] invocationParameters,FunctionInvocationContext context) at C:\\azure-webjobs-sdk-script\\src\\WebJobs.Script\\Description\\Script\\ScriptFunctionInvoker.cs : 0
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at async Microsoft.Azure.WebJobs.Script.Description.ScriptFunctionInvoker.InvokeCore(Object[] parameters,FunctionInvocationContext context) at C:\\azure-webjobs-sdk-script\\src\\WebJobs.Script\\Description\\Script\\ScriptFunctionInvoker.cs : 55
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at async Microsoft.Azure.WebJobs.Script.Description.FunctionInvokerBase.Invoke(Object[] parameters) at C:\\azure-webjobs-sdk-script\\src\\WebJobs.Script\\Description\\FunctionInvokerBase.cs : 171
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at async Microsoft.Azure.WebJobs.Host.Executors.FunctionInvoker`1.InvokeAsync[TReflected](Object[] arguments)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at async Microsoft.Azure.WebJobs.Host.Executors.FunctionExecutor.InvokeAsync(IFunctionInvoker invoker,ParameterHelper parameterHelper,CancellationTokenSource timeoutTokenSource,CancellationTokenSource functionCancellationTokenSource,Boolean throwOnTimeout,TimeSpan timerInterval,IFunctionInstance instance)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at async Microsoft.Azure.WebJobs.Host.Executors.FunctionExecutor.ExecuteWithWatchersAsync(IFunctionInstance instance,ParameterHelper parameterHelper,TraceWriter traceWriter,ILogger logger,CancellationTokenSource functionCancellationTokenSource)
at System.Runtime.Exception…
```
Contributor guide
Assessment
This issue has not been assessed yet.