On-Prem Orchestrator Keeps Loading When Login

I get below error message sometimes when I try to login to on-prem Orchestrator v2021/v21.10.1.0. Anyone know how to resolve this?

Log Name: Application
Source: Orchestrator
Date: 12/06/2023 11:08:28 PG
Event ID: 0
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: xxxxx
Description:
Exception occurred while processing message.Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectProtocolException: Failed to parse token response body as JSON. Status Code: 500. Content-Type:
—> System.ArgumentNullException: IDX10000: The parameter ‘json’ cannot be a ‘null’ or an empty object. (Parameter ‘json’)
at new Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectMessage(string json)
at async Task Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectHandler.RedeemAuthorizationCodeAsync(OpenIdConnectMessage tokenEndpointRequest)
— End of inner exception stack trace —
at async Task Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectHandler.RedeemAuthorizationCodeAsync(OpenIdConnectMessage tokenEndpointRequest)
at async Task Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectHandler.HandleRemoteAuthenticateAsync()
System.ArgumentNullException: IDX10000: The parameter ‘json’ cannot be a ‘null’ or an empty object. (Parameter ‘json’)
at new Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectMessage(string json)
at async Task Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectHandler.RedeemAuthorizationCodeAsync(OpenIdConnectMessage tokenEndpointRequest)
Event Xml:



0
2
0
0x80000000000000

15937874
Application
xxxxx



Exception occurred while processing message.Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectProtocolException: Failed to parse token response body as JSON. Status Code: 500. Content-Type:
—> System.ArgumentNullException: IDX10000: The parameter ‘json’ cannot be a ‘null’ or an empty object. (Parameter ‘json’)
at new Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectMessage(string json)
at async Task<OpenIdConnectMessage> Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectHandler.RedeemAuthorizationCodeAsync(OpenIdConnectMessage tokenEndpointRequest)
— End of inner exception stack trace —
at async Task<OpenIdConnectMessage> Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectHandler.RedeemAuthorizationCodeAsync(OpenIdConnectMessage tokenEndpointRequest)
at async Task<HandleRequestResult> Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectHandler.HandleRemoteAuthenticateAsync()
System.ArgumentNullException: IDX10000: The parameter ‘json’ cannot be a ‘null’ or an empty object. (Parameter ‘json’)
at new Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectMessage(string json)
at async Task<OpenIdConnectMessage> Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectHandler.RedeemAuthorizationCodeAsync(OpenIdConnectMessage tokenEndpointRequest)

@azeem_rosli

Is it happening to only your userid? Or for everyone?

And what authentication is being used?

Cheers

This happens to all ids. I log in using Username & Password.

@azeem_rosli

Is admin able to login?

If not looks like your iis is not properly configured

Cheers

The admin couldn’t too. It said the request takes too long. This only happens sometimes, sometimes it’s working fine.

Can you suggest a reference or steps to resolve this?