Bitcoin Forum
July 23, 2024, 10:25:00 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Mining software (miners) / Re: python OpenCL bitcoin miner on: February 19, 2011, 05:58:02 AM
Hey guys, I'm afraid I'm having trouble with this. I did a quick test to make sure that bitcoind really was listening, with telnet, and it was.

I've double and triple checked the username and password.

Code:
[root@ip-*-*-*-* ~]# python2.7 poclbm.py  -d 0 -o 127.0.0.1 -p 8332  --user ***** --pass *****
Problems communicating with bitcoin RPC
bye
[root@ip-*-*-*-* ~]# telnet 127.0.0.1 8332
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
fhfsdhfd
sdghsdgsda
sdghsdhsdhas

HTTP/1.0 401 Authorization Required
Date: Sat, 19 Feb 2011 05:56:47 GMT
Server: bitcoin-json-rpc
WWW-Authenticate: Basic realm="jsonrpc"
Content-Type: text/html
Content-Length: 296

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML>
<HEAD>
<TITLE>Error</TITLE>
<META HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=ISO-8859-1'>
</HEAD>
<BODY><H1>401 Unauthorized.</H1></BODY>
</HTML>
Connection closed by foreign host.

[root@ip-*-*-*-* ~]#

Any suggestions on debugging the problem?

[edit]: Argh! It's "--pass" not "-p" Solved!

Thanks,
Rob.
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!