Skip to content

Fixing Errors

t3ran13 edited this page Oct 6, 2020 · 1 revision

Curl answer code is '0' and response ''

error text

Fatal error: Uncaught Exception: Curl answer code is '0' and response '' in /vendor/t3ran13/php-graphene-node-client/Connectors/Http/HttpJsonRpcConnectorAbstract.php:241 Stack trace: 
#0 /vendor/t3ran13/php-graphene-node-client/Connectors/Http/HttpJsonRpcConnectorAbstract.php(262): GrapheneNodeClient\Connectors\Http\HttpJsonRpcConnectorAbstract->doRequest('network_broadca...', Array, 'array', 3, false) 
#1 /vendor/t3ran13/php-graphene-node-client/Connectors/Http/HttpJsonRpcConnectorAbstract.php(262): GrapheneNodeClient\Connectors\Http\HttpJsonRpcConnectorAbstract->doRequest('network_broadca...', Array, 'array', 2, false) 
...

Time on the server and node is different, try to set at beginning of code

date_default_timezone_set("GMT");
Clone this wiki locally