-
Notifications
You must be signed in to change notification settings - Fork 655
AspNetCore Module fails to start #2014
Comments
Can you share your web app name, either directly or indirectly? This will help us investigate. Thanks! |
@davidebbo Sure, I've just created a fresh deployment at http://tiny-tutors-alexandria-aspnetrc2test.azurewebsites.net/ where I'm also seeing this issue |
Interesting. So in your case, you end up with a
While with my test app (https://github.com/davidebbo-test/AspNetCoreRC2VS), I end up with no
The whole RC2 model is still new to me, so I'll need those guys to help me understand the difference. @davidfowl when do we end up with one model vs the other? |
@davidebbo This may be because I'm creating a standalone Asp.Net Core application, so I don't have to install .NET Core on the target machine, and instead specified the Runtime Identifiers Maybe Kudu doesn't work with standalone apps yet? |
@flagbug is your repository public? Are you setting the urls manually or using the default? |
@davidfowl Nope, sorry, it's private :/ Which URLs are you talking about exactly? |
What does your startup.cs look like |
Ah need Program.cs not Startup.cs 😄 |
Hmm, that looks fine. |
Standalone case here: https://github.com/troydai/KuduSample05/blob/master/src/SampleApp05/project.json Yes? |
But we established yesterday that this sample runs fine in Azure Web Apps (after we fixed the bitness). So there must be some difference. |
Aha! Seems like it works if I remove the standalone feature. Still getting a |
These were the runtimes I was specifying btw:
|
@flagbug can you try add |
@troydai I just noticed that my App Service is set as 64-bit, should I still use |
@davidebbo can correct me if I'm wrong. But my understanding is that the architecture of runtime should match your AppServices's architecture, @flagbug. |
@troydai Well, that's a bit hard to know with Azure App Services, I have no idea on which OS Version my App is running on, I only know the bitness 😄 |
It's Server 2012 (not R2), which I think maps to Win7. |
If the process starts and you get 500 then I would recommend turning on logging. If you use web deploy/publish-iis remove the |
@flagbug I took the liberty of changing that in your test site:
But I'm not seeing any interesting logs generated after hitting the site. |
Windows Server 2012 maps to Windows 8 https://msdn.microsoft.com/en-us/library/windows/desktop/ms724832(v=vs.85).aspx |
@snobu thanks! Well, so it may not be the root of the issue after all. And since logging is not working, it's hard to diagnose :( |
FWIW I redeployed my RC2 site today and now it fails as well. UPDATE: After some tweaks to my project.json it works for me! |
@hoetz please see Test your ASP.NET Core repo locally. Closing this issue for now as I don't think there is a Kudu issue here. If someone still has an issue after successfully going through the steps locally, we can re-open (or maybe start clean issue). |
I'm creating this issue based on the following Twitter discussion: https://twitter.com/flagbug/status/733313828889481217
I've deployed my Asp.Net Core RC2 app to Azure App Services via Git deploy, and the deploy work fine, but the AspNetCore module doesn't seem to be able to start:
I'll try creating a sample project to reproduce this issue, but this will take some time, maybe someone else has an idea what's happening in the meantime
The text was updated successfully, but these errors were encountered: