Few days ago we got a new problem, one part of our website stopped working, we used guzzle with Symfony2 to make requests to our RESTful API. After checking logs the only thing I could find was something like that:
[curl] 56: Problem (2) in the Chunked-Encoded data [url]
We changed guzzle to guzzlehttp as it was outdated, tried few other things (creating request and adding data, json request, making request header and body and sending all at once (client->put) but nothing helped. Then focused on main problem, cURL.
Actually it was problem of cURL itself (yep, that is very strange) and after updating it to 7.36 version problem solved by itself.
sudo add-apt-repository ppa:costamagnagianfranco/ettercap-stable-backports
sudo apt-get update && sudo apt-get install curl
Happy Coding...Share on Twitter Share on Facebook