After I get bitcoind sucessfully running(i can see the bitcoind process running),
when I try to run counterpartyd, I get the followiing error,
Traceback (most recent call last):
File "/home/coin/counterpartyd_build/env/lib/python3.3/site-packages/requests/packages/urllib3/connectionpool.py", line 478, in urlopen
body=body, headers=headers)
File "/home/coin/counterpartyd_build/env/lib/python3.3/site-packages/requests/packages/urllib3/connectionpool.py", line 285, in _make_request
conn.request(method, url, **httplib_request_kw)
File "/usr/lib/python3.3/http/client.py", line 1061, in request
self._send_request(method, url, body, headers)
File "/usr/lib/python3.3/http/client.py", line 1099, in _send_request
self.endheaders(body)
File "/usr/lib/python3.3/http/client.py", line 1057, in endheaders
self._send_output(message_body)
File "/usr/lib/python3.3/http/client.py", line 902, in _send_output
self.send(msg)
File "/usr/lib/python3.3/http/client.py", line 840, in send
self.connect()
File "/usr/lib/python3.3/http/client.py", line 818, in connect
self.timeout, self.source_address)
File "/usr/lib/python3.3/socket.py", line 435, in create_connection
raise err
File "/usr/lib/python3.3/socket.py", line 426, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/coin/counterpartyd_build/env/lib/python3.3/site-packages/requests/adapters.py", line 324, in send
timeout=timeout
File "/home/coin/counterpartyd_build/env/lib/python3.3/site-packages/requests/packages/urllib3/connectionpool.py", line 528, in urlopen
raise MaxRetryError(self, url, e)
requests.packages.urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=18332): Max retries exceeded with url: / (Caused by : [Errno 111] Connection refused)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/coin/counterpartyd_build/dist/counterpartyd/lib/bitcoin.py", line 34, in rpc
response = requests.post(config.RPC, data=json.dumps(payload), headers=headers)
File "/home/coin/counterpartyd_build/env/lib/python3.3/site-packages/requests/api.py", line 88, in post
return request('post', url, data=data, **kwargs)
File "/home/coin/counterpartyd_build/env/lib/python3.3/site-packages/requests/api.py", line 44, in request
return session.request(method=method, url=url, **kwargs)
File "/home/coin/counterpartyd_build/env/lib/python3.3/site-packages/requests/sessions.py", line 382, in request
resp = self.send(prep, **send_kwargs)
File "/home/coin/counterpartyd_build/env/lib/python3.3/site-packages/requests/sessions.py", line 485, in send
r = adapter.send(request, **kwargs)
File "/home/coin/counterpartyd_build/env/lib/python3.3/site-packages/requests/adapters.py", line 372, in send
raise ConnectionError(e)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=18332): Max retries exceeded with url: / (Caused by : [Errno 111] Connection refused)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/coin/counterpartyd_build/dist/counterpartyd/counterpartyd.py", line 401, in
util.bitcoind_check(db)
File "/home/coin/counterpartyd_build/dist/counterpartyd/lib/util.py", line 18, in bitcoind_check
block_count = bitcoin.rpc('getblockcount', [])['result']
File "/home/coin/counterpartyd_build/dist/counterpartyd/lib/bitcoin.py", line 36, in rpc
raise exceptions.BitcoindRPCError('Cannot communicate with bitcoind. (Are you on testnet?)')
lib.exceptions.BitcoindRPCError: Cannot communicate with bitcoind. (Are you on testnet?)
theres are my config files,
~/.config/counterpartyd/counterpartyd.conf
[Default]
rpc-connect=localhost
rpc-port=18332
rpc-user=rpc
rpc-password=rpcpw1234
~/.bitcoin/bitcoin.conf
rpcuser=rpc
rpcpassword=rpcpw1234
server=1
daemon=1
txindex=1
I'm on ubuntu 13.10 and was able to build counterpartd sucessfully from the source....
I'm trying to get counterpartyd running on the mainnet.
any insights would be appreciated. thx.