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
It started working again. I suspect there was an issue on Azure side.
Azure Functions Linux Hosting Plan – New Http Trigger Function Published Successfully and working good from our end:
There are many reasons that cause 503 service unavailable in Azure Functions:
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.
Please refer to one of My workarounds to investigate and fix this issue.