unable to connect oi_connector to Operator Console using HTTPS
search cancel

unable to connect oi_connector to Operator Console using HTTPS

book

Article ID: 370731

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

When the oi_connector probe attempts to contact Operator Console (e.g. for Multi-tenant Origins ), the connection is failing.

It appears that the probe uses HTTP protocol instead of HTTPS.  When attempting to validate the connection, the error may look like one of the following:

Failure
Not Found

Or

Failure
Error

In the logs, you'll see the connection attempt to UIM REST as follows:

Jun 24 12:44:52:258 [attach_socket, oi_connector] Validating UIM REST Connection
Jun 24 12:44:52:258 [attach_socket, oi_connector] URL:-http://(Operator Console):443/rest/origins
Jun 24 12:44:52:277 [attach_socket, oi_connector] Response to Parse:-HTTP/1.1 400  [Content-Type: text/plain;charset=UTF-8, Connection: close] org.apache.http.conn.BasicManagedEntity@7d60009b
Jun 24 12:44:52:277 [attach_socket, oi_connector] Parsed Response:-ERROR
Jun 24 12:44:52:277 [attach_socket, oi_connector] Response:-ERROR
Jun 24 12:44:52:277 [attach_socket, oi_connector] result is ERROR

Note that HTTP protocol is used even though the configured port is the default HTTPS port (443).

Environment

oi_connector 1.55

Cause

oi_connector doesn't have means to change the protocol used for UIM REST Connections.  HTTP is the only protocol currently available.

Resolution

The next version of oi_connector is planned to fix this by allowing the protocol to be selected for the UIM REST connection.  We have the following workaround.

  1. Update the wasp.cfg Configuration:
    • Locate your OC server's wasp.cfg file and open it for editing.
    • In the setup section, add or modify the http_port key to specify a port.
    • Deactivate/Activate the wasp probe
  2. Configure the oi_connector:
    • Open the configuration for oi_connector.
    • In the OC Connection Details section, ensure that provide the correct connection details matching wasp.cfg configuration, Specifically, give the same port number given for http_port of OC server.
  3. Validate the Connection:
    • Use the validate connection button in the oi_connector configuration to verify that the settings are correct and that a connection can be established.

Additional Information