KB Article #179773

How do you change the connection timeout setting at a domain or instance level

Problem

How do you change the connection timeout setting at a domain or instance level when the default setting (30000 ms) is not appropriate?


Resolution

You can control the setting by adding a connectTimeout parameter similar to the example below, to the instance's service.xml file, e.g. /apigateway/groups/group-X/instance-Y/conf/service.xml

<SystemSettings tracelevel="INFO" secret="${secret}"
        serviceID="${serviceID}" groupID="${groupID}"
        serviceName="${serviceName}" groupName="${groupName}"
        domainID="${domainID}" connectTimeout="1000"  title="API Gateway"/>.


Note that this setting does not exist within the Node Manager's service.xml file. The Node Manager has a SystemSettings tag within /apigateway/system/conf/nodemanager.xml that may be edited.