jadell / neo4jphp

PHP wrapper of the Neo4j REST interface
Other
532 stars 137 forks source link

Curl : Problem (2) in the Chunked-Encoded data #144

Open bmancone opened 10 years ago

bmancone commented 10 years ago

I've been having issues with Curl for the last few days, in Transport\Curl.php.

In order to identify the issue, I updated the exception thrown when $response === false in makeRequest().

Here is the log :

[Everyman\Neo4j\Exception]                                                                                    

[Can't open connection to http://127.0.0.1:7474/db/data/index/node] [Problem (2) in the Chunked-Encoded data]

It appears that a fix would be to set CURLOPT_HTTP_VERSION to CURL_HTTP_VERSION_1_0.

What do you think ? Am I the only one getting this error ?

vamsiikrishna commented 8 years ago

hi @bmancone I am facing the same issue . how did you resolve this ?