IPV6 configuration causes startup failure hazelcast in API Gateway
search cancel

IPV6 configuration causes startup failure hazelcast in API Gateway

book

Article ID: 234664

calendar_today

Updated On:

Products

CA API Gateway

Issue/Introduction

API Gateway ssg service does not start after configuring IPv6 address from network configurations.

Below is a message from ssg_0_0.log:
2022-01-21T13:54:37,474+0100 WARNING 104 com.hazelcast.spi.impl.operationservice.impl.OperationRunnerImpl: [ ##.###.##.##.###]:8777 [gateway] [3.12.5] While sending on error... on: com.hazelcast.internal.cluster.impl.operations.JoinMastershipClaimOp{serviceName='hz:core:clusterService', identityHash=566848228, partitionId=-1, replicaIndex=0, callId=20, invocationTime=1642769677474 (2022-01-21 13:54:37.474), waitTimeout=-1, callTimeout=10000}, error: java.lang.IllegalArgumentException: Target is this node! -> [ ##.###.##.##.###]:8777

java.lang.IllegalArgumentException: Target is this node! -> [ ##.###.##.##.###]:8777, response: ErrorResponse{callId=20, urgent=true, cause=java.lang.IllegalArgumentException: Target is this node! -> [ ##.###.##.##.###1]:8777}

Environment

Release : 10.0

Component : API GATEWAY

Resolution

Add the following values to the system.properties file 

/opt/SecureSpan/Gateway/node/default/etc/conf/system.properties 

# IPv6 settings

hazelcast.prefer.ipv4.stack=false
java.net.preferIPv4Stack=false
java.net.preferIPv6Addresses=true

Restart ssg service.

Additional Information

Make a copy of the /opt/SecureSpan/Gateway/node/default/etc/conf/system.properties file before doing the changes.