JCP REST features endpoint returns U00045099 status: '401' upon AWI login
search cancel

JCP REST features endpoint returns U00045099 status: '401' upon AWI login

book

Article ID: 368804

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

Upon login, AWI sends an authentication request to the API REST JCP endpoint that returns a code 401 (logon denied).
This is seen in the JCP REST API log and may confuse AE Administrators thinking there is something wrong when there is not.

In the JCP Rest API when you logon via AWI, we observe two queries to the endpoint features, one with status 401 and the next one with 200:

U00045098 Method 'GET', URL: 'https://AE_HOSTNAME:REST_PORT/ae/api/v1/0/system/features', received from IP: 'AWI_IP'
U00045099 The server replied with following status: '401'
U00045098 Method 'GET', URL: 'https://AE_HOSTNAME:REST_PORT/ae/api/v1/0/system/features', received from IP: 'AWI_IP'
U00045105 Log on of 'USERNAME/DEPARTMENT' ('3793732') successful, client: '0' (Connection='*CP003#00000115').
U00045099 The server replied with following status: '200'

Expected behavior: AWI queries should not return 401
Actual behavior: first logon AWI query to features returns 401

Environment

Automation Engine 21.x and 24.x

Cause

Defect in AWI

Resolution

Update to a fix version listed below or a newer version if available.

Fix version:
Component(s): Automic.Web.Interface
Will be fixed in Automation.Engine 21.0.11 - Planned release end July 2024
Will be fixed in Automation.Engine 24.2.0 - Planned release end September 2024

Additional Information

Defect ID: AE-35818