Question

FSM Web client HTTP 500 errors occurred randomly

  • 1 September 2022
  • 5 replies
  • 206 views

Userlevel 3
Badge +9

The customer's production environment web client fails randomly with HTTP 500. Based on the IIS logs the failure happens mostly in the customized screen request. 

Are there any possible causes why this is happening randomly? and getting hundreds of HTTP 500 errors after the system restart.

Only exception  they have provided :-

“Application: w3wp.exe CoreCLR Version: 4.700.21.6504 .NET Core Version: 3.1.12 Description: The process was terminated due to an unhandled exception. Exception Info: System.OperationCanceledException: The operation was canceled. at System.Threading.CancellationToken.ThrowOperationCanceledException() at Microsoft.Extensions.Hosting.Internal.Host.StopAsync(CancellationToken cancellationToken) at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.WaitForShutdownAsync(IHost host, CancellationToken token) at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token) at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token) at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.Run(IHost host) at FSM.WebClient.Program.Main(String[] args) in C:\Program Files (x86)\Jenkins\workspace\Branch Web Client Hotfix Publish\FSM.WebClient\Program.cs:line 34 “


5 replies

Userlevel 7
Badge +22

Hi @Dilushkumar Vasudevan ,

Is this happening only for the webclient? What is the FSM version that the client is using here? Have you already checked whether the environment has the required version of .net core hosting ?

Userlevel 3
Badge +9

Hi @Saranga Amaraweera 

The issue is happening in the web client. But it is occurring randomly. Customer is using FSM6UPD12 and the environment has the required version of .NET core hosting. 

Additionally, In the past the technical team also didn't see exceptions when this happens. It is almost like the server itself stops working.

Userlevel 6
Badge +23

@Dilushkumar Vasudevan You can try to activate the logging for the Web Client - maybe this will provide you more details on the actual issue. The instructions can be found in the OIDC Implementation Guide under the “troubleshooting” section.

 

Best regards
Roman

Userlevel 3
Badge +9

Hi @roklde Thanks for the response.

Badge +2

Was there any solution found for this problem?

Reply