Closed pavan2540 closed 8 years ago
There should be an issue with the connection uri you are providing.
My graphenedb account uris are ending with /db/data
, please check yours.
In case of doubt, send me a screenshot of your graphenedb connection screen privately to
christophe at graphaware dot com
@pavan2540 In the meantime, this library is supported only for bug fixes, I highly recommend you upgrade to https://github.com/graphaware/neo4j-php-client where I ported the library.
hi sir, the same code im able to connecting from my system local to grapheenDB, but from godaddy to grapheenDB .. i'm gettin this issue
Ha ok
Check that the port used for graphenedb is open for outgoing connections on your godaddy server
Sent from my iPhone
On 31 May 2016, at 18:11, pavan2540 notifications@github.com wrote:
hi sir, the same code im able to connecting from my system local to grapheenDB, but from godaddy to grapheenDB .. i'm gettin this issue
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
@ikwattro this is the error msg im getting while doing simple curl call from sharing host server to grapheenDB ... can u please tell me . what is this error .. and how to resolve it Stack trace:
same like earlier , its working form localhost and not from sharing hosting providers like (godaddy,bluhost)
my db config file code looks like
<?php require_once 'vendor/autoload.php';
use Neoxygen\NeoClient\ClientBuilder;
$client = ClientBuilder::create() -> addConnection('default', 'http', 'tobotob.sb02.stations.graphenedb.com', 24789, true, 'tobotob', 'TNhMM7Oec6X6YQ6DUqTO') -> build();
?>
what this command is giving you (run it on your godaddy server !)
telnet tobotob.sb02.stations.graphenedb.com 24789
For me, the port 24789 is not open for outgoing connections from your godaddy server, check the config of your server.
Hi, i have use Neoxygen\NeoClient in my project , the code and website is hosted in godaddy, now i want to config from godaddy to grapheendb db .. im getting the error while connecting ...can u please help me out...
my config file code looks like this in godaddy <?php require_once 'vendor/autoload.php'; use Neoxygen\NeoClient\ClientBuilder;
$client = ClientBuilder::create() -> addConnection('default', 'http', 'tobotob.sb02.stations.graphenedb.com', 24789, true, 'tobotob', 'TNhMM7Oec6X6YQ6DUqTO') ->setDefaultTimeout(20) ->setAutoFormatResponse(true) -> build(); ?> below one is the error im getting
Fatal error: Uncaught exception 'Neoxygen\NeoClient\Exception\HttpException' with message 'Error on Connection "default" with message "cURL error 7: Failed to connect to tobotob.sb02.stations.graphenedb.com port 24789: Connection refused (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)"' in /home/balavariyam/publichtml/php/vendor/neoxygen/neoclient/src/EventListener/HttpRequestEventSubscriber.php:74 Stack trace: #0 [internal function]: Neoxygen\NeoClient\EventListener\HttpRequestEventSubscriber->onHttpException(Object(Neoxygen\NeoClient\Event\HttpExceptionEvent), 'neoclient.http...', Object(Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher)) #1 /home/balavariyam/public_html/php/vendor/symfony/event-dispatcher/EventDispatcher.php(181): call_userfunc(Array, Object(Neoxygen\NeoClient\Event\HttpExceptionEvent), 'neoclient.http...', Object(Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher)) #2 /home/balavariyam/public_html/php/vendor/symfony/event-dispatcher/EventDispatcher.php(46): Symfo in /home/balavariyam/public_html/php/vendor/neoxygen/neoclient/src/EventListener/HttpRequestEventSubscriber.php on line 74