Hello trying simple example for graphware .throwing me below error.
Handshake Exception. Unable to negotiate a version to use. Proposed versions were [1,0,0,0]
sample code is given below. point to notable is the server is not ssl enabled to requests are http
<?php
require_once 'vendor/autoload.php';
use GraphAware\Neo4j\Client\ClientBuilder;
$client = ClientBuilder::create()
->addConnection('bolt', 'bolt://neo4j:xxxxxxxxxxxxxxxxxx@xxx.xx.xx.xx:7687')
->build();
$query = "MATCH (n) RETURN n LIMIT 1";
try {
$result = $client->run($query);
foreach ($result->getRecords() as $record) {
print_r($record);
exit();
}
} catch (\Exception $e) {
var_dump($e->getMessage());
}