Author Topic: Invalid RPC Request  (Read 2248 times)

0 Members and 1 Guest are viewing this topic.

Offline xeroc

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

Offline bitcoinerS

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

Offline tonyk

  • Hero Member
  • *****
  • Posts: 3308
    • View Profile

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 bitcoinerS

  • Hero Member
  • *****
  • Posts: 592
    • View Profile
- 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 xeroc

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

Offline bitcoinerS

  • Hero Member
  • *****
  • Posts: 592
    • View Profile
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