Cannot access HTTP://DA:8581/rest or HTTP://DA:8581/odataquery - message HTTP ERROR 401 Unauthorized
search cancel

Cannot access HTTP://DA:8581/rest or HTTP://DA:8581/odataquery - message HTTP ERROR 401 Unauthorized

book

Article ID: 276924

calendar_today

Updated On:

Products

DX NetOps CA Performance Management - Usage and Administration

Issue/Introduction

when tried to connect above 2 URL :

AuthenticationLog.log file:

INFO  | 970227752-186148 | YYYY/MM/DD hh:mm:ss,188 | AuthenticationAuditLog | impl.DaAuthenticationServiceImpl 1505 | ager.core.authentication |       | Unable to authenticate. Remote host: 192.0.2.1, Message: Failed basic authentication, Path: /rest

INFO  | 970227752-188952 | YYYY/MM/DD hh:mm:ss,301 | AuthenticationAuditLog | impl.DaAuthenticationServiceImpl 1505 | ager.core.authentication |       | Unable to authenticate. Remote host: 192.0.2.1, Message: Failed basic authentication, Path: /odata/api/devices

ERROR | 970227752-188952 | YYYY/MM/DD hh:mm:ss,945 | AuthenticationLog | entication.impl.DaBaseServiceIml  375 | ager.core.authentication |       | Basic authorization error - unexpected error
java.net.UnknownHostException: <FQDN hostname>

Environment

DX NetOps Portal

Cause

Normally, this is due to incorrect DA hostname, IP address or DNS issues causing incorrect resolution of the DA host on the network.

 

Resolution

Check the correct NetOps Portal and DA machine's hostname and IP Address, then check in /etc/hosts file

Ensure that both IP address and hostname of DA and DXPortal are configured correctly.