Azure-Functions icon indicating copy to clipboard operation
Azure-Functions copied to clipboard

Functions stop working with 404

Open tymtam2 opened this issue 2 years ago • 2 comments

I have a v4 (Runtime version 4.1.3.17473) .net6 Azure functions that stop working after some period of time.

One example is a httptriggered function which starts returning 404 errors.

(I'm UTC+10h -> 4AM UTC is 2PM local on the screenshots) image image

Memory flatlines at that point: image

<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <TargetFramework>net6.0</TargetFramework>
    <AzureFunctionsVersion>v4</AzureFunctionsVersion>
    <Nullable>enable</Nullable>
  </PropertyGroup>
  <ItemGroup>
    <PackageReference Include="Azure.Messaging.EventHubs" Version="5.6.2" />
    <PackageReference Include="Microsoft.Azure.Functions.Extensions" Version="1.1.0" />
    <PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="6.0.0">
      <PrivateAssets>all</PrivateAssets>
      <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
    </PackageReference>
    <PackageReference Include="Microsoft.NET.Sdk.Functions" Version="4.0.1" /> // I'm updating this to 4.1.0 today and will report if this helps somehow :/
    <PackageReference Include="StackExchange.Redis" Version="2.2.88" />
    <PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.406">
      <PrivateAssets>all</PrivateAssets>
      <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
    </PackageReference>
  </ItemGroup>

I'm happy to provide any information needed to help find the root cause.

tymtam2 avatar Feb 28 '22 08:02 tymtam2

Thank you for the feedback, We will discuss this internally and let you know about the findings

Ved2806 avatar Mar 15 '22 13:03 Ved2806

Has anyone found the root cause of this error?

Today I got the same issue, my Azure function v2 stop working and started returning 404 error.

404 Not Found

404 Not Found


nginx

In the "Availability and Performance"->"Functions that are not triggering" tab I get this errors:

image image

mdrabic5 avatar Mar 25 '22 19:03 mdrabic5

Any update on this thread?

I had to upgrade my functions to dotnet 6 and update the sdk functions because of build agent issues. Now my functions return 404 not found.

Thanks

jdaloia1 avatar Nov 26 '22 11:11 jdaloia1