I followed this article, but when I tried to test the function in the portal, I received an error 503 - Unavailable during the test. When manually navigating to the URL, the webpage returned stated: This Azure Functions app is down for maintenance
Host is offline.
I found that in the wwwroot folder, there was an app_offline.htm file. Not sure how it got there during the webapp deployment, but I renamed it and the function began working. You can do this by clicking Test and in the bottom pane, click the Console tab, then type "cd .." and then "ren app_offline.htm app_offline.htm.old" or you can open the App Service Editor from the Platform Features tab on the root webapp, and then right click the app_offline.htm file and click Rename
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
Hi @ioamnesia Thank you for your feedback! We will investigate and get back to you with our findings.
Hey @ioamnesia This was probably an anomaly from Azure/app-service-announcements#137. As per the instructions provided in the announcement, if this continues to be an issue, please try setting SCM_CREATE_APP_OFFLINE to 0 to turn off this behavior and try again.
No worries. I just wanted to document it so if anyone else had issues running the sample there would be a guide. Thanks
Micah Rowland
From: Mike Urnun notifications@github.com
Sent: Tuesday, October 23, 2018 5:37:53 PM
To: MicrosoftDocs/azure-docs
Cc: ioamnesia; Mention
Subject: Re: [MicrosoftDocs/azure-docs] Fixed Issue with 503 Unavailable (#17384)
Hey @ioamnesiahttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fioamnesia&data=02%7C01%7C%7C1d5c25a776d648ff951108d6392fca61%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636759274745372794&sdata=o9dSNPvcM4HF0goZtcrKgk3R8SJxA%2FrROYRk3DmSAF8%3D&reserved=0 This was probably an anomaly from Azure/app-service-announcements#137https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2Fapp-service-announcements%2Fissues%2F137&data=02%7C01%7C%7C1d5c25a776d648ff951108d6392fca61%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636759274745372794&sdata=pSmXiraSVvkd2XQu1GMnpNF%2BCi3AdeugKbEuSv5mR5Y%3D&reserved=0. As per the instructions provided in the announcement, if this continues to be an issue, please try setting SCM_CREATE_APP_OFFLINE to 0 to turn off this behavior and try again.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fissues%2F17384%23issuecomment-432429880&data=02%7C01%7C%7C1d5c25a776d648ff951108d6392fca61%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636759274745372794&sdata=Ott2rozWXBBV9pCkGw3QVr6It3t9NXBfCzHbH1o%2F2WQ%3D&reserved=0, or mute the threadhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAX7JOolAj4VpsjcxC4epQmT2h3LcH7o5ks5un4wxgaJpZM4X0oxt&data=02%7C01%7C%7C1d5c25a776d648ff951108d6392fca61%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636759274745372794&sdata=8ntASzSS0CJ7WXE1AO8XvFIbwNsJ%2FXwAOzGqLCZqDvQ%3D&reserved=0.
@ioamnesia Understood, thanks Micah!
We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.
Most helpful comment
No worries. I just wanted to document it so if anyone else had issues running the sample there would be a guide. Thanks
Micah Rowland
From: Mike Urnun notifications@github.com
Sent: Tuesday, October 23, 2018 5:37:53 PM
To: MicrosoftDocs/azure-docs
Cc: ioamnesia; Mention
Subject: Re: [MicrosoftDocs/azure-docs] Fixed Issue with 503 Unavailable (#17384)
Hey @ioamnesiahttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fioamnesia&data=02%7C01%7C%7C1d5c25a776d648ff951108d6392fca61%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636759274745372794&sdata=o9dSNPvcM4HF0goZtcrKgk3R8SJxA%2FrROYRk3DmSAF8%3D&reserved=0 This was probably an anomaly from Azure/app-service-announcements#137https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2Fapp-service-announcements%2Fissues%2F137&data=02%7C01%7C%7C1d5c25a776d648ff951108d6392fca61%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636759274745372794&sdata=pSmXiraSVvkd2XQu1GMnpNF%2BCi3AdeugKbEuSv5mR5Y%3D&reserved=0. As per the instructions provided in the announcement, if this continues to be an issue, please try setting SCM_CREATE_APP_OFFLINE to 0 to turn off this behavior and try again.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fissues%2F17384%23issuecomment-432429880&data=02%7C01%7C%7C1d5c25a776d648ff951108d6392fca61%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636759274745372794&sdata=Ott2rozWXBBV9pCkGw3QVr6It3t9NXBfCzHbH1o%2F2WQ%3D&reserved=0, or mute the threadhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAX7JOolAj4VpsjcxC4epQmT2h3LcH7o5ks5un4wxgaJpZM4X0oxt&data=02%7C01%7C%7C1d5c25a776d648ff951108d6392fca61%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636759274745372794&sdata=8ntASzSS0CJ7WXE1AO8XvFIbwNsJ%2FXwAOzGqLCZqDvQ%3D&reserved=0.