Azure time triggered function fails to deploy with ServiceUnavailable

Jonathan Nightingale 21 Reputation points
2020-06-20T13:10:22.82+00:00

Hi,

I have a fairly simple Azure Function that is triggered on a cron schedule, and has been working fine for months.

A few days ago I made a few simple changes and tested locally that it was working, then did a deploy through the VS code plugin.

Most of the stages went through fine e.g. the pip package install including a 'deployment successful' message. However it then failed 'syncing triggers':

13:53:35 Grafham-flag: Deployment successful.
13:53:47 Grafham-flag: Syncing triggers...
13:53:52 Grafham-flag: Syncing triggers (Attempt 2/6)...
13:54:03 Grafham-flag: Syncing triggers (Attempt 3/6)...
13:54:23 Grafham-flag: Syncing triggers (Attempt 4/6)...
13:55:04 Grafham-flag: Syncing triggers (Attempt 5/6)...
13:56:24 Grafham-flag: Syncing triggers (Attempt 6/6)...
13:56:25: Error: Encountered an error (ServiceUnavailable) from host runtime.

I did change the schedule, but only trivially, extending the hour range, and the error sounds like something is down on the azure side - but I've tried this a few times now yesterday with the same result.

Thanks,
Jon

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

Accepted answer
  1. Mike Urnun 9,816 Reputation points Microsoft Employee
    2020-06-23T07:42:28.193+00:00

    Hello @JonathanNightingale-6290

    This appears to be known issue with VS extension, re: unable to deploy python app from VS code extension - ServiceUnavailable

    If you're continuing to encounter this issue in your subsequent deployment attempts, we recommend opening a support case and working with a support engineer who has a deeper insight into your environment. If your subscription doesn't carry a support plan, we're able to grant you one (free of charge) for resolving this issue. If you'd like to opt for this, please send us an email at azcommunity at Microsoft dotcom and we'd be happy to help :)

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

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.