skip to Main Content

I have an existing Azure function, .NET 6, hosted on Linux, it was working up until today. Now it returns "The service is unavailable".

I tried to create a brand new Azure function – .NET 6 – Linux from the Portal and it returns the same message. On Windows hosting it works fine.

Creating a new function in Portal and failing without any other modifications is a bit worrying. Is there something broken on MS/Azure side?

2

Answers


  1. Chosen as BEST ANSWER

    It started working again. I suspect there was an issue on Azure side.


  2. Azure Functions Linux Hosting Plan – New Http Trigger Function Published Successfully and working good from our end:
    enter image description here

    There are many reasons that cause 503 service unavailable in Azure Functions:

    • Memory leak/issue from the code causing the backend server to return 503.

    When a service consumes more memory than is available under the consumption plan, it is evicted. This problem can be resolved by switching to a dedicated hosting plan. Refer here for more information.

    • Function host might be down/restarting
    • Due the deallocation/not running the backend server, there may be Platform issue.

    Please refer to one of My workarounds to investigate and fix this issue.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search