why"RPC Server Error: In method 'blockchain_list_delegates"?
Quote from: airfell on August 14, 2014, 01:12:56 PM
why"RPC Server Error: In method 'blockchain_list_delegates"?
could you be a little more precise? version? gui or terminal?
have you tried running that command in the console?
Quote from: xeroc on August 14, 2014, 01:48:47 PM
Quote from: airfell on August 14, 2014, 01:12:56 PM
why"RPC Server Error: In method 'blockchain_list_delegates"?
could you be a little more precise? version? gui or terminal?
have you tried running that command in the console?
version 0.3.0 GUI.
I'm trying out the RPC
rpc_set_username test
rpc_set_password test
rpc_start_server 9991
but it can't work
ok .. first rule when asking about technical support
# be as verbose as possible
I just don't get what you are doing!
I open the 0.3.0 version of the client
In the console input
Rpc_set_username test
Rpc_set_password test
Rpc_start_server 9991
Open the browser: http://localhost:9991
Now the client display:"RPC Server Error: In method 'blockchain_list_delegates"
I understand that the client did not provide the function of RPC
so actually you are running the GUI version of the wallet I guess ...
secondly, there are 2 different RPC interfaces .. one of them is for the GUI (which is already up and running just uses different port)
and the RPC API your are currently trying to open the connection to.
further, an RPC interface is not inteded to by opened by the bwowser
try to use 'curl':
curl --data '{"method":"about", "params": [], "json-rpc": 2.0, "id": 0}' http://xeroc:***********@localhost:19988/rpc
However, I have no idea what the right port is in the GUI version of the wallet ..
Also there are already a few RPC related posts on the forum, maybe you should check them out to figure a solution for your problem:
https://bitsharestalk.org/index.php?topic=5562.0
Quote from: xeroc on August 14, 2014, 02:39:16 PM
so actually you are running the GUI version of the wallet I guess ...
secondly, there are 2 different RPC interfaces .. one of them is for the GUI (which is already up and running just uses different port)
and the RPC API your are currently trying to open the connection to.
further, an RPC interface is not inteded to by opened by the bwowser
try to use 'curl':
curl --data '{"method":"about", "params": [], "json-rpc": 2.0, "id": 0}' http://xeroc:***********@localhost:19988/rpc
However, I have no idea what the right port is in the GUI version of the wallet ..
Also there are already a few RPC related posts on the forum, maybe you should check them out to figure a solution for your problem:
https://bitsharestalk.org/index.php?topic=5562.0
THANKS VERY MUCH!