question

KS-Sharath avatar image
0 Votes"
KS-Sharath asked MayankBargali-MSFT edited

FunctionApp failed with error: The service is unavailable.

Function app deployed failed to start with an error:

Call to provided Azure function 'function name' failed with status-'ServiceUnavailable' and message - 'The service is unavailable.'.

I am not sure of the reason for this, but it happened on production resource group and caused major impact on business.
This error is very intermittent. I am looking for some permanent solution to fix this.

azure-functions
· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@KS-Sharath 503 service unavailable would cause due to multiple reasons. Have you looked into application insights logs and see how much time it is taking for your function to get executed? This would needs to be troubleshoot from your function app end. Please response to my private comment to share more details.

0 Votes 0 ·

I don't see any logs in function app, if it gets triggered I could see some messages but it failed to call function app so nothing logged. On that day I see only one invocation which happened when I manually run the function app

0 Votes 0 ·

@KS-Sharath It would not be possible to find the root cause without looking into the logs as there can be multiple reasons for service unavailable issue. If you are still facing the issue then I will suggest you to reach out to us with the details as requested in my private comment so I can assist you further.

0 Votes 0 ·

0 Answers