Issue
- During a deployment when new instances are being created and can receive request while the deployment is still being executed.
- Also the following warning is shown on the logs:
WARN [http-nio2-8080-exec-19] [UploadServletRequestImpl: 255] Unable to parse upload request: the request doesn't contain a multipart / form-data or multipart / mixed stream, content type header is null
Environment
- Liferay Cloud
Resolution
- You can set the property:
publishNotReadyAddressesForCluster: false
on your LCP.json file for the Liferay instances being started (created by the deploy) to not receive any requests until they are ready.
Subscriber Exclusive Content
A Liferay Enterprise Subscription provides access to over 1,500 articles that include best practices, troubleshooting, and other valuable solutions. Sign in for full access.
Sign In