Idira Identity: Failed to send out Radius request to Radius Server with exception "Host and/or shared secret must be set" in cloud connector log

Idira Identity: Failed to send out Radius request to Radius Server with exception "Host and/or shared secret must be set" in cloud connector log

121
Created On 11/10/26 10:57 AM - Last Modified 11/10/26 12:58 PM


Symptom


After following the steps in Idira Identity Online Help Page to configure the Cloud Connector as Radius client, it still failed to send out Radius request to Radius Server. From the cloud connector log, this exception can be seen:

2016-09-12 08:54:16,051 [P-Idaptive.Cloud.Core.ProxyHost.exe-1348|(null)|(null)|26fbdbc123674228ad7c34142a3b7558|25|13|DEBUG] ExternalRadius: Looked up RADIUS server info using name "RAdius test": actual host is 192.168.10.31 2016-09-12 08:54:16,051 [P-Idaptive.Cloud.Core.ProxyHost.exe-1348|(null)|(null)|26fbdbc123674228ad7c34142a3b7558|25|14|DEBUG] ExternalRadius:AuthenticateUserByPasscode: Finished 2016-09-12 08:54:16,051 [P-Idaptive.Cloud.Core.ProxyHost.exe-1348|(null)|(null)|26fbdbc123674228ad7c34142a3b7558|25|14|DEBUG] RpcHostEndpointRegistrar: RPC exception being returned to caller for IFace: Idaptive.Cloud.Core.Interfaces.IRadiusServerRpc, Idaptive.Cloud.Core.Interfaces Method: AuthenticateUserByPasscode => System.AggregateException: �o�ͤ@�Φh�����~�C ---> System.InvalidOperationException: Host and/or shared secret must be set. �� Idaptive.Cloud.Core.ProxyExternalRadius.ExternalRadius.<AuthenticateUserByPasscodeAsync>d__0.MoveNext() --- �����ҥ~���p���|�l�ܪ����� --- �� System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification) �� Idaptive.Cloud.Core.ProxyExternalRadius.ExternalRadius.AuthenticateUserByPasscode(String radiusName, String userId, String passcode)


Environment


Identity App Access Service Connector with RADIUS service enabled

Cause


The server secret in use probably does not match with the one in Radius server.

Resolution


Make sure the server secret in use matches with the one in Radius server. There are 2 places one can define the Server Secret:

1. Admin Portal > Settings tab > Authentication > RADIUS Connections > Servers tab:

User-added image


2. Admin Portal > Settings tab > Network > Cloud Connectors > click on the target cloud connector" > RADIUS

If "Override server secret for connector" option is checked under the Cloud Connector configuration setting, which will override the server secret in #1, please either make sure the Server Secret entered is correct, or uncheck the "Override server secret for connector" option such that the Server Secret in #1 will be used.

User-added image


Additional Information


Details

Problem:

After following the steps in CyberArk Identity Online Help Page to configure the Cloud Connector as Radius client, it still failed to send out Radius request to Radius Server. From the cloud connector log, this exception can be seen:

===========================================
2016-09-12 08:54:16,051 [P-Idaptive.Cloud.Core.ProxyHost.exe-1348|(null)|(null)|26fbdbc123674228ad7c34142a3b7558|25|13|DEBUG] ExternalRadius: Looked up RADIUS server info using name "RAdius test": actual host is 192.168.10.31
2016-09-12 08:54:16,051 [P-Idaptive.Cloud.Core.ProxyHost.exe-1348|(null)|(null)|26fbdbc123674228ad7c34142a3b7558|25|14|DEBUG] ExternalRadius:AuthenticateUserByPasscode: Finished
2016-09-12 08:54:16,051 [P-Idaptive.Cloud.Core.ProxyHost.exe-1348|(null)|(null)|26fbdbc123674228ad7c34142a3b7558|25|14|DEBUG] RpcHostEndpointRegistrar: RPC exception being returned to caller for IFace: Idaptive.Cloud.Core.Interfaces.IRadiusServerRpc, Idaptive.Cloud.Core.Interfaces Method: AuthenticateUserByPasscode => System.AggregateException: �o�ͤ@�Φh�����~�C ---> System.InvalidOperationException: Host and/or shared secret must be set.
�� Idaptive.Cloud.Core.ProxyExternalRadius.ExternalRadius.<AuthenticateUserByPasscodeAsync>d__0.MoveNext()
--- �����ҥ~���p���|�l�ܪ����� ---
�� System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
�� Idaptive.Cloud.Core.ProxyExternalRadius.ExternalRadius.AuthenticateUserByPasscode(String radiusName, String userId, String passcode)
=====================================================​


Cause:

The server secret in use probably does not match with the one in Radius server. 



Solution:

Make sure the server secret in use matches with the one in Radius server. There are 2 places one can define the Server Secret:

1. Admin Portal > Settings tab > Authentication > RADIUS Connections > Servers tab:

User-added image


2. Admin Portal > Settings tab > Network > Cloud Connectors > click on the target cloud connector" > RADIUS

If "Override server secret for connector" option is checked under the Cloud Connector configuration setting, which will override the server secret in #1, please either make sure the Server Secret entered is correct, or uncheck the "Override server secret for connector" option such that the Server Secret in #1 will be used.

User-added image


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001HJoCAM&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail