Bitcoin Forum
August 22, 2018, 04:48:21 AM *
News: Latest stable version of Bitcoin Core: 0.16.2  [Torrent].
   Home   Help Search Donate Login Register  
Pages: [1]
Author Topic: Blockchain-API Problem  (Read 280 times)
Full Member
Offline Offline

Activity: 276
Merit: 100


View Profile
February 27, 2017, 01:38:08 PM

I want use Blockchain API on my local raspberry pi host... Blockchain wallet service run normally but, when i send php request, i see this error on console:

error: Unable to establish session

and on php;

array(1) {

["error"]=> string(34) "Unexpected error, please try again" }

Please help me, how can i fix this error...

My Php;

$url = "";
$ch = curl_init();
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_URL, $url);
$ccc = curl_exec($ch);
$json = json_decode($ccc, true);
echo "<pre>";
echo "</pre>";

Please help me, I have v2 API Code...

Envision the Future! – EYEGLOB.NETEye Health Global Ecosystem on blockchain!
Our Objective: Make EyeGlob.Net Global Eye Health Ecosystem. Join our Token Campaign!
Pages: [1]
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!