ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

OpenAPI queries do not work.


Article ID: 213690


Updated On:


CA Performance Management - Usage and Administration DX NetOps


Having troubles accessing: http://dataAggregatorAddress:8581/odataquery/index.html 

This returns a 502 error.  Also, I'm noticing that we need to restart the bundles frequently, or this response isn't even possible as we get 403 Forbidden.

HTTP error 502 

HTTP 403 Forbidden 

odata gets error 

openAPI gets error 




Saw this error in the karaf.log 

ERROR | 723525195-278221 | 2021-04-13 07:44:30,246 | AuthenticationServiceImpl | e.impl.AuthenticationServiceImpl 1276 | -services.authentication |       | Basic authorization error - unexpected error <FQDN_HOSTNAME>

 <FQDN_HOSTNAME> was not correct hostname for the CAPC system. Someone had updated DNS with a different hostname and now openAPI could not contact CAPC to authenticate. 


Dx NetOps Performance Management any version


Added the correct hostname to /etc/hosts and restarted Data Aggregator and now the openAPI call work.