Feature #93399: Contract 2018 first semester
Page doesn't exist message after uploading a document
For the second time during last 7 days I experienced the same problem.
I upload a document to the land portal (Technical Library) and once upload is completed I get an error message attached as print screen.
However, the documents are uploaded correctly.
I have uploaded tens of documents in last months but the error started appearing very recently (related to the latest deployments?)
Could you please check?
#1 Updated by Ghita Bizau 2 months ago
- File Screenshot from 2018-03-12 16-26-01.png Screenshot from 2018-03-12 16-26-01.png added
- File Screenshot from 2018-03-12 16-20-37.png Screenshot from 2018-03-12 16-20-37.png added
- Category set to Land
- Parent task set to #93399
To be investigated. No error for first tests (Google Chrome, demo & production websites).
#4 Updated by Ghita Bizau 2 months ago
- Assignee changed from Ghita Bizau to Anton Cupcea
- % Done changed from 0 to 30
Received advice from David Glick on Plone Community:
This can happen if you are running multiple Zope instances. Adding a file involves an HTTP POST to the add form URL followed by a redirect to a GET of the file’s URL. If the load balancer sends these two requests to different instances, and the 2nd instance already had the folder in the ZODB cache, it’s possible that the GET will be handled by the 2nd instance before it has received invalidations from the ZEO server to know that the database was updated with the new file.
The easiest workaround is probably to configure your load balancer to use sticky sessions so that it prefers to send the same client to the same Zope instance.
Anton, can you set this configuration, please?