Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
May 25, 2022 12:50:13 PM
May 25, 2022 12:50:13 PM
Error: {"error_code":"AEM_RUN_EXCEPTION","error_message":"Replication task \"TASK_NAME\" on server \"SERVER_NAME\" encountered an error when requested to run. message: SYS-E-HTTPFAIL, The underlying connection was closed: A connection that was expected to be kept alive was closed by the server.."}
1. Disable Automatic Cleanup of the task logs on the Replicate server. You will need to write a script that will purge older task logs from the ..\data\logs directory.
2. Adjust the log file cleanup schedule so it runs less often: You need to do the following from a command window running 'as administrator':
repctl -d [data directory] exportrepository include_server_settings=true
Look for the scheduler section and the LogFileCleanLogs job. Change the line "schedule" line, the number after the '0-59/' is the frequency: in this example I have changed it to run every 60 minutes from the default of 2. "schedule": "0-59/60 * * * *",
To import:
repctl -d [data directory] importrepository json_file=Replication_Definition
Then you will need to restart the Replicate service.
Conflict between the log file cleanup job which runs every 5 minutes and the Enterprise Manager API script.