MDVA-12304: 503 error on store front and cookie error
This MDVA-12304 Adobe Commerce patch solves 503 errors on store fronts, with Unable to send the cookie. Maximum number of cookies would be exceeded. error message in logs. This is a known Adobe Commerce 2.2.5 issue. This patch is available when the Quality Patches Tool (QPT) 1.0.12 is installed.
Affected products and versions
- The patch is created for Adobe Commerce version: Adobe Commerce on-premises 2.2.5.
- Compatible with Adobe Commerce versions: Adobe Commerce (all deployment methods) 2.x.x.
magento/quality-patches
package to the latest version and check the compatibility on the Quality Patches Tool: Search for patches page. Use the patch ID as a search keyword to locate the patch.Issue
Customers get a 503 error when navigating the store front. In the var/log/exception.log
file there is the following error message Unable to send the cookie. Maximum number of cookies would be exceeded.
The issue occurs because the Adobe Commerce default cookies limit is set to 50, and if the client’s browser hits the limit, Commerce throws an exception. The solution provided in the patch increases the cookie limit to 200.
Steps to reproduce:
The 503 error can display at any point when the customer is trying to log in and view their cart.
In the var/log/exception.log
file there is the following error message Unable to send the cookie. Maximum number of cookies would be exceeded.
Actual result: The customer cannot check their cart or complete their order.
Expected result: The customer can check their cart and complete their order.
Apply the patch
To apply individual patches, use the following links depending on your deployment method:
- Adobe Commerce or Magento Open Source on-premises: Software Update Guide > Apply Patches in our developer documentation.
- Adobe Commerce on cloud infrastructure: Upgrades and Patches > Apply Patches in our developer documentation.
Related reading
To learn more about Quality Patches Tool, refer to:
- Quality Patches Tool released: a new tool to self-serve quality patches in our support knowledge base.
- Check if patch is available for your Adobe Commerce issue using Quality Patches Tool in our support knowledge base.
For info about other patches available in QPT, refer to Patches available in QPT in our developer documentation.