search cancel

NetOps Data Aggregator OpenAPI access returns 401 error

book

Article ID: 255656

calendar_today

Updated On:

Products

CA Performance Management - Usage and Administration DX NetOps

Issue/Introduction

When trying to load up odataquery in chrome, I get this error.

DX NetOps Performance Management Data Aggregator OpenAPI fails to display the querybuilder. Using the correct URL, per the documentation:

  • <scheme>://DA:<Port>/odataquery

For example in a default DA host named dataaggregator it would be:

  • HTTP://DA:8581/odataquery

Tried the same activity in an Incognito browser tab which returns the same error.

This only fails in Chrome but not in Edge or Firefox.

Environment

All supported DX NetOps Performance Management releases

Cause

When a user requests /odataquery/ the auth filter does not match and index.html is returned. This doesn't trigger authorization causing invalid stored access details from the past to be used. This triggers the 401 error.

Resolution

Use either of these alternatives.

  • <scheme>://DA:<Port>/odataquery/*
  • <scheme>://DA:<Port>/odataquery/index.html

The code will be updates through a defect with engineering to always seek authorization (user login) when using /odataquery/* or /odataquery/index.html.

Additional Information

Defect DE552638 has been submitted per engineering request. It will result in a code change that will force a change to the authenticator. It will be made to use /* instead of /index.html so it will authenticate when using http://DA:8581/odataquery/.

The defect will be fixed in a future release yet to be determined. This article will be updated when that release is known. Last Updated: Dec. 6, 2022 @ 2 PM ET.

Attachments