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.