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
Dx NetOps Performance Management any version
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
java.net.UnknownHostException: <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.
Added the correct hostname to /etc/hosts and restarted Data Aggregator and now the openAPI call work.