Azure Functions: Function crashes AppService (We are unable to reach your function app (Not Found). Please try again later)
It seems that every time dotnet restore fails, the whole appservice crashes.
Repro steps
- Open the editor for https://ms.portal.azure.com/#blade/WebsitesExtension/FunctionsIFrameBlade/id/%2Fsubscriptions%2F818e194a-9bee-486f-9854-03b3be61170b%2Fresourcegroups%2FFollowTheGuru%2Fproviders%2FMicrosoft.Web%2Fsites%2FFollowTheGuru
- Wait a few seconds
Expected behavior
A normal error, not a catastrophic crash
Actual behavior
We are unable to reach your function app (Not Found). Please try again later)
This is actually a problem with the error message which should really be improved. @lucabol Could you look at issue https://github.com/projectkudu/AzureFunctionsPortal/issues/817 and see if that would have caused less confusion?
The problem is that a 404 is the right error code, because that function can't be found and can't be called. The portal message makes it sound as though the whole app was broken, which is not the case.
Certainly so. But I think it is a symptom of a deeper problem, that the compilation/runtime mode is not transparent. We can chat a bit more about it in person. Perhaps I am wrong.
Yes, you're absolutely right about this, this is a known issue that we want to improve. Compilation errors should not appear in the same place as runtime.
@lucabol I've created https://github.com/projectkudu/AzureFunctionsPortal/issues/829 to track the issue of compilation vs. runtime logs.
Closing this issue as the fixes are now tracked by https://github.com/projectkudu/AzureFunctionsPortal/issues/817 and https://github.com/projectkudu/AzureFunctionsPortal/issues/829
I am getting this error on my blob trigger function app "We are unable to reach your function app (Service Unavailable). Please try again later." and then I am getting a 403 while trying to open the function app in the browser. But I am able to view / edit the function C# code or the "integrate" configuration successfully. Error: Microsoft.WindowsAzure.Storage: The remote server returned an error: (403) Forbidden. Session Id: fa52a3a1196844cc8e9eb6aef482ff33
Timestamp: 2016-12-07T23:25:58.162Z
@ship2moon We don't track closed issues and your comment looks looks like it's unrelated to the original issue that was opened. Please start a thread on the forums for technical help: https://social.msdn.microsoft.com/Forums/azure/en-US/home?forum=AzureFunctions