You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I always get "Failed to connect to namecoind" from running DyName.py
The same configuration works for p2pool, and I checked it a couple of times.
If I try it in the interactive console, I get this:
namecoind_session = AuthServiceProxy('http://ulrichard:[email protected]:
7333')
blockheight = namecoind_session.getblockcount()
Traceback (most recent call last):
File "", line 1, in
File "/home/ulrichard/sourcecode/DyName/jsonrpc/authproxy.py", line 98, in call
'Content-type' : 'application/json' })
File "/usr/lib/python3.4/http/client.py", line 1090, in request
self._send_request(method, url, body, headers)
File "/usr/lib/python3.4/http/client.py", line 1128, in _send_request
self.endheaders(body)
File "/usr/lib/python3.4/http/client.py", line 1086, in endheaders
self._send_output(message_body)
File "/usr/lib/python3.4/http/client.py", line 924, in _send_output
self.send(msg)
File "/usr/lib/python3.4/http/client.py", line 859, in send
self.connect()
File "/usr/lib/python3.4/http/client.py", line 836, in connect
self.timeout, self.source_address)
File "/usr/lib/python3.4/socket.py", line 499, in create_connection
sock.bind(source_address)
TypeError: getsockaddrarg: AF_INET address must be tuple, not int
Here is the content of ~/.namecoin/bitcoin.conf :
server=1
daemon=1
rpcpassword=passwd
rpcport=7333
rpcuser=ulrichard
rpcallowip=192.168.2.*
The text was updated successfully, but these errors were encountered:
I always get "Failed to connect to namecoind" from running DyName.py
The same configuration works for p2pool, and I checked it a couple of times.
If I try it in the interactive console, I get this:
Here is the content of ~/.namecoin/bitcoin.conf :
server=1
daemon=1
rpcpassword=passwd
rpcport=7333
rpcuser=ulrichard
rpcallowip=192.168.2.*
The text was updated successfully, but these errors were encountered: