AR fails while copying the file to sandbox

Problem: In a cluster environment where one node uploads files and another node processes Advanced Routing, a route could fail with a transient error.

Possible cause: Once a file is uploaded in an AR subscription folder, it is copied from the subscription folder to the sandbox folder. If the shared storage synchronization does not happen on time, the second node does not "see" the file in the subscription folder uploaded on another node. As a result, a "no such file" error occurs and the route fails while copying the file to the sandbox folder.


Solution: In this case, retrying the failed operation more times or/and for longer intervals may solve the issue. SecureTransport uses an exponential backoff algorithm for retries: it increases the waiting time between the consecutive retries after each retry failure following the logic:

The first retry is after 1 x retryTime, the second retry is after 2 x retryTime, the third after 3 x retryTime and so on until the configured number of retries is reached.


  • retries is the maximum number of retry attempts for failed AR file processing operations configured in the parameter (10 by default).
  • retryTime is the delay of the first retry and the growth rate between attempts configured in the parameter. (100 ms by default).

With the default values, SecureTransport retries 10 times: the first retry happens in 100 ms, the second after 200, the third after 300, and so on. This sets a deadline of 5.5 seconds for SecureTransport to retry a failed AR file processing operation.
For example, if the number of retries is limited to 20, and the delay is set to 200 ms, the retries happen in 200, 400, 600, 800,...., 4000 ms. So, the total amount of time for retrying is 42 seconds.
The benefits of changing these parameters are dependent on the shared storage type and its performance


To customize the AR file processing retry logic, add the following in the <FILEDRIVEHOME>/bin/start_tm_console file and edit the values to fit your needs:




Related Links