BitShares Forum

Main => Technical Support => Topic started by: airfell on August 14, 2014, 01:12:56 pm

Title: why"RPC Server Error: In method 'blockchain_list_delegates"?
Post by: airfell on August 14, 2014, 01:12:56 pm
why"RPC Server Error: In method 'blockchain_list_delegates"?
Title: Re: why"RPC Server Error: In method 'blockchain_list_delegates"?
Post by: xeroc on August 14, 2014, 01:48:47 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?
Title: Re: why"RPC Server Error: In method 'blockchain_list_delegates"?
Post by: airfell on August 14, 2014, 01:52:39 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
Title: Re: why"RPC Server Error: In method 'blockchain_list_delegates"?
Post by: xeroc on August 14, 2014, 02:01:00 pm
ok .. first rule when asking about technical support

  # be as verbose as possible

I just don't get what you are doing!
Title: Re: why"RPC Server Error: In method 'blockchain_list_delegates"?
Post by: airfell on August 14, 2014, 02:07:06 pm
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"
Title: Re: why"RPC Server Error: In method 'blockchain_list_delegates"?
Post by: airfell on August 14, 2014, 02:36:18 pm
I understand that the client did not provide the function of RPC
Title: Re: why"RPC Server Error: In method 'blockchain_list_delegates"?
Post by: 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':
Code: [Select]
curl --data '{"method":"about", "params": [], "json-rpc": 2.0, "id": 0}' http://xeroc:***********@localhost:19988/rpcHowever, 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
Title: Re: why"RPC Server Error: In method 'blockchain_list_delegates"?
Post by: airfell on August 14, 2014, 02:46:17 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':
Code: [Select]
curl --data '{"method":"about", "params": [], "json-rpc": 2.0, "id": 0}' http://xeroc:***********@localhost:19988/rpcHowever, 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!