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

[BUG] Azure App Service Startup Loop After Upgrade to Net6.0 #25247

Closed
ardalis opened this issue Nov 10, 2021 · 1 comment
Closed

[BUG] Azure App Service Startup Loop After Upgrade to Net6.0 #25247

ardalis opened this issue Nov 10, 2021 · 1 comment
Labels
customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that

Comments

@ardalis
Copy link

ardalis commented Nov 10, 2021

See: #7900

I'm seeing basically the same behavior as in the referenced bug.

Log Stream (endless loop):

2021-11-10T15:10:16 sandboxproc.exe C:\DWASFiles\Sites\devBetter\Temp\applicationhost.config True True
2021-11-10T15:10:16 env XPROC_TYPENAME=Microsoft.Web.Hosting.Transformers.ApplicationHost.SiteExtensionHelper, Microsoft.Web.Hosting, Version=7.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
2021-11-10T15:10:16 env XPROC_METHODNAME=Transform
2021-11-10T15:10:16 Start 'AspNetCoreRuntime.6.0.x64' site extension transform
2021-11-10T15:10:16 StartSection Executing InsertIfMissing (transform line 7, 23)
2021-11-10T15:10:16 on /configuration/system.webServer
2021-11-10T15:10:16 Applying to 'configuration' element (no source line info)
2021-11-10T15:10:16 EndSection Done executing InsertIfMissing
2021-11-10T15:10:16 StartSection Executing InsertIfMissing (transform line 8, 16)
2021-11-10T15:10:16 on /configuration/system.webServer/runtime
2021-11-10T15:10:16 Applying to 'system.webServer' element (no source line info)
2021-11-10T15:10:16 EndSection Done executing InsertIfMissing
2021-11-10T15:10:16 StartSection Executing InsertIfMissing (transform line 9, 31)
2021-11-10T15:10:16 on /configuration/system.webServer/runtime/environmentVariables
2021-11-10T15:10:16 Applying to 'runtime' element (no source line info)
2021-11-10T15:10:16 EndSection Done executing InsertIfMissing
2021-11-10T15:10:16 StartSection Executing InsertIfMissing (transform line 10, 146)
2021-11-10T15:10:16 on /configuration/system.webServer/runtime/environmentVariables/add[@name='PATH']
2021-11-10T15:10:16 Applying to 'environmentVariables' element (no source line info)
2021-11-10T15:10:16 Inserted 'add' element
2021-11-10T15:10:17 EndSection Done executing InsertIfMissing
2021-11-10T15:10:17 StartSection Executing InsertIfMissing (transform line 11, 93)
2021-11-10T15:10:17 on /configuration/system.webServer/runtime/environmentVariables/add[@name='DOTNET_SKIP_FIRST_TIME_EXPERIENCE']
2021-11-10T15:10:17 Applying to 'environmentVariables' element (no source line info)
2021-11-10T15:10:17 Inserted 'add' element
2021-11-10T15:10:17 EndSection Done executing InsertIfMissing
2021-11-10T15:10:17 StartSection Executing InsertIfMissing (transform line 12, 118)
2021-11-10T15:10:17 on /configuration/system.webServer/runtime/environmentVariables/add[@name='DOTNET_ROOT']
2021-11-10T15:10:17 Applying to 'environmentVariables' element (no source line info)
2021-11-10T15:10:17 Inserted 'add' element
2021-11-10T15:10:17 EndSection Done executing InsertIfMissing
2021-11-10T15:10:17 StartSection Executing Replace (transform line 17, 145)
2021-11-10T15:10:17 on /configuration/system.webServer/globalModules/add[@name='AspNetCoreModuleV2']
2021-11-10T15:10:17 Applying to 'add' element (no source line info)
2021-11-10T15:10:17 Replaced 'add' element
2021-11-10T15:10:17 EndSection Done executing Replace
2021-11-10T15:10:17 StartSection Executing InsertIfMissing (transform line 24, 84)
2021-11-10T15:10:17 on /configuration/location/system.webServer/modules/add[@name='AspNetCoreModuleV2']
2021-11-10T15:10:17 Applying to 'modules' element (no source line info)
2021-11-10T15:10:17 EndSection Done executing InsertIfMissing
2021-11-10T15:10:17 Successful 'D:\home\SiteExtensions\AspNetCoreRuntime.6.0.x64\applicationHost.xdt' site extension transform
2021-11-10T15:10:17 Start 'Microsoft.AspNetCore.AzureAppServices.SiteExtension' site extension transform
2021-11-10T15:10:17 StartSection Executing InsertIfMissing (transform line 7, 23)
2021-11-10T15:10:17 on /configuration/system.webServer
2021-11-10T15:10:17 Applying to 'configuration' element (no source line info)
2021-11-10T15:10:17 EndSection Done executing InsertIfMissing
2021-11-10T15:10:17 StartSection Executing InsertIfMissing (transform line 8, 16)
2021-11-10T15:10:17 on /configuration/system.webServer/runtime
2021-11-10T15:10:17 Applying to 'system.webServer' element (no source line info)
2021-11-10T15:10:17 EndSection Done executing InsertIfMissing
2021-11-10T15:10:17 StartSection Executing InsertIfMissing (transform line 9, 31)
2021-11-10T15:10:17 on /configuration/system.webServer/runtime/environmentVariables
2021-11-10T15:10:17 Applying to 'runtime' element (no source line info)
2021-11-10T15:10:17 EndSection Done executing InsertIfMissing
2021-11-10T15:10:17 StartSection Executing InsertOrAppendAttribute (transform line 10, 406)
2021-11-10T15:10:17 on /configuration/system.webServer/runtime/environmentVariables/add[@name='DOTNET_ADDITIONAL_DEPS']
2021-11-10T15:10:17 Applying to 'environmentVariables' element (no source line info)
2021-11-10T15:10:17 EndSection Done executing InsertOrAppendAttribute
2021-11-10T15:10:17 StartSection Executing InsertOrAppendAttribute (transform line 11, 158)
2021-11-10T15:10:17 on /configuration/system.webServer/runtime/environmentVariables/add[@name='DOTNET_SHARED_STORE']
2021-11-10T15:10:17 Applying to 'environmentVariables' element (no source line info)
2021-11-10T15:10:17 EndSection Done executing InsertOrAppendAttribute
2021-11-10T15:10:17 StartSection Executing InsertOrAppendAttribute (transform line 12, 146)
2021-11-10T15:10:17 on /configuration/system.webServer/runtime/environmentVariables/add[@name='ASPNETCORE_HOSTINGSTARTUPASSEMBLIES']
2021-11-10T15:10:17 Applying to 'environmentVariables' element (no source line info)
2021-11-10T15:10:17 EndSection Done executing InsertOrAppendAttribute
2021-11-10T15:10:17 Successful 'D:\home\SiteExtensions\Microsoft.AspNetCore.AzureAppServices.SiteExtension\applicationHost.xdt' site extension transform
2021-11-10T15:10:17 sandboxproc.exe complete successfully. Elapsed = 775.00 ms

Installed Extensions:
image

GitHub Action That Deployed Site:
https://github.com/DevBetterCom/DevBetterWeb/blob/main/.github/workflows/ci-cd.yml

It's using this to publish:

dotnet publish ./src/DevBetterWeb.Web/DevBetterWeb.Web.csproj --configuration Release --self-contained -r win-x64 --output ${{ env.AZURE_WEBAPP_PACKAGE_PATH }}/WebApp
@ghost ghost added needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. customer-reported Issues that are reported by GitHub users external to the Azure organization. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Nov 10, 2021
@jsquire
Copy link
Member

jsquire commented Nov 10, 2021

Hi @ardalis. Thank you for reaching out and we regret that you're experiencing difficulties. Unfortunately, this repository is focused on the Azure SDK for .NET - we're unable to assist with other Azure issues. Since what you're describing appears to be related to the Azure App Service itself and not one of its SDKs, your best path forward would be to open an Azure support request.

I'm going to close this out; if I've misunderstood what you're describing, please let us know in a comment and we'd be happy to assist as we're able.

@jsquire jsquire closed this as completed Nov 10, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Mar 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Projects
None yet
Development

No branches or pull requests

2 participants