Cadet 1st Class Cadet 1st Class
Cadet 1st Class
873 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
Cadet 1st Class Cadet 1st Class
Cadet 1st Class

Did you know resolution?

0 Likes
Commodore Commodore
Commodore

Hi,

 

This is just a login error.

A few things to make sure of.

 

1. Make sure the opb user you specified is in the tenant.  (should be an integration user)

2. make sure that user has the OPB role.

3. test that you can login with opb credentials that you initially entered in the opb install.

4. be sure that the opb can communicate to the master/load balancer over port 443.

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

Hi,
Thanks for your answer, but
1 and 2 - OK

3-4 not so good

Do you know what's wrong?

0 Likes
Commodore Commodore
Commodore

Hi Igor,
looks like your password expired.
Reset that OPB users password, and then run the script in the opb files to update those credentials.

and it also looks like the opb cant connect to the smax server.
run command
Telnet <smax host> 443

and then contact your network team to open firewalls if needed.
also check if firewalld is running on the smax master. that can sometimes cause issues with communication between servers

Ran into the same problem. Is there any solution?
0 Likes
Fleet Admiral
Fleet Admiral

Depends on your controller log file contents. It may be user credential issue or the roles. Or as mentioned may be network error.

 

 

0 Likes
Lieutenant Commander Lieutenant Commander
Lieutenant Commander

Hello!

Did anyone solve this issue? I'm facing a very similar error, I have passed the login step succesfully but then I get the next error:

[2020-07-30 15:38:47,926] ERROR [opbAgentRequestSync-1-thread] (HttpClientRequestInvoker.java:107) HTTP failure! URI: https://smax.com:443/rest/358482730/remoting/tasks/output_data?agent=fa4eb739d87cb64966cf4338&TENANTID=358482730; Status: HTTP/1.1 500 Internal Server Error

Any advice?

Thanks!

 

 

 

 

0 Likes
Fleet Admiral
Fleet Admiral

usually its coming from the server(you mayhave not integration user or  insufficient access role OPB role)

0 Likes
Lieutenant Commander Lieutenant Commander
Lieutenant Commander

Hello Misaq,

Thanks for you reply. The user I'm using is an integration user and has the role as remote agent also it was added to the tenant.

In the attached image we can see the error I got when tried to configure the Agent, it is related with credentials ID.

Any idea

Thanks!!

0 Likes
Lieutenant Commander Lieutenant Commander
Lieutenant Commander

Hello, not yet, did you find a solution?
0 Likes
Commodore Commodore
Commodore

Hello,

here are a few more things for you to check.

verify you can connect to smax from the opb server using a browser. (opb communicates on port 443)

smax certificate is in the OPB keystore

rerun the opbauthentication.bat just to be sure. I have noticed in the latest versions it doesnt set the creds correctly. sometimes.

0 Likes
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.