We are having problems using the 'eZ Publish Content Staging LS' extension version 5.3 on an 'eZ Publish 5.3.4 Enterprise Installation' with nginx 1.4 (the same occurs with version 1.6).
Simply put, when we try to sync an event from the source installation to the target installation, we are receiving the following error:
We have found that this error is caused due to the fact that php enters the following if statement, generating an ERROR_BAD_RESPONSE respone:
The problem is that on nginx:
On the other hand, we do not receive any sync errors using apache as:
When using nginx the response seems to be unexpected, and the following message is displayed. (see the screenshot attached)
Content staging assumes that the sync failed and will keep the event in the source, which is wrong.
Steps to reproduce:
Start from a 5.3.4 environment
- Install content staging 5.3
- Create a new folder on source
- Sync the created event
The sync will look like it failed, but it didn't.
This is because of the response in the headers.