Cadet 1st Class Cadet 1st Class
Cadet 1st Class
875 views

OPB controller authentication error

OPB was installed but the controller log file shows the following:

[2019-06-27 17:27:52,922] ERROR [WrapperSimpleAppMain] (ControllerMain.java:145) Failed to login. The agent will be restarted and then continue the login retries.
[2019-06-27 17:27:52,924] ERROR [WrapperSimpleAppMain] (ControllerExiter.java:17) The agent is stopped with System.exit and will be restarted by the service wrapper.
[2019-06-27 17:29:29,043] INFO [login] (LoginInvoker.java:59) Doing login to https://ashvsl016.demo.tech:443/auth/authentication-endpoint/authenticate/login?TENANTID=944482460
[2019-06-27 17:29:29,044] INFO [login] (LoginInvoker.java:67) Start to execute login request
[2019-06-27 17:29:29,411] ERROR [login] (LoginInvoker.java:84) HTTP failure! URI: https://ashvsl016.demo.tech:443/auth/authentication-endpoint/authenticate/login?TENANTID=944482460; Status: HTTP/1.1 500 Internal Server Error
[2019-06-27 17:29:29,412] INFO [login] (LoginInvoker.java:71) Finish to execute login request, the StatusCode is 500
[2019-06-27 17:29:29,413] INFO [login] (LoginGatewayImpl.java:195) Waiting 360 sec before next login

User for OPB was created as integration user, it has OPB Agent Role. Can't find any information related to this error. When trying to add an end point there are no credentials presented

Capture2.PNG

Could any one advise what might be wrong? or where to troubleshoot?

Thanks 

0 Likes
14 Replies
Lieutenant Commander Lieutenant Commander
Lieutenant Commander

Hello andrewsro,

Thanks for the reply... I have tested the connection through the port 443 and it's ok, the certificates were imported correctly and I ran the .bat a lot of times and the issue stills.
0 Likes
Fleet Admiral
Fleet Admiral

If  agent is not authorized/connected then you can not create end point. Also before doing that you have to create the credentials for the endpoint in OPB.

Have you tried the troubleshooting steps provided in following page?

https://docs.microfocus.com/itom/SMAX:2020.05/PN/cg_opb_troubleshooting

0 Likes
Cadet 1st Class Cadet 1st Class
Cadet 1st Class

Hello,

I want to add something that could be useful here:

possibly the issue with setting the credentials improperly.

in Linux agent version, use single quote around the user name and password while setting the Auth credentials.

Instructions:

navigate to the path:

/opt/OpsAgent/product/util/opb

run the command:

./agentAuthentication.sh setAuth -user 'username' -pass 'password'

 

Where the username and password is the pair defined as an integration user (DB type)  with "OBP Remote Agent" role in SMAX.

 

With Regards,

Ahmed Soliman

Senior Consultant

The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.