Author [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] Topic: why"RPC Server Error: In method 'blockchain_list_delegates"?  (Read 518 times)

0 Members and 1 Guest are viewing this topic.

Offline airfell

  • Full Member
  • ***
  • Posts: 68
    • View Profile
why"RPC Server Error: In method 'blockchain_list_delegates"?
« on: August 14, 2014, 01:12:56 PM »

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

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12267
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: why"RPC Server Error: In method 'blockchain_list_delegates"?
« Reply #1 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?
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

Offline airfell

  • Full Member
  • ***
  • Posts: 68
    • View Profile
Re: why"RPC Server Error: In method 'blockchain_list_delegates"?
« Reply #2 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
BTSX ID:fell
BTS承兑交流QQ群:202033407

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12267
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: why"RPC Server Error: In method 'blockchain_list_delegates"?
« Reply #3 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!
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

Offline airfell

  • Full Member
  • ***
  • Posts: 68
    • View Profile
Re: why"RPC Server Error: In method 'blockchain_list_delegates"?
« Reply #4 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"
BTSX ID:fell
BTS承兑交流QQ群:202033407

Offline airfell

  • Full Member
  • ***
  • Posts: 68
    • View Profile
Re: why"RPC Server Error: In method 'blockchain_list_delegates"?
« Reply #5 on: August 14, 2014, 02:36:18 PM »
I understand that the client did not provide the function of RPC
BTSX ID:fell
BTS承兑交流QQ群:202033407

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12267
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: why"RPC Server Error: In method 'blockchain_list_delegates"?
« Reply #6 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
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

Offline airfell

  • Full Member
  • ***
  • Posts: 68
    • View Profile
Re: why"RPC Server Error: In method 'blockchain_list_delegates"?
« Reply #7 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!
BTSX ID:fell
BTS承兑交流QQ群:202033407

 

Google+