I am trying to connect to the BitShares RPC server using this python code:
https://github.com/ThePiachu/BitJSONPyI run BitShares, issue the command of
rpc_start_server 19988
rpc_set_username user
rpc_set_password pass
and in my python code, I call:
bitshares = jsonrpc.ServiceProxy("
http://user:pass@127.0.0.1:19988/rpc")
print bitshares.info()
In response, I get an error of
IOError: ('http protocol error', 0, 'got a bad status line', None)
I tried connecting to the same URL using some Golang code, and it fails as well.
Does anyone have an idea what could be causing this error?