Azure function process ends with no reason

Romain Toma 26 Reputation points
2021-04-26T09:13:30.987+00:00

Hello,

We have processes that need to be run in the background, so we chose Azure functions for that.

However, our processes are interrupted randomly, at different times of processing (sometimes 30%, sometimes 70%, sometimes the process ends without problem ...) and we have no errors returned by Azure functions (this does not not seem to be a timeout problem). The same process launched synchronously works perfectly and our error management for this process is complete (if it came from the process, it would appear in our logs).

Is there any way to find out what's going on with Azure Function?

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,029 questions
{count} votes

Accepted answer
  1. JayaC-MSFT 5,531 Reputation points
    2021-04-29T15:22:06.477+00:00

    Hello @Romain Toma , Thank you for providing details over the private session. After initial analysis I have found couple of errors while processing messages ( function : document extract import) :

    Could not process message right now, avoiding automatic Complete() call.  info=InvalidArgument  
    
    Timeout value of 00:05:00 was exceeded by function  
    
     Value cannot be null.  
    Parameter name: source  
    

    Also, I don't see any host.json file , there are High CPU issue. Your application is running on consumption plan. Please consider if the resources are enough for your requirement. Otherwise, you can always upgrade to a better plan.

    Please check if there is any issue with the incoming messages or if any property is missing. For the timeout issue , you can increase it to 10 mins (maximum) and see if that helps.

    However, if you need application specific assistance and needs dedicated troubleshooting. Hence I would request you to open a support ticket with Microsoft Support if you have a subscription which allows you to do so. Otherwise , you can send an email with subject line “Attn:Jaya” to AzCommunity[at]Microsoft[dot]com referencing this thread along with the subscription id.

    If you think this answer helped please "Accept the answer" and "Up-vote" so that it helps others in the community.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.