Skip to content

Function app return 404 on first call after long time of idle. #7522

@psyblade12

Description

@psyblade12

I have a simple function that just connect to CosmosDB and return value. My code is written in python and I am using Linux consumption plan.

Region: Southeast Asia.

I don't have application insight enable so that I have no other information. If you need my function name, I will send it to you by personal message. Or please teach me other way to get the Function ID without application insight.

Steps to reproduce the issue:

  1. Let Azure Functions be idle for a long time.
  2. Call a function.

Actual behavior: Azure Function return 404 on the first calls, but the following calls are successful.
Expected behavior: Azure Function should hold the connection, waiting for the functions to be prepared. After that it should return the result.

image

Other note: Even I called the function 7 times (2 failed and 5 successful), the Azure Function metric just shows that I called it 5 times.

image

Actually I think the problem is similar to #7451 , but balag0 at the page told me to make a separate page, so that I made it here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions