Linux jobs version 21 finish with "wrong type" error.
search cancel

Linux jobs version 21 finish with "wrong type" error.

book

Article ID: 246127

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

A Linux job running a simple ls -la command is active for a couple of minutes and then finishes with status ENDED_NOT_OK.

The job report and agent trace show the following message:

-1 - wrong message type
wrong type error  
SESSION_ERROR...
*AGENT
*AGENT|TLS-handshake/3361515
sslv3 alert handshake failure

Full trace:

00000210  2A2A2A2A 0D0A2D31 202D2077 726F6E67   >****..-1 - wrong<
00000220  206D6573 73616765 20747970 65323032   > message type202<
00000230  32303632 372F3136 32313438 2E323334   >20627/162148.234<
00000240  20553030 30393930 39205452 4143453A   > U0009909 TRACE:<
00000250  20287772 6F6E6720 74797065 20657272   > (wrong type err<
00000260  6F722920 20202020 20202020 20202020   >or)             <
00000270  20307831 66363064 30302030 31323638   > 0x1f60d00 01268<
00000280  0D0A2020 20202020 20202020 20202020   >..              <
00000290  20202020 20203030 30303030 30302020   >      00000000  <
000002A0  35333435 35333533 20343934 46344535   >53455353 494F4E5<
000002B0  46203435 35323532 34462035 32303030   >F 4552524F 52000<
000002C0  30303020 203E5345 5353494F 4E5F4552   >000  >SESSION_ER<
000002D0  524F522E 2E2E3C0D 0A202020 20202020   >ROR...<..       <
000002E0  20202020 20202020 20202020 20303030   >             000<
000002F0  30303031 30202030 30303030 30303020   >00010  00000000 <
00000300  30303030 30303030 20303030 30303030   >00000000 0000000<
00000310  30203030 30303030 30302020 3E2E2E2E   >0 00000000  >...<
00000320  2E2E2E2E 2E2E2E2E 2E2E2E2E 2E3C0D0A   >.............<..<
00000330  20202020 20202020 20202020 20202020   >                <
00000340  20202020 30303030 30303230 20203241   >    00000020  2A<
00000350  34313437 34352034 45353430 30303020   >414745 4E540000 <
00000360  30303030 30303030 20303030 30303030   >00000000 0000000<
00000370  3020203E 2A414745 4E542E2E 2E2E2E2E   >0  >*AGENT......<
00000380  2E2E2E2E 3C0D0A20 20202020 20202020   >....<..         <
00000390  20202020 20202020 20202030 30303030   >           00000<
000003A0  3033303D 20303030 30303030 30203030   >030= 00000000 00<
000003B0  30303030 30302030 30303030 30303020   >000000 00000000 <
000003C0  30303030 30303030 20203E2E 2E2E2E2E   >00000000  >.....<
000003D0  2E2E2E2E 2E2E2E2E 2E2E2E3C 0D0A2020   >...........<..  <
000003E0  20202020 20202020 20202020 20202020   >                <
000003F0  20203030 30303030 36302020 31303434   >  00000060  1044<
00000400  30393134 20303130 30303030 30203331   >0914 01000000 31<
00000410  33303245 33312033 30333832 45333120   >302E31 30382E31 <
00000420  203E2E44 2E2E2E2E 2E2E3130 2E313038   > >.D......10.108<
00000430  2E313C0D 0A202020 20202020 20202020   >.1<..           <
00000440  20202020 20202020 20303030 30303037   >         0000007<
00000450  30202033 34333032 45333520 33383341   >0  34302E35 383A<
00000460  33323333 20333033 30303030 30203030   >3233 30300000 00<
00000470  30303030 30302020 3E34302E 35383A32   >000000  >40.58:2<
00000480  3330302E 2E2E2E2E 2E3C0D0A 20202020   >300......<..    <
00000490  20202020 20202020 20202020 20202020   >                <
000004A0  30303030 30303830 3D203030 30303030   >00000080= 000000<
000004B0  30302030 30303030 30303020 30303030   >00 00000000 0000<
000004C0  30303030 20303030 30303030 3020203E   >0000 00000000  ><
000004D0  2E2E2E2E 2E2E2E2E 2E2E2E2E 2E2E2E2E   >................<
000004E0  3C0D0A20 20202020 20202020 20202020   ><..             <
000004F0  20202020 20202030 30303030 30463020   >       000000F0 <
00000500  20423938 35314530 30203241 34313437   > B9851E00 2A4147<
00000510  34352034 45353437 43353420 34433533   >45 4E547C54 4C53<
00000520  32443638 20203E2E 2E2E2E2A 4147454E   >2D68  >....*AGEN<
00000530  547C544C 532D683C 0D0A2020 20202020   >T|TLS-h<..      <
00000540  20202020 20202020 20202020 20203030   >              00<
00000550  30303031 30302020 36313645 36343733   >000100  616E6473<
00000560  20363836 31364236 35203246 33333333   > 68616B65 2F3333<
00000570  33362033 31333533 31333520 203E616E   >36 31353135  >an<
00000580  64736861 6B652F33 33363135 31353C0D   >dshake/3361515<.<
00000590  0A202020 20202020 20202020 20202020   >.               <
000005A0  20202020 20303030 30303131 30202033   >     00000110  3<
000005B0  36333832 38373320 37333643 37363333   >6382873 736C7633<
000005C0  20323036 31364336 35203732 37343230   > 20616C65 727420<
000005D0  36382020 3E363828 73736C76 3320616C   >68  >68(sslv3 al<
000005E0  65727420 683C0D0A 20202020 20202020   >ert h<..        <
000005F0  20202020 20202020 20202020 30303030   >            0000<
00000600  30313230 20203631 36453634 37332036   >0120  616E6473 6<
00000610  38363136 42363520 32303636 36313639   >8616B65 20666169<
00000620  20364337 35373236 3520203E 616E6473   > 6C757265  >ands<
00000630  68616B65 20666169 6C757265 3C0D0A20   >hake failure<.. <

Environment

Release : 21.0.2

Component : AUTOMATION ENGINE

Cause

Configuration.

Resolution

The Linux agent ini file had a wrong entry in UC_EX_IP_ADDR.

20220623/155831.069 -          ;
20220623/155831.069 -          UC_EX_IP_ADDR = 1.2.3.4
20220623/155831.069 -          ; 

This IP address does not shows up at the agent start:

20220623/155831.604 - U02000066 Host information: Host name='Agent_name', IP address='127.0.0.1'
20220623/155831.605 - U02000066 Host information: Host name='Agent_name', IP address='::ffff:127.0.0.1'
20220623/155831.605 - U02000066 Host information: Host name='Agent_name', IP address='3.4.5.6'
20220623/155831.605 - U02000066 Host information: Host name='Agent_name', IP address='::ffff:3.4.5.6'
20220623/155831.605 - U02000066 Host information: Host name='Agent_name', IP address='7.8.9.10'
20220623/155831.605 - U02000066 Host information: Host name='Agent_name', IP address='::ffff:7.8.9.10'
20220623/155831.605 - U02000066 Host information: Host name='Agent_name', IP address='::1'
20220623/155831.605 - U02000066 Host information: Host name='Agent_name', IP address='fe70::92f2:abcd:efgh:c111' 

Once this is changed all the Linux jobs finish as expected with ENDED_OK.