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: Invalid RPC Request  (Read 352 times)

0 Members and 1 Guest are viewing this topic.

Offline bitcoinerS

  • Hero Member
  • *****
  • Posts: 583
    • View Profile
Invalid RPC Request
« on: September 17, 2014, 06:40:36 AM »

Installed Bishares X on new Ubuntu 14.10 beta. Running  client with --server enabled, but getting an error in the browser:

Invalid RPC Request

What could be causing this?
« Last Edit: September 17, 2014, 06:56:36 AM by bitcoinerS »
>>> approve bitcoiners

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12058
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: Invalid RPC Request
« Reply #1 on: September 17, 2014, 07:11:56 AM »
- you do run the latest version?
- you did make forcebuildweb
- how are you using the browser for RPC request?  use use the web_wallet without gui?
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

Offline bitcoinerS

  • Hero Member
  • *****
  • Posts: 583
    • View Profile
Re: Invalid RPC Request
« Reply #2 on: September 17, 2014, 07:16:43 AM »
- you do run the latest version?
- you did make forcebuildweb
- how are you using the browser for RPC request?  use use the web_wallet without gui?

Code: [Select]
>>> about
{
  "blockchain_name": "BitShares X",
  "blockchain_description": "Decentralized Autonomous Exchange",
  "client_version": "v0.4.15-b",
  "bitshares_toolkit_revision": "9c0aa982b7da170a8319238cac5285b8c7e2cf2d",
  "bitshares_toolkit_revision_age": "37 hours ago",
  "fc_revision": "b5414af3ceb5141ea81482eb4efd21d2c52e6805",
  "fc_revision_age": "55 hours ago",
  "compile_date": "compiled on Sep 16 2014 at 15:49:55",
  "boost_version": "1.55",
  "openssl_version": "OpenSSL 1.0.1f 6 Jan 2014",
  "build": "linux 64-bit"
}


Ran make forcebuildweb with no problems.
Without gui client works fine and also running BitShares X qt binary works.
But without qt_wallet and using  brower with web_wallet I am getting this error..

Code: [Select]
$ ./programs/client/bitshares_client --server --httpport 9989
« Last Edit: September 17, 2014, 07:25:38 AM by bitcoinerS »
>>> approve bitcoiners

Offline tonyk

  • Hero Member
  • *****
  • Posts: 3309
    • View Profile
Re: Invalid RPC Request
« Reply #3 on: September 17, 2014, 07:21:29 AM »

I sure hope WW3 (Russian vs. Germany) does not start before I understand what they are talking about


  :) :) :)
Lack of arbitrage is the problem, isn't it. And this 'should' solves it.

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12058
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: Invalid RPC Request
« Reply #4 on: September 17, 2014, 07:48:23 AM »
I sure hope WW3 (Russian vs. Germany) does not start before I understand what they are talking about
  :) :) :)
lol

@bitcoiners: I see you run a more recent version than I do :)
Is there an action previous to the error message or does it "just appear" upon launch?
Can you interact with the wallet in any way?

Unfortunately I am not yet firm with debugging the web_wallet and fiddling out that error ..

Maybe something is wrong with the communication to the RPC server (the core wallet)
can you check that the config.json has ":0" as ports not sure which port the client RPC should listen to thought :(
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

Offline bitcoinerS

  • Hero Member
  • *****
  • Posts: 583
    • View Profile
Re: Invalid RPC Request
« Reply #5 on: September 17, 2014, 05:43:36 PM »
found error:

this configuration works:

Code: [Select]
"rpc": {
    "enable": true,
    "rpc_user": "test",
    "rpc_password": "test",
    "rpc_endpoint": "127.0.0.1:0",
    "httpd_endpoint": "127.0.0.1:9989",
    "htdocs": "./programs/web_wallet/generated"
  }
>>> approve bitcoiners

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12058
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: Invalid RPC Request
« Reply #6 on: September 17, 2014, 06:07:55 PM »
aha ... thanks for sharing .. learned something here too .. +5%
I am going to add a issue for this at the github tracker if you don't mind

https://github.com/BitShares/web_wallet/issues/342
« Last Edit: September 17, 2014, 06:09:38 PM by xeroc »
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

 

Google+