python-bitcoinrpc icon indicating copy to clipboard operation
python-bitcoinrpc copied to clipboard

TypeError: getsockaddrarg: AF_INET address must be tuple, not int

Open helios97 opened this issue 7 years ago • 4 comments

from bitcoinrpc.authproxy import AuthServiceProxy

access = AuthServiceProxy('http://users:[email protected]:28332',timeout=120)

printme=access.getrawtransaction("000000000000001e2b28866e4d43c9f3ac6445e45c548ed041b59a8c89542839")

---> Error

helios97 avatar Sep 14 '18 08:09 helios97

from bitcoinrpc.authproxy import AuthServiceProxy

access = AuthServiceProxy('http://users:[email protected]:28332',timeout=120)

printme=access.getrawtransaction("000000000000001e2b28866e4d43c9f3ac6445e45c548ed041b59a8c89542839")

---> Error

set up: python 3.6

helios97 avatar Sep 14 '18 08:09 helios97

Having the same problem, apparently this lib is not compatible with python 3, looking for a replacement right now.

juanformoso avatar Sep 12 '19 15:09 juanformoso

have you solved this problem? i have the same error, 2 days ago everything worked....

PahanLL avatar Dec 08 '23 13:12 PahanLL

I don't think so, but it's been 4+ years so I don't really remember.

juanformoso avatar Dec 08 '23 13:12 juanformoso