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.
When you enable the rate limit in a Control Room properties file, a user cannot send more than 1000 REST API requests within a period of five minutes.
- From the task manager, stop the Automation Anywhere Control Room Service on all the nodes in a cluster.
Navigate to the Control Room configuration folder where you have
installed the Control Room.
C:\Program Files\Automation Anywhere\config
- Open the boot.server.properties file in a text editor.
At the end of the file, add the following property:
ratelimit.restriction.enabled=trueIf the property exists in the file, ensure that the value is set to true.
- Perform the preceding steps on all the nodes in the cluster.
Restart the Automation Anywhere Control Room Service on all the nodes in the
To disable the rate limit, stop the Automation Anywhere Control Room Service on all the nodes, change the
false, and restart the service on all the nodes.重要： All the nodes in a cluster must have the same value for the
ratelimit.restriction.enabledproperty. If the rate limit is enabled on all the nodes in a cluster and you add a node to the cluster, ensure that the rate limit is enabled on the node you add.