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.
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.
Please provide steps should be done to deploy and run project on Azure.
On local windows PC everything works as expected.
Hi, @liangshiwe At this moment we can not upgrade full project. Is it any way to upgrade only this one component?
Hi, I cretaed new project and reproduce error. But on new project it redirects to home page. I start investigate why and I can see there is difference on source of component <abp-http-error> at html element <a >
On new project (created with abp suite with 8.1.3) I can see following:
but on my project (I used abp suite version 8.0.0) I can see this souce:
so how can I align component <abp-http-error>?
1 BUG: Click on button at Error Massage is not working. "Go to the homepage". Why it is presented if it do nothing? What is a way to control it?
Bad action with error 403... After getting this error I even can not click Back button on browser because it goes back to Forbidden page which gives again this error:
2 BUG: Can not translate message - it is not presented in dictionary and I can not find way how to translate it. I can translate Titile and Button title but I can not translate Message "Not found item!" - there is not such in dictionary.
Hi, @sumeyye.kurtulus Please check my last comment as we need help on this.
And one more **important **question: Is it any validation exists on backend services - looks like we may Impersonate any-to-any user even for those which has no Impersonate permissions assigned.
Hi, @sumeyye.kurtulus this looks ok if it related to Impersotaion. If user have permission so it will work. But we want to use Delegation.
From my example above (picture) I have CurrentUser and it allowed to "Login" based on Delegation from user John. What code for "Login" action (click) should be in such scenario? Looks to security issue.
Hi, @Anjali_Musmade Now it works. Thank you!
This issue could be closed. Thank you for for help and patience :)