rmalvarez
Newbie
Offline
Activity: 55
Merit: 0
|
 |
May 05, 2016, 04:30:18 PM |
|
Hello, I ask again The API work? For more information here I hit the PHP code I'm using $url = "https://session.satoshidice.com/userapi/login.php"; $postdata = NULL; $postdata = array(); $postdata['email'] = $config['satoshi_email']; $postdata['password'] = $config['satoshi_pass'];
$curl_header = NULL; $curl_header = array(); $curl_header[] = "User-Agent: SOME TEXT ".$version; $curl_header[] = "Content-Type: application/x-www-form-urlencoded";
$curl = curl_init(); curl_setopt($curl,CURLOPT_RETURNTRANSFER,1); curl_setopt($curl,CURLOPT_HEADER,1); curl_setopt($curl,CURLOPT_HTTPHEADER,$curl_header); curl_setopt($curl,CURLOPT_URL,$url); curl_setopt($curl,CURLOPT_BINARYTRANSFER,true); curl_setopt($curl,CURLOPT_POST,true); curl_setopt($curl,CURLOPT_POSTFIELDS,$postdata); curl_setopt($curl,CURLOPT_SSL_VERIFYPEER,false); curl_setopt($curl,CURLOPT_SSL_VERIFYHOST,false); curl_setopt($curl,CURLOPT_TIMEOUT,122); if(isset($config['proxy']) && (strlen($config['proxy'])>0)) curl_setopt($curl,CURLOPT_PROXY,$config['proxy']); $response = curl_exec($curl); $response_header_size = curl_getinfo($curl,CURLINFO_HEADER_SIZE); $header = substr($response,0,$response_header_size); $body = substr($response,$response_header_size); curl_close($curl);
The response I get is HTTP/1.1 100 Continue
HTTP/1.1 200 OK Date: Thu, 05 May 2016 16:13:11 GMT Server: SatoshiDICE Webserver X-Frame-Options: DENY X-XSS-Protection: 1; mode=block X-Content-Type-Options: nosniff access-control-allow-origin: https://www.satoshidice.com Access-Control-Allow-Credentials: true Content-Length: 58 Content-Type: application/json
{ "message": "Password is wrong.", "status": "1" }
With two different accounts is the same. This code worked well three days 2016-04-20, 2016-04-21, 2016-04-22 Sorry my english, my first language is Spanish. Thank You.
|
|
|
|
|
|
Your Bitcoin transactions The Ultimate Bitcoin mixer made truly anonymous. with an advanced technology.
|
|
|
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
|
|
rmalvarez
Newbie
Offline
Activity: 55
Merit: 0
|
 |
May 05, 2016, 08:55:30 PM |
|
I use this code run 5 minutes and then blocked again $url = "https://session.satoshidice.com/userapi/login.php"; $postdata = NULL; $postdata = array(); $postdata['email'] = $config['satoshi_email']; $postdata['password'] = $config['satoshi_pass']; $satoshi_wait_between_query = $config['satoshidice_wait_between_query'];
$curl_header = NULL; $curl_header = array(); $curl_header[] = "User-Agent: ".$config['martingale_user_agent']." ".$version; $curl_header[] = "Referer: https://www.satoshidice.com";
$curl = curl_init(); curl_setopt($curl,CURLOPT_RETURNTRANSFER,1); curl_setopt($curl,CURLOPT_HEADER,1); curl_setopt($curl,CURLOPT_HTTPHEADER,$curl_header); curl_setopt($curl,CURLOPT_URL,$url); curl_setopt($curl,CURLOPT_BINARYTRANSFER,true); curl_setopt($curl,CURLOPT_POST,true); curl_setopt($curl,CURLOPT_POSTFIELDS,$postdata); curl_setopt($curl,CURLOPT_SSL_VERIFYPEER,false); curl_setopt($curl,CURLOPT_SSL_VERIFYHOST,false); curl_setopt($curl,CURLOPT_TIMEOUT,122); if(isset($config['proxy']) && (strlen($config['proxy'])>0)) curl_setopt($curl,CURLOPT_PROXY,$config['proxy']); $response = curl_exec($curl); $response_header_size = curl_getinfo($curl,CURLINFO_HEADER_SIZE); $header = substr($response,0,$response_header_size); $body = substr($response,$response_header_size); curl_close($curl);
Thank You.
|
|
|
|
rmalvarez
Newbie
Offline
Activity: 55
Merit: 0
|
 |
May 05, 2016, 09:13:42 PM |
|
Apparently this working again. We'll see how long.
Thank You.
|
|
|
|
fortuity
Member

Offline
Activity: 89
Merit: 10
|
 |
May 06, 2016, 09:10:21 AM |
|
Hope they sorted out now, and that page remains for several more years.
|
|
|
|
coinspiracy
Member

Offline
Activity: 91
Merit: 10
|
 |
May 06, 2016, 11:52:26 AM |
|
The API work? ...
Yes and we have made updates to the API documentation. Please let us know if you have any problems using it. Yes and the documentation is online
|
|
|
|
|
Randian Hero
|
 |
May 06, 2016, 02:04:34 PM |
|
I use this code run 5 minutes and then blocked again $url = "https://session.satoshidice.com/userapi/login.php"; $postdata = NULL; $postdata = array(); $postdata['email'] = $config['satoshi_email']; $postdata['password'] = $config['satoshi_pass']; $satoshi_wait_between_query = $config['satoshidice_wait_between_query'];
$curl_header = NULL; $curl_header = array(); $curl_header[] = "User-Agent: ".$config['martingale_user_agent']." ".$version; $curl_header[] = "Referer: https://www.satoshidice.com";
$curl = curl_init(); curl_setopt($curl,CURLOPT_RETURNTRANSFER,1); curl_setopt($curl,CURLOPT_HEADER,1); curl_setopt($curl,CURLOPT_HTTPHEADER,$curl_header); curl_setopt($curl,CURLOPT_URL,$url); curl_setopt($curl,CURLOPT_BINARYTRANSFER,true); curl_setopt($curl,CURLOPT_POST,true); curl_setopt($curl,CURLOPT_POSTFIELDS,$postdata); curl_setopt($curl,CURLOPT_SSL_VERIFYPEER,false); curl_setopt($curl,CURLOPT_SSL_VERIFYHOST,false); curl_setopt($curl,CURLOPT_TIMEOUT,122); if(isset($config['proxy']) && (strlen($config['proxy'])>0)) curl_setopt($curl,CURLOPT_PROXY,$config['proxy']); $response = curl_exec($curl); $response_header_size = curl_getinfo($curl,CURLINFO_HEADER_SIZE); $header = substr($response,0,$response_header_size); $body = substr($response,$response_header_size); curl_close($curl);
Thank You. Blocked how? it stops processing anything or you get logged out? Does it give any error message in the API response?
|
|
|
|
Randian Hero
|
 |
May 06, 2016, 03:30:20 PM |
|
I just corrected a glitch that made the API respond with invalid email on signups with email addresses using subdomains or TLD's with a dot in them (like .co.uk). Anyone that had this problem might need to sign up again.
Note: there is no longer any need for email confirmation. Once you sign up, you can just enter your email and password and login!
|
|
|
|
rmalvarez
Newbie
Offline
Activity: 55
Merit: 0
|
 |
May 06, 2016, 04:22:31 PM |
|
I use this code run 5 minutes and then blocked again $url = "https://session.satoshidice.com/userapi/login.php"; $postdata = NULL; $postdata = array(); $postdata['email'] = $config['satoshi_email']; $postdata['password'] = $config['satoshi_pass']; $satoshi_wait_between_query = $config['satoshidice_wait_between_query'];
$curl_header = NULL; $curl_header = array(); $curl_header[] = "User-Agent: ".$config['martingale_user_agent']." ".$version; $curl_header[] = "Referer: https://www.satoshidice.com";
$curl = curl_init(); curl_setopt($curl,CURLOPT_RETURNTRANSFER,1); curl_setopt($curl,CURLOPT_HEADER,1); curl_setopt($curl,CURLOPT_HTTPHEADER,$curl_header); curl_setopt($curl,CURLOPT_URL,$url); curl_setopt($curl,CURLOPT_BINARYTRANSFER,true); curl_setopt($curl,CURLOPT_POST,true); curl_setopt($curl,CURLOPT_POSTFIELDS,$postdata); curl_setopt($curl,CURLOPT_SSL_VERIFYPEER,false); curl_setopt($curl,CURLOPT_SSL_VERIFYHOST,false); curl_setopt($curl,CURLOPT_TIMEOUT,122); if(isset($config['proxy']) && (strlen($config['proxy'])>0)) curl_setopt($curl,CURLOPT_PROXY,$config['proxy']); $response = curl_exec($curl); $response_header_size = curl_getinfo($curl,CURLINFO_HEADER_SIZE); $header = substr($response,0,$response_header_size); $body = substr($response,$response_header_size); curl_close($curl);
Thank You. Blocked how? it stops processing anything or you get logged out? Does it give any error message in the API response? No response, is waiting for a response to the timeout Thank you.
|
|
|
|
lite
Legendary
Offline
Activity: 1414
Merit: 1009
|
 |
May 06, 2016, 05:07:53 PM |
|
I use this code run 5 minutes and then blocked again $url = "https://session.satoshidice.com/userapi/login.php"; $postdata = NULL; $postdata = array(); $postdata['email'] = $config['satoshi_email']; $postdata['password'] = $config['satoshi_pass']; $satoshi_wait_between_query = $config['satoshidice_wait_between_query'];
$curl_header = NULL; $curl_header = array(); $curl_header[] = "User-Agent: ".$config['martingale_user_agent']." ".$version; $curl_header[] = "Referer: https://www.satoshidice.com";
$curl = curl_init(); curl_setopt($curl,CURLOPT_RETURNTRANSFER,1); curl_setopt($curl,CURLOPT_HEADER,1); curl_setopt($curl,CURLOPT_HTTPHEADER,$curl_header); curl_setopt($curl,CURLOPT_URL,$url); curl_setopt($curl,CURLOPT_BINARYTRANSFER,true); curl_setopt($curl,CURLOPT_POST,true); curl_setopt($curl,CURLOPT_POSTFIELDS,$postdata); curl_setopt($curl,CURLOPT_SSL_VERIFYPEER,false); curl_setopt($curl,CURLOPT_SSL_VERIFYHOST,false); curl_setopt($curl,CURLOPT_TIMEOUT,122); if(isset($config['proxy']) && (strlen($config['proxy'])>0)) curl_setopt($curl,CURLOPT_PROXY,$config['proxy']); $response = curl_exec($curl); $response_header_size = curl_getinfo($curl,CURLINFO_HEADER_SIZE); $header = substr($response,0,$response_header_size); $body = substr($response,$response_header_size); curl_close($curl);
Thank You. Blocked how? it stops processing anything or you get logged out? Does it give any error message in the API response? No response, is waiting for a response to the timeout Thank you. Just a suggestion you should add function to store cookie? i've seen lot of curl script have it.(i'm no expert)
|
|
|
|
rmalvarez
Newbie
Offline
Activity: 55
Merit: 0
|
 |
May 06, 2016, 05:35:25 PM |
|
Just a suggestion you should add function to store cookie? i've seen lot of curl script have it.(i'm no expert)
That I have implemented, I put here just a part of the code to be more readable. Thank You.
|
|
|
|
rmalvarez
Newbie
Offline
Activity: 55
Merit: 0
|
 |
May 06, 2016, 05:47:22 PM |
|
Blocked how? it stops processing anything or you get logged out? Does it give any error message in the API response?
If I use this header $curl_header[] = "Referer: https://www.satoshidice.com";
The api works until it locks and does not give more answer. ( timeout ) Without this header the api not works, I am receiving this response HTTP/1.1 100 Continue
HTTP/1.1 200 OK Date: Thu, 05 May 2016 16:13:11 GMT Server: SatoshiDICE Webserver X-Frame-Options: DENY X-XSS-Protection: 1; mode=block X-Content-Type-Options: nosniff access-control-allow-origin: https://www.satoshidice.com Access-Control-Allow-Credentials: true Content-Length: 58 Content-Type: application/json
{ "message": "Password is wrong.", "status": "1" }
Thank you.
|
|
|
|
hatshepsut93
|
 |
May 06, 2016, 06:59:12 PM |
|
Anyone else can't connect? DDOS maybe?
|
|
|
|
Randian Hero
|
 |
May 06, 2016, 11:14:44 PM Last edit: May 07, 2016, 01:39:10 AM by Randian Hero |
|
Anyone else can't connect? DDOS maybe?
It was login, signup and password recovery calls that died early because of an emergency code update that expected "equal" instead of "identical" operator, and this triggered a site wide user access lock down. Then a process lagged one of the servers. It was not a DDoS. I have corrected the error now. Sorry about causing this glitch. Assumptions are the root of all evil.
|
|
|
|
rmalvarez
Newbie
Offline
Activity: 55
Merit: 0
|
 |
May 07, 2016, 04:51:04 AM |
|
Now the API is not working for me, no response ( timeout )
Thank You.
|
|
|
|
BayAreaCoins
Legendary
Offline
Activity: 2058
Merit: 1027
FreeBitcoins.com Boss
|
 |
May 07, 2016, 10:32:13 PM |
|
Sad to see such a cool site go down hill so much 
|
|
|
|
Dabs
Staff
Legendary
Offline
Activity: 2254
Merit: 1118
|
 |
May 08, 2016, 02:36:20 AM |
|
Sad to see such a cool site go down hill so much  Yeah. So many sites going down hill. ... SD isn't so much in trouble I think though, they still have a professional team handling it. (psst, someone buy mine?)
|
Escrow Service (Services) - GPG ID: 32AD7565, OTC ID: DabsAll messages concerning escrow or with bitcoin addresses are GPG signed. Please verify. CompTIA A+, Microsoft Certified Professional, MCSA: Windows 10; Windows Server 2012, MCSE: Cloud Platform and Infrastructure; Productivity; Messaging
|
|
|
coinspiracy
Member

Offline
Activity: 91
Merit: 10
|
 |
May 08, 2016, 08:50:21 PM |
|
Sad to see such a cool site go down hill so much  Yeah. So many sites going down hill. ... SD isn't so much in trouble I think though, they still have a professional team handling it. (psst, someone buy mine?) Personally, I believe that they will sort this page out.
|
|
|
|
tolega
|
 |
May 08, 2016, 08:58:57 PM |
|
I have searched all over the site but I cannot find the withdraw button. I am logged in. Please help.
|
|
|
|
Randian Hero
|
 |
May 08, 2016, 09:47:44 PM Last edit: May 09, 2016, 01:08:46 AM by Randian Hero |
|
I have searched all over the site but I cannot find the withdraw button. I am logged in. Please help.
Click the Cashout tab and there is a button with the text "CASHOUT". If you are not logged in, the button is not visible. UPDATE: we're now aware of tabs not showing properly on android phones. We're fixing it.
|
|
|
|
|