logging into DA rest it just returns to the login screen.
DA API login returns to login screen
DA REST/API login not working.
Release : 22.2
Saw the flowing errors in DA logs:
AuthenticationLog.log
INFO | p403169106-91709 | 2023-02-17T14:08:26,657 | AuthenticationAuditLog | impl.DaAuthenticationServiceImpl 1502 | ager.core.authentication | | Unable to authenticate. Remote host: xx.xx.xxx.xx, Message: Failed basic authentication, Path: /rest/emregistration
ERROR | p403169106-90030 | 2023-02-17T14:30:57,859 | AuthenticationLog | entication.impl.DaBaseServiceIml 365 | ager.core.authentication | | Basic authorization error - failed to contact sso service. The sso service may be down.
java.net.ConnectException: Connection refused (Connection refused)
AuthenticationAuditLog.log
INFO | p403169106-90030 | 2023-02-17T14:24:45,212 | AuthenticationAuditLog | impl.DaAuthenticationServiceImpl 1502 | ager.core.authentication | | Unable to authenticate. Remote host: xx.xx.xxx.xx, Message: Failed basic authentication, Path: /rest/
INFO | p403169106-90030 | 2023-02-17T14:30:57,864 | AuthenticationAuditLog | impl.DaAuthenticationServiceImpl 1502 | ager.core.authentication | | Unable to authenticate. Remote host: xx.xx.xxx.xx, Message: Failed basic authentication, Path: /rest/
Checked the value for SsoSitePort and SsoPort on the Data Repository using the following vsql
vsql> select * from v_attribute_instance where item_id=<DA itemid>;
Then checked SsoConfig for the Single Sign-On port.
Noticed that the Single Sign-On port was set correctly in in the Netops Portal but not on the DA/DR.
Ran the following mysql to fore an update of the properties on the next incremental sync. (A full sync would work as well)
mysql> update netqosportal.performance_center_properties set UpdatedOn=UNIX_TIMESTAMP() where Deleted='N';
Rest login is now working.