Error on batch/upload rest api with multiple servers


We are currently using the batch/upload rest api to upload files, and we need to load more than one instance of Nuxeo, to distribute requests, but put an elastic load balance in front of the servers is causing a problem in upload (I imagine that because of tmp data).

How can I solve this problem? Configuring a cluster enviroment? The bach/upload rest api will work in this case?


0 votes

1 answers




Yes indeed the batch upload is currently not cluster aware.

We are working on fixing this for the next version of Nuxeo, the LTS 2015 (7.10), see

Waiting for it you can use session affinity with a session cookie or a specific header to make sure that both /batch/upload and /batch/execute requests are run on the same node for a given batch.

Hope this helps.

0 votes