Response code :403 error starting cabi probe post UIM 20.4 upgrade
search cancel

Response code :403 error starting cabi probe post UIM 20.4 upgrade

book

Article ID: 232089

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

Wasp probe on Cabi server is up and we can see the Cabi page but can't log in to it.

Cabi probe won't start with the error below in the Cabi logs:

Jan 11 15:54:03:434 [main, cabi] SSO JasperUserUtility will be using jasperAdminUser: CABI_REST_USER 
Jan 11 15:54:03:918 [main, cabi] JasperUserUtility:login(): URL attempted :https://CABIserver/cabijs/login.html 
Jan 11 15:54:03:918 [main, cabi] JasperUserUtility:login(): Response code :403 
Jan 11 15:54:03:918 [main, cabi] JasperUserUtility:login(): Got an unauthorized response, I should fall back to superuser login 
Jan 11 15:54:03:918 [main, cabi] UimToJasperUserSync(): Can't log into CABI! Is the password in the database is wrong?  
Jan 11 15:54:03:918 [main, cabi] UimToJasperUserSync(): I'm going to try to recover from this and try some other login credentials 
Jan 11 15:54:03:918 [main, cabi] SSO JasperUserUtility will be using jasperAdminUser: superuser 
Jan 11 15:54:03:988 [main, cabi] JasperUserUtility:login(): URL attempted :https://CABIserver/cabijs/login.html 
Jan 11 15:54:03:988 [main, cabi] JasperUserUtility:login(): Response code :403 
Jan 11 15:54:03:988 [main, cabi] JasperUserUtility:login(): Got an unauthorized response, I should fall back to superuser login 
Jan 11 15:54:03:988 [main, cabi] UimToJasperUserSync(): Can't log into CABI! Has the default superuser password is changed?  
Jan 11 15:54:03:988 [main, cabi] UimToJasperUserSync(): I'm going to try to pull the superuser password out of the probe config. 
Jan 11 15:54:03:988 [main, cabi] reading config property: setup/recovery_username with def value: superuser ...  
Jan 11 15:54:03:988 [main, cabi] reading config property: setup/recovery_password ...  
Jan 11 15:54:03:988 [main, cabi] SSO JasperUserUtility will be using jasperAdminUser: superuser 
Jan 11 15:54:04:103 [main, cabi] JasperUserUtility:login(): URL attempted :https://CABIserver/cabijs/login.html 
Jan 11 15:54:04:104 [main, cabi] JasperUserUtility:login(): Response code :403 
Jan 11 15:54:04:104 [main, cabi] JasperUserUtility:login(): Got an unauthorized response, I should fall back to superuser login 
Jan 11 15:54:04:104 [main, cabi] UimToJasperUserSync(): I can't log into CABI! I've tried all the known passwords. I give up...

 

 

Environment

  • Release: 20.4
  • Component: UIM - CABI

Cause

  • The cabi probe superuser password was not set to the default before the upgrade.

Resolution

Do the following to resolve the issue:

1. Defaulted the Cabi password by running the below query on the database:

UPDATE jiuser SET password = '' WHERE username = 'superuser';

2. Login to the Cabi page using the username superuser, no password is needed, then go to Manage then Users then select the superuser then edit then type the superuser as the password then save.



3. Set cabi_rest_user key in the Cabi probe's raw configure to be superuser then apply the change. 



4. Restart the Cabi robot and verify the issue.

Additional Information

Additional Failing Scenario: 

In some scenarios, it has been observed that even though, after the upgrade to 7.5 or 8, the cabi probe fails to start with the below error, cabi still works (CABI Reports via OC work!) 

Jan 11 15:54:04:104 [main, cabi] Not able to connect to url=https://1*.*.*.*:443/cabijs

In this case, the same resolution steps apply. 

 

Notes:

•  Once the installation/upgrade is completed then you can Change the Default CABI Credentials

•  This article might be used to recover lost "superuser" credentials.

Attachments