I'm working on a bitcoinj-based Bitcoin JSON-RPC server and discovered that bitcoin-cli will return:
error: no response from server
when the JSON-RPC server returns an HTTP chunked response. curl and my Java client work correctly with the server -- and if I modify the server to not send chunked responses bitcoin-cli works.
I can provide links to more info or to a test server if needed.
p.s. I tested on Mac OS X with a client built from source that reports v0.10.2.0-390ea20