Composer error: Failed to decode response: Failed to decode zlib stream

Composer error: Failed to decode response: Failed to decode zlib stream

If you've experienced this error using Composer, there are several ways on how to solve this.

1. Verify whether the Amasty repository is installed and whether the authentication keys are valid. More information on this can be found in our Composer User Guide.

2. Check whether the server have access to the internet. The below command can help with it: 

curl -I

3. Check whether the required zlibc library is installed on the server. The next command will either install it or will show that this library is already installed: 

sudo apt-get install zlibc

4. Check whether the zlib.output_compression setting is enabled in the php.ini file. It can be checked with this command: 

php -i | grep "zlib.output_compression"

In case the issue persists, please contact our support team.
      • Announcements

      • Already Done in Q1'23

        Brand new extensions We launched a coming soon page for the new Back Forward Cache extension. It restores the recently visited page when the customer clicks 'Back' or 'Forward' browser options, thus ensuring faster page load speed. Subscribe to the release
      • Roadmap | What to expect in Q1'23

        New features and improvements Improved Layered Navigation generate SEO-friendly URLs for multi-select Category filter; better speed performance of the Apply filters button; improve Category list load time. Special Promotions Pro optimize data types in
      • Already Done in Q4'22

        New Amasty services Make sure your site is well-performing with our E-commerce QA testing service. Let our specialists check various elements of your website and get the issues fixed. The service is available for any e-commerce platform (Magento, Shopify,
      • Roadmap | What to expect in Q4'22

        New features and improvements Elastic Search better performance of synonyms; REST API support. Product Labels enhanced extension performance with a lot of products on the page. Blog Pro posts migration from one Magento instance to another; email notifications
      • Already done in Q3'22

        New solutions Our new SaaS tool - Website SEO Health Check. Discover the most severe SEO mistakes which can damage your website. Available as part of Pro and Premium SEO Toolkit. New features and improvements Import and Export NEW we added the possibility