KB Article #182623
Missing or invalid value for property DXAGENT_SITE_ATTR_CONNECTIONIDLETIMEOUT
Problem
SecureTRansport 5.5 logs warning messages when using SSH Transfer Sites created before ST 5.5-20220630:
Missing or invalid value for property 'DXAGENT_SITE_ATTR_CONNECTIONIDLETIMEOUT. Will use default value '300'.
Post ST 5.5-20220630, the SSH Transfer Site's Network Settings are properly populated when a new Transfer Site is created. If an SSH Transfer Site was created before this update(but 5.5-20220630 or newer is applied), the "Connection Idle timeout" value is empty, resulting in the above warning message being logged.
Resolution
The message does not have any operational impact. It suggests that the "Connection Idle timeout" is empty and that the default value of "300" will be used.
To stop the message from being logged, the "Connection Idle timeout" value must be updated within the affected SSH Transfer Sites. The default value of "300" is recommended.
If there are multiple SSH Transfer Sites that need to be updated, a loop can be used to traverse ALL SSH Transfer Sites and update the "Connection Idle timeout" value via the API:
for id in $(curl -X 'GET' 'https://HOSTNAME:ADMINPORT/api/v1.4/sites?limit=10000&protocol=ssh' -H 'accept: application/json' -k -u ADMINUSER:ADMINPASS | grep '"id"' | cut -d '"' -f 4); do echo $id && curl -X 'POST' https://HOSTNAME:ADMINPORT/api/v1.4/sites/$id -H 'accept: application/json' -H 'Content-Type: application/json' -d '{"connectionIdleTimeout" : "300"}' -k -u ADMINUSER:ADMINPASS; done
In the above command replace:
ADMINUSER:ADMINPASS with the proper admin credentials
HOSTNAME with the hotname or IP of SecureTransport
ADMINPORT with the port, on which the ST's admin service runs on