cancel
Showing results for 
Search instead for 
Did you mean: 

Sign in to Magento Marketplace => "Invalid response line returned from server: HTTP/2 200"

SOLVED

Re: Sign in to Magento Marketplace => "Invalid response line returned from server: HTTP/2 20

The adding of the file worked.

Re: Sign in to Magento Marketplace => "Invalid response line returned from server: HTTP/2 20

Excellent job, works great! Thank you.

Re: Sign in to Magento Marketplace => "Invalid response line returned from server: HTTP/2 20

A solution that worked for me is to replace the following code at lib/internal/Magento/Framework/HTTP/Client/Curl.php or vendor/magento/framework/HTTP/Client/Curl.php Add Following changes in this function : protected function parseHeaders($ch, $data) if ($this->_headerCount == 0) { $line = explode(" ", trim($data), 3); /* Remove this line */ //if (count($line) != 3) { /* Add this line */ if (count($line) < 2) { $this->doError("Invalid response line returned from server: " . $data); } $this->_responseStatus = intval($line[1]);