search cancel

Unexpected encryption type. AES received. None expected.

book

Article ID: 8586

calendar_today

Updated On:

Products

Workload Automation Agent

Issue/Introduction

I installed a new agent and I am unable to autoping it. I have already copied the cryptkey.txt file from the scheduler to the agent server. In the receiver.log, I am getting the following error:

<Regular:2>.CybReceiverChannel.receive[:233] - cybermation.library.communications.CybConversationException: Unexpected encryption type. AES received. None expected. 

at cybermation.library.communications.protocol.CybCommunicationProtocolRevisionTwo.receiveData(CybCommunicationProtocolRevisionTwo.java:509) 

at cybermation.library.communications.protocol.CybCommunicationProtocolRevisionTwo.receiveMessage(CybCommunicationProtocolRevisionTwo.java:315) 

at cybermation.library.communications.CybConversation.receiveMessage(CybConversation.java:429) 

at cybermation.commplugins.tcpip.receiver.CybReceiverChannel.receive(CybReceiverChannel.java:173) 

at cybermation.commplugins.tcpip.receiver.CybReceiverChannel.call(CybReceiverChannel.java:138) 

at cybermation.commplugins.tcpip.receiver.CybReceiverChannel.call(CybReceiverChannel.java:50) 

at cybermation.commplugins.tcpip.receiver.CybReceiverScheduler$CallableWrapper.call(CybReceiverScheduler$CallableWrapper.java:352)

 

Cause

The scheduler is using the AES encryption type (also known as the DEFAULT type) but the agent has been configured not to use any encryption. 

Environment

CA Workload Automation AE Agent r11.3+ (All OS Platforms)

Resolution

1. In the agentparm.txt, uncomment the following lines and make sure they are set accordingly:

     security.filename=/opt/CA/WorkloadAutomationAE/SystemAgent/WA_AGENT/security.txt

     security.level=off

     security.cryptkey=cryptkey.txt

2. Save the file

3. Restart the agent services