Applies To:
GroupID 9 and above - Replication
Information:
In GroupID, searches are catered through Elasticsearch.
Elasticsearch relies on the Replication service to replicate object attributes from the provider (such as Active Directory) to the Elasticsearch repository.
Error:
An error occurs if the batch size is too big for replication to handle. In the replication logs, the following log is generated:
2018-11-02 08:18:45,172 #=# ERROR #=# [3] #=# Imanami.Replication.ReplicationJob #=# 12001 #=# 12003 #=# Error occurred while replicating {0} in elastic Elasticsearch.Net.ElasticsearchClientException: The remote server returned an error: (413) Request Entity Too Large.. Call: Status code 413 from: POST /_bulk?refresh=true ---> System.Net.WebException: The remote server returned an error: (413) Request Entity Too Large. at System.Net.HttpWebRequest.GetResponse() at Elasticsearch.Net.HttpConnection.Request[TResponse](RequestData requestData) |
Log Report for GroupID 9: ~GroupID9-Replication.log
Log Report for GroupID 10: ~GroupID10-Replication.log
C:\Windows\Temp\
Resolution:
Follow the steps below to resolve the issue:
- In the Run dialog box, type RegEdit.
- For GroupID 9:
Expand HKEY_LOCAL_MACHINE > SOFTWARE > Imanami > GroupID > Version 9.0 > Replication (make sure to click on the tab and not expand it).
For GroupID 10:
Expand HKEY_LOCAL_MACHINE > SOFTWARE > Imanami > GroupID > Version 10.0 > Replication (make sure to click on the tab and not expand it). - Right-click in the adjacent panel and select New > String Value.
- Type BulkIndexBatchSize and press Enter.
Note: The name is case-sensitive, so type it as it is. - Double-click the newly created string value and give it a value between 1-9000.
Run the replication after applying the fix and the issue will be resolved.
Reference:
GroupID Online Help topic: Elasticsearch - Replication Settings