Open Closed

Can not run project on Azure - 500.30 error with any details #7968


User avatar
0
viktor created
  • ABP Framework version: v8.3.0 Commercial
  • UI Type: Angular
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Exception message and full stack trace:

On Windows Runtime Stack .NET 8 always same errors :

Application '/LM/W3SVC/740637018/ROOT' with physical root 'C:\home\site\wwwroot' has exited from Program.Main with exit code = '1'. Please check the stderr logs for more information. Process Id: 3416. File Version: 18.0.24201.8. Description: IIS ASP.NET Core Module V2 Request Handler. Commit:

Application '/LM/W3SVC/740637018/ROOT' with physical root 'C:\home\site\wwwroot' failed to load coreclr. Exception message: CLR worker thread exited prematurely Process Id: 3416. File Version: 18.0.24201.8. Description: IIS ASP.NET Core Module V2 Request Handler. Commit:

On Linux [Failed to start site] with same errors:

2024-09-24T05:58:31.5411410Z Container is running. 2024-09-24T05:58:32.4812371Z Container start method finished after 5157 ms. 2024-09-24T05:58:53.3633041Z Container has finished running with exit code: 1. 2024-09-24T05:58:53.3666983Z Container is terminating. Grace period: 5 seconds. 2024-09-24T05:58:53.3735082Z Stop and delete container. Retry count = 0 2024-09-24T05:58:53.3735914Z Stopping container: ***_489aecf1. 2024-09-24T05:58:53.4726895Z Deleting container: ***_489aecf1. Retry count = 0 2024-09-24T05:58:53.9930761Z Container spec TerminationMessagePolicy path 2024-09-24T05:58:53.9936419Z Container is terminated. Total time elapsed: 626 ms. 2024-09-24T05:58:53.9939562Z Site container: *** terminated during site startup. 2024-09-24T05:58:53.9947725Z Site startup probe failed after 21.5127556 seconds. 2024-09-24T05:58:54.0007288Z Failed to start site. Revert by stopping site. 2024-09-24T05:58:54.1374863Z Site: *** will be blocked for 2 minutes till 09/24/2024 06:00:54 2024-09-24T05:58:54.1378715Z Site: *** stopped.

  • Steps to reproduce the issue: Using ABP Studio created new solution On Azure created new App Service with .NET 8.0 runtime (tried Windows and Linux) Deply to Azure Getting 500.30 Tried to investigate but no eny additional information in Log Stream, no additional information in Event Logs...

Please provide steps should be done to deploy and run project on Azure.

On local windows PC everything works as expected.


3 Answer(s)
  • User Avatar
    0
    Anjali_Musmade created
    Support Team Support Team Member

    Hello,

    Please check similar issue https://abp.io/support/questions/5249/Error-while-deploying-to-Azure-App-Service if it helps you.

    Thanks

  • User Avatar
    0
    viktor created

    Hello,

    Please check similar issue https://abp.io/support/questions/5249/Error-while-deploying-to-Azure-App-Service if it helps you.

    Thanks

    No, this one is not about settings. I just created plain ABP project using last 8.3.0 ABP Studio and it can not start on Azure. On local PC it works as expected. After deployment to Azure it can not start.

  • User Avatar
    0
    Anjali_Musmade created
    Support Team Support Team Member

    Hello,

    Open the console of the Azure web application and run the command dotnet <ProjectName>.HttpApi.Host.dll to check the logs. Have you updated URL's & Connection strings in the appsettings.json files located in both the Host and DbMigrator folders.

    Thanks

Made with ❤️ on ABP v9.1.0-preview. Updated on December 12, 2024, 07:15