Author Topic: why"RPC Server Error: In method 'blockchain_list_delegates"?  (Read 2891 times)

0 Members and 1 Guest are viewing this topic.

Offline airfell

  • Full Member
  • ***
  • Posts: 73
    • View Profile
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!
BTS承兑交流QQ群:202033407

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: 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':
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

Offline airfell

  • Full Member
  • ***
  • Posts: 73
    • View Profile
I understand that the client did not provide the function of RPC
BTS承兑交流QQ群:202033407

Offline airfell

  • Full Member
  • ***
  • Posts: 73
    • View Profile
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

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
ok .. first rule when asking about technical support

  # be as verbose as possible

I just don't get what you are doing!

Offline airfell

  • Full Member
  • ***
  • Posts: 73
    • View Profile
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

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
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?

Offline airfell

  • Full Member
  • ***
  • Posts: 73
    • View Profile
why"RPC Server Error: In method 'blockchain_list_delegates"?
BTS承兑交流QQ群:202033407