Magento – Magento 2: Zend_Http_Exception Invalid header line detected

exceptionmagento2

I am get the following error:

[Zend_Http_Exception] Invalid header line detected.

In the terminal when running such below commands as:

  • php bin/magento cache:flush or
  • php bin/magento setup:upgrade

This issue seems to come out of no where. I have looked around the internet and have found people with the same issue recently but no solutions.

I was wondering if anyone has managed to get a solid fix for this or knows what the cause is?

Best Answer

We had the same problem which was caused by the litemage caching extension. Reinstalling with the latest version of litemage solved the problem you mentioned.

But there is another problem when we tried to integrate m2 with Linnworks and the same error occurred in exception log when we tried to activate the integration. Frustrated!

Related Topic