Health check service goes up and stops in a few seconds in VIP Enterprise Gateway

book

Article ID: 242286

calendar_today

Updated On:

Products

VIP Service

Issue/Introduction

We are configuring Health Check to use Business Continuity. We configure SMTP settings ok, but after we try to bring up the Health Check service, it hangs for a few seconds and stops.

Cause

Health Check properties file has missing values.

Environment

Release : 1.0

Component : VIP Enterprise Gateway

Resolution

Analyzing the log file healthcheckservice.out.log found at <VIP-Enterprise-Gateway>/tools directory, following log lines are observed.

Binding to target org.springframework.boot.context.properties.bind.BindException: Failed to bind properties under 'healthcheck' to com.symantec.healthcheck.config.HealthCheckConfig failed:

    Property: healthcheck.mail.connectionRestoredMsg
    Value: 
    Reason: mail connectionRestoredMsg field can't be empty.

    Property: healthcheck.mail.connectionRestoredSub
    Value: 
    Reason: mail connectionRestoredSub field can't be empty.

    Property: healthcheck.mail.connectionLostMsg
    Value: 
    Reason: mail connectionLostMsg field can't be empty.

    Property: healthcheck.mail.connectionLostSub
    Value: 
    Reason: mail connectionLostSub field can't be empty.

The above entries are missing in the healthcheck.properties file found at <VIP-Enterprise-Gateway>/conf directory. 

healthcheck.properties file is uploaded to this KB article which can be referenced to make the changes necessary changes.

Attachments

1653320113098__healthcheck.properties get_app