why"RPC Server Error: In method 'blockchain_list_delegates"?

Started by airfell, August 14, 2014, 01:12:56 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

airfell

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!
BTS承兑交流QQ群:202033407

xeroc

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

airfell

I understand that the client did not provide the function of RPC
BTS承兑交流QQ群:202033407

airfell

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"
BTS承兑交流QQ群:202033407

xeroc

ok .. first rule when asking about technical support

  # be as verbose as possible

I just don't get what you are doing!

airfell

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
BTS承兑交流QQ群:202033407

xeroc

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?

airfell

why"RPC Server Error: In method 'blockchain_list_delegates"?
BTS承兑交流QQ群:202033407