search cancel

Error running the Spectrum Report Manager poll_device.sh script using https port

book

Article ID: 228180

calendar_today

Updated On:

Products

CA Spectrum DX NetOps

Issue/Introduction

The Spectrum Report Manager (SRM) OneClick system is configured to use https port 8443. The default http port 8080 is disabled.

When running the $SPECROOT/Install-Tools/SRM-Tools/poll_device.sh using port 8443, the following error is seen:

./poll_device.sh -s SRM_SERVER -p 8443 -u spectrum -w spectrum -m 0x110000b4

Exception in thread "main" org.springframework.remoting.RemoteConnectFailureException: Could not connect to HTTP invoker remote service at [http://SRM_SERVER:8443/spectrum/repmgr/remoting/PollingService];

Notice in the above error, it defaults to use http and not https.

NOTE: The above example uses the default https port for Linux. The same results would occur no matter the https port number configured on either Linux or Windows.

Environment

Version: Any

Component: Spectrum Report Manager

Resolution

Specify the https url of the SRM system for the "-s" parameter. The following is an example:

./poll_device.sh -s https://SRM_SERVER -p 8443 -u spectrum -w spectrum -m 0x110000b4