UIM cabi_external - unable to sync users with CABI

book

Article ID: 132426

calendar_today

Updated On:

Products

DX Infrastructure Management NIMSOFT PROBES

Issue/Introduction

Cabi_external probe not able to communicate with external Jaspersoft CABI server during cabi_external probe installation process 
Can see the below error in cabi_external logs 

May 15 00:02:30:569 [UserSynchronizationThread, cabi_external] Sending nimbus user_list request to /uim-30_domain/uim-30_hub/uim-30/hub
May 15 00:02:30:819 [UserSynchronizationThread, cabi_external] Found 1 Nimbus users.
May 15 00:02:30:819 [UserSynchronizationThread, cabi_external] Found Nimbus user administrator
May 15 00:02:30:840 [UserSynchronizationThread, cabi_external] SSO JasperUserUtility will be using jasperAdminUser: superuser
May 15 00:02:30:866 [UserSynchronizationThread, cabi_external] JasperUserUtility:login(): URL attempted :http://192.168.88.29:8080/jasperserver-pro/login.html
May 15 00:02:30:866 [UserSynchronizationThread, cabi_external] JasperUserUtility:login(): Response code :403
May 15 00:02:30:866 [UserSynchronizationThread, cabi_external] JasperUserUtility:login(): Got an unauthorized response, I should fall back to superuser login
May 15 00:02:30:882 [UserSynchronizationThread, cabi_external] Warning: unable to sync users with CABI. Cause: 'Error getting all users, got unexpected response code '401' and body '<!DOCTYPE html><html><head><title>Apache Tomcat/8.0.14 - Error report</title><style type="text/css">H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}.line {height: 1px; background-color: #525D76; border: none;}</style> </head><body><h1>HTTP Status 401 - Full authentication is required to access this resource</h1><div class="line"></div><p><b>type</b> Status report</p><p><b>message</b> <u>Full authentication is required to access this resource</u></p><p><b>description</b> <u>This request requires HTTP authentication.</u></p><hr class="line"><h3>Apache Tomcat/8.0.14</h3></body></html>''. Will retry in 60 seconds. For more detail please set log level to DEBUG.
May 15 00:02:30:882 [UserSynchronizationThread, cabi_external] com.ca.cabi4uim.sso.exceptions.UserSynchronizationException: Error creating UimToJasperUserSync
    at com.ca.cabi4uim.sso.UimToJasperUserSync.<init>(UimToJasperUserSync.java:108)

    at com.ca.cabi4uim.sso.UserSynchronizationThread.synchronizeUsers(UserSynchronizationThread.java:63)
    at com.ca.cabi4uim.sso.UserSynchronizationThread.run(UserSynchronizationThread.java:50)
Caused by: com.ca.cabi4uim.sso.exceptions.JasperUserUtilityRestException: Error getting all users, got unexpected response code '401' and body '<!DOCTYPE html><html><head><title>Apache Tomcat/8.0.14 - Error report</title><style type="text/css">H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}.line {height: 1px; background-color: #525D76; border: none;}</style> </head><body><h1>HTTP Status 401 - Full authentication is required to access this resource</h1><div class="line"></div><p><b>type</b> Status report</p><p><b>message</b> <u>Full authentication is required to access this resource</u></p><p><b>description</b> <u>This request requires HTTP authentication.</u></p><hr class="line"><h3>Apache Tomcat/8.0.14</h3></body></html>'
    at com.ca.cabi4uim.sso.JasperUserUtility.getAllUsers(JasperUserUtility.java:743)
    at com.ca.cabi4uim.sso.UimToJasperUserSync.init(UimToJasperUserSync.java:97)
    at com.ca.cabi4uim.sso.UimToJasperUserSync.<init>(UimToJasperUserSync.java:106)
    ... 2 more
 

Environment

UIM 9.0
cabi_external 3.32
JasperReports Server 6.4.3

Resolution

CA Business Intelligence JasperReports Server 6.4.3 is not be with cabi_external probe 3.32 

Uninstall JasperReports Server 6.4.3 and install 6.3.0 JasperReports Server which is compatible with cabi_external probe 3.32