Azure function not picking up messages from azure storage queue for 4 hours

Gesi Kadiu 0 Reputation points
2023-09-26T22:11:15.93+00:00

Hello,

I had an issue with one of my functions in Azure last Friday, which is set to fire and process any new item that's added to my Azure storage queue.
Integration

For some reason, the function wasn't triggered for around 4 hours even though several messages had come through the queue.

Queue Message Count

There were no error logs or exceptions coming from the function and neither from the queue, the function just picked up all the messages successfully after the 4-hour stoppage.

What could the issue have been here, please?

Thanks and regards,
Gesi

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,001 questions
Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
3,170 questions
Azure Queue Storage
Azure Queue Storage
An Azure service that provides messaging queues in the cloud.
105 questions
{count} votes

1 answer

Sort by: Most helpful
  1. MayankBargali-MSFT 70,451 Reputation points
    2023-09-28T10:45:59.9066667+00:00

    @Gesi Kadiu Thanks for reaching out and apology for the inconvenience due to this issue. One of the reasons that I could think about is that you have defined the maxPollingInterval in your host.json that would cause this and for more details on the polling algorithm you can refer to this document. The other reason could be cold start but cold start would not cause the delay for hours rather than few minutes. The other reasons could be the availability issue of your function app or if there are any updates that were currently ongoing that could cause this issue.

    I will suggest you to review the Diagnose and solve problems blade on your function app and check for Availability and Performance option --> Functions that are not triggering or Function App Down or Reporting Errors option along with other option to review it to get more insights on the issue.

    In case if the detector doesn't detect any issue then this would need to review the backend logs and it would be better over one on one support request. If you don't have the support plan, then please let me know so I can assist you further.

    Feel free to get back to me if you have any queries or concerns.

    0 comments No comments

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.