Azure function disappears after running for a while

Charles Huang 21 Reputation points
2023-03-20T11:59:55.9833333+00:00

Hi Azure team, recently I'm trying out Azure function app but run into weird issues where deployed function disappears after running for a short period of time, the steps to reproduce are as below:

  1. create function app "echo4"
  2. verify https://echo4.azurewebsites.net is accessible
  3. create function "echo42" using visual studio code and deploy.
  4. verify https://echo4.azurewebsites.net/api/echo42 is accessible and returns 200 with result, and in azure portal, "echo42" is visible in functions list.
  5. after certain time (not sure exactly how long, last tested was 30 mins - 45 mins)
  6. https://echo4.azurewebsites.net is still accessible, but https://echo4.azurewebsites.net/api/echo42 is not longer accessible, returning 404 when invoking https://echo4.azurewebsites.net/api/echo42
  7. navigate to azure portal, "echo42" is no longer visible

Not sure what actually causes it but it's very annoying, tried redeploying the function but after a while it disappeared again, repeated a few times but results were all the same.

Function model is v4, runtime is nodejs 18.

Any insight would be very appreciated.

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

1 answer

Sort by: Most helpful
  1. Sharon Rabinoviz 0 Reputation points
    2024-06-20T04:35:51.42+00:00

    I'm having the sam issue. I also opened a new account but it is happening there too. After the first http trigger function disappeared, I cannot open a new one from Azure portal, nor from vs code deployment. Any help?

    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.