Enable rate limit for On-Premises deployments
Enable the rate limit in the Control Room properties file to protect against a Denial of Service (DoS) attack.
A user can send a maximum of 1000 REST API requests within a period of five (5) minutes when the rate limit is enabled in a Control Room properties file.
- From the task manager, stop the Automation Anywhere Control Room Service on all nodes in a cluster.
Navigate to the Control Room configuration folder in the
C:\Program Files\Automation Anywhere\config
- Open boot.server.properties file in a text editor.
Add the following property at the end:
ratelimit.restriction.enabled=trueIf the property exists in the file, ensure the value is set to true.
- Perform the above steps on all nodes in the cluster.
Restart the Automation Anywhere Control Room Service on all nodes in the
To disable the rate limit, stop Automation Anywhere Control Room Service on all the nodes, update the property
falseand restart the service on all nodes.重要: If you add a new node in a cluster and the rate limit is enabled, ensure the same value is set for the new node because all nodes in a cluster must have the same value.