After setting up the Spectrum DataPublisher the connection fails
search cancel

After setting up the Spectrum DataPublisher the connection fails

book

Article ID: 281983

calendar_today

Updated On:

Products

Network Observability Spectrum

Issue/Introduction

The logs show the following error:

ERROR [HttpResponseHandler] [handleResponse] - HTTP response- Url : https://<ip>/spectrum/spectrum/restful/heartbeat , error code: 404

Cause

The ../SpectrumDataPublisher/config/ConnectorConfig.xml was not configured correctly?

Resolution

The issue is with this entry in the ConnectorConfig.xml:

<OneClickServerUrl>https://<IP>/spectrum</OneClickServerUrl>

If you look at the example in the ConnectorConfig.xml, it says:

<!-- give OneClickServerUrl. example: http://spectrum-w2k8-123.net:8080/ -->

If you look at the error, it shows:

https://<IP>:443/spectrum/spectrum/restful/heartbeat

Edit the ConnectorConfig.xml file, omit the spectrum entry in the OneClickServerUrl, and restart the connector.