search cancel

Error Integration DX IM DX OI SaaS

book

Article ID: 214291

calendar_today

Updated On:

Products

DX Operational Intelligence

Issue/Introduction

When trying to integrate DX Infrastructure Management with DX Operational Intelligence below error is showing into the Oi connector and the integration does not work:

[INIT_THREAD, oi_connector] URL provided :: https://<doi elasticsearch route>
[INIT_THREAD, oi_connector] Error in OI Connector Initializer Thread java.lang.IllegalArgumentException: Illegal character in authority at index 8: https://<doi elasticsearch route>
 at java.net.URI.create(URI.java:852)
 at org.apache.http.client.methods.HttpGet.<init>(HttpGet.java:66)
 at com.nimsoft.probe.gateway.oi_connector.utils.CallbackUtils.validateResponseFromElasticSearch(CallbackUtils.java:156)
 at com.nimsoft.probe.gateway.oi_connector.monitor.ElasticSearchMonitor.initiateMonitoring(ElasticSearchMonitor.java:41)
 at com.nimsoft.probe.gateway.oi_connector.monitor.AbstractDOIMonitor.startMonitoring(AbstractDOIMonitor.java:13)
 at com.nimsoft.probe.gateway.oi_connector.monitor.ElasticSearchMonitor.startMonitoring(ElasticSearchMonitor.java:31)
 at com.nimsoft.probe.gateway.oi_connector.OIConnectorInitializer.monitoDOI(OIConnectorInitializer.java:343)
 at com.nimsoft.probe.gateway.oi_connector.OIConnectorInitializer.startDOIMoniotoring(OIConnectorInitializer.java:314)
 at com.nimsoft.probe.gateway.oi_connector.OIConnectorInitializer.run(OIConnectorInitializer.java:58)
 at java.lang.Thread.run(Thread.java:748)
Caused by: java.net.URISyntaxException: Illegal character in authority at index 8: https://<doi elasticsearch route>
 at java.net.URI$Parser.fail(URI.java:2847)
 at java.net.URI$Parser.parseAuthority(URI.java:3185)
 at java.net.URI$Parser.parseHierarchical(URI.java:3096)
 at java.net.URI$Parser.parse(URI.java:3052)
 at java.net.URI.<init>(URI.java:588)
 at java.net.URI.create(URI.java:850)
 ... 9 more

 

Environment

Release : 20.2

Component : CA DOI Foundations

Oi connector 1.38

Resolution

1) Edit the probe in Raw Configure and do the following changes:

FROM
esURL = https://<DOI Elasticsearch Route>

TO
esURL =

To have just a blank value for the key, as above.

2) Save the file.
3) Deactivate/activate the probe and verify again.