Main Menu

Invalid RPC Request

Started by bitcoinerS, September 17, 2014, 06:40:36 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

xeroc

#7
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

bitcoinerS

found error:

this configuration works:


"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

xeroc

Quote from: tonyk 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
  :) :) :)
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 :(

tonyk


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.

bitcoinerS

#3
Quote from: xeroc 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?


>>> 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..


$ ./programs/client/bitshares_client --server --httpport 9989
>>> approve bitcoiners

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?

bitcoinerS

#1
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?
>>> approve bitcoiners