Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App Service Startup Issues with WEBSITE_RUN_FROM_PACKAGE #142

Closed
jonarmstrong opened this issue Feb 17, 2020 · 1 comment
Closed

App Service Startup Issues with WEBSITE_RUN_FROM_PACKAGE #142

jonarmstrong opened this issue Feb 17, 2020 · 1 comment

Comments

@jonarmstrong
Copy link

Hi @PaitoAnderson and @xt0rted, could you please email me with your site names? I'm trying to repro your issue. Thanks!

This is a follow-up to my post on 11/23/2019. I've since dug a little deeper and realize I have the same problem was impacting @PaitoAnderson & @xt0rted. My apps are also using the WEBSITE_RUN_FROM_PACKAGE setting, which seems to be the root cause of this issue.

@JasonFreeberg Was there every a resolution to this? I have three apps which currently have bad instances because of this exact issue. The only way to resolve the issue is to restart the app and hope it comes back up. It has been plaguing my app reliability for months now. Below are stack traces from 2 of the 3 failing web sites

Instance - RD501AC561D51E

/subscriptions/3a2f_______________3e76/resourceGroups/fsp___________rg/providers/Microsoft.Web/sites/merch__________________-mahzuanneuqrm

@ 2020-02-16T09:48:18

Application: *******************.exe
CoreCLR Version: 4.6.28207.3
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.FileLoadException: Could not load file or assembly 'Microsoft.AspNetCore.Authentication.Abstractions, Version=2.2.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. An assertion failure has occurred. (Exception from HRESULT: 0x8007029C)
   at Microsoft.Extensions.DependencyInjection.AuthenticationCoreServiceCollectionExtensions.AddAuthenticationCore(IServiceCollection services)
   at Microsoft.AspNetCore.Hosting.WebHostBuilderIISExtensions.<>c__DisplayClass5_1.<UseIISIntegration>b__0(IServiceCollection services)
   at Microsoft.AspNetCore.Hosting.WebHostBuilder.BuildCommonServices(AggregateException& hostingStartupErrors)
   at Microsoft.AspNetCore.Hosting.WebHostBuilder.Build()
   at ******************.Program.Main(String[] args) in d:\a\1\s\****************\Program.cs:line 17

Instance - RD501AC56B00BE

/subscriptions/3a2f______________3e76/resourceGroups/fsp_________________rg/providers/Microsoft.Web/sites/hosted_____________-bqxfcgnuocrvw

@ 2020-02-16T07:20:21

Application: ***********************.exe
   CoreCLR Version: 4.6.28207.3
   Description: The process was terminated due to an unhandled exception.
   Exception Info: System.IO.FileLoadException: Could not load file or assembly 'System.IO.Pipelines, Version=4.0.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. An assertion failure has occurred. (Exception from HRESULT: 0x8007029C)
      at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServer.CreateServiceContext(IOptions`1 options, ILoggerFactory loggerFactory)
      at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServer..ctor(IOptions`1 options, ITransportFactory transportFactory, ILoggerFactory loggerFactory)
   --- End of stack trace from previous location where exception was thrown ---
      at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, ServiceProviderEngineScope scope)
      at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScoped(ScopedCallSite scopedCallSite, ServiceProviderEngineScope scope)
      at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)
      at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)
      at Microsoft.AspNetCore.Hosting.Internal.WebHost.EnsureServer()
      at Microsoft.AspNetCore.Hosting.Internal.WebHost.BuildApplication()
      at Microsoft.AspNetCore.Hosting.Internal.WebHost.StartAsync(CancellationToken cancellationToken)
      at Microsoft.AspNetCore.Hosting.WebHostExtensions.RunAsync(IWebHost host, CancellationToken token, String shutdownMessage)
      at Microsoft.AspNetCore.Hosting.WebHostExtensions.RunAsync(IWebHost host, CancellationToken token)
      at Microsoft.AspNetCore.Hosting.WebHostExtensions.Run(IWebHost host)
      at ***********************.Program.Main(String[] args) in d:\a\2\s\***********************\***********************\Program.cs:line 24

Originally posted by @jonarmstrong in #32 (comment)

@jonarmstrong jonarmstrong changed the title > Hi @PaitoAnderson and @xt0rted, could you please email me with your site names? I'm trying to repro your issue. Thanks! App Service Startup Issues with WEBSITE_RUN_FROM_PACKAGE Feb 17, 2020
@jonarmstrong
Copy link
Author

sorry, was trying to assign it to a different project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant