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...
Run through the following steps to resolve the issue:
1. Set the CABI password to the default by running the this 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 and then select the superuser.
Then edit, then type superuser as the password then Save.
3. Set cabi_rest_user key in the Cabi probe's raw configure to be superuser then Click Apply.
4. Restart the Cabi robot and verify the issue is resolved.
Additional Failure Scenario:
In some scenarios, it has been observed that even after the upgrade to 7.5 or 8, the cabi probe fails to start and throws the following error, yet 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 also be used to recover lost "superuser" credentials.