Currently, the esync tool does not work with AWS ES, please make the necessary changes so that the customers using AWS ES can run it. It would also help the cloud and support team in their investigations for cloud customers.
Configuration from esync-mongodb.conf
nuxeo.mongodb.server=mongodb://******:******@172.16.0.31,172.16.0.117,172.16.0.151/nuxeo?maxPoolSize=400 #nuxeo.mongodb.server=mongodb://localhost:27017 nuxeo.mongodb.dbname=nuxeo nuxeo.mongodb.collection=default #elasticsearch.addressList=localhost:9200 #9200 elasticsearch.addressList=vpc-nuxeo-es-prod10-o2oi2poqk655fb5jciunjvg7tq.us-west-2.es.amazonaws.com:443 elasticsearch.indexName=nuxeo checker.pool.size=10 ## Skip these checkers ## Especially the AclChecker must be disabled if you have lots of ACL and want a quick feedback checker.blackList=AclChecker
Error from the logs
00:58:34,843 [pool-2-thread-1] ERROR [org.nuxeo.tools.esync.es.EsDefault] Failed to count documents org.apache.http.ConnectionClosedException: Connection closed at org.apache.http.nio.protocol.HttpAsyncRequestExecutor.endOfInput(HttpAsyncRequestExecutor.java:344) ~[httpcore-nio-4.4.5.jar:4.4.5] at org.apache.http.impl.nio.DefaultNHttpClientConnection.consumeInput(DefaultNHttpClientConnection.java:261) ~[httpcore-nio-4.4.5.jar:4.4.5] at org.apache.http.impl.nio.client.InternalIODispatch.onInputReady(InternalIODispatch.java:81) ~[httpasyncclient-4.1.2.jar:4.1.2] at org.apache.http.impl.nio.client.InternalIODispatch.onInputReady(InternalIODispatch.java:39) ~[httpasyncclient-4.1.2.jar:4.1.2] at org.apache.http.impl.nio.reactor.AbstractIODispatch.inputReady(AbstractIODispatch.java:114) ~[httpcore-nio-4.4.5.jar:4.4.5] at org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:162) ~[httpcore-nio-4.4.5.jar:4.4.5] at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:337) ~[httpcore-nio-4.4.5.jar:4.4.5] at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:315) ~[httpcore-nio-4.4.5.jar:4.4.5] at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:276) ~[httpcore-nio-4.4.5.jar:4.4.5] at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:104) ~[httpcore-nio-4.4.5.jar:4.4.5] at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:588) ~[httpcore-nio-4.4.5.jar:4.4.5] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_191]
- is related to
-
NXP-27940 Make sure esync works with https
- Open