BitShares Forum
Main => Technical Support => Topic started by: BTSdac on November 22, 2014, 03:57:02 pm
-
I want to use web_client , and run bitshares_client as manual ,and bitshares_client have connection and sync , but there is no connection in my web_clients ,and some error
prefixMatchingApiProxy is not defined
window.getStackTrace@app.js:85516
○ .request@app.js:92907
○ Wallet.prototype.open@app.js:93823
○ Wallet.prototype.check_wallet_status@app.js:93359
○ current_path_includes()@app.js:88209
○ invoke@app.js:13534
○ instantiate@app.js:13545
○ $ControllerProvider/this.$get</<@app.js:16596
○ nodeLinkFn/<@app.js:16009
○ forEach@app.js:10134
○ nodeLinkFn@app.js:15996
○ compositeLinkFn@app.js:15460
○ compositeLinkFn@app.js:15463
○ publicLinkFn@app.js:15365
○ bootstrap/doBootstrap/</<@app.js:11128
○ $RootScopeProvider/this.$get</Scope.prototype.$eval@app.js:21779
○ $RootScopeProvider/this.$get</Scope.prototype.$apply@app.js:21879
○ bootstrap/doBootstrap/<@app.js:11126
○ invoke@app.js:13534
○ bootstrap/doBootstrap@app.js:11125
○ bootstrap@app.js:11138
○ angularInit@app.js:11087
○ (?)()@app.js:30379
○ jQuery.Callbacks/fire@app.js:3047
○ jQuery.Callbacks/self.fireWith@app.js:3159
○ .ready@app.js:3365
○ completed@app.js:3380
-
Have you enables the RPC server with --rpcuser x --rpcpaasword x --server
?
-
Have you enables the RPC server with --rpcuser x --rpcpaasword x --server
?
yes I have run client with command ./bitshares_client --rpcuser x --rpcpaasword x --server
and the bitshares_client is runing
roy@roy@ubuntu:~/bitshares/programs/client$ ./bitshares_client --rpcuser=test --rpcpassword=test --httpport 9989 --server
Loading blockchain from: /home/roy/.BitShares/chain
Loading config from file: /home/roy/.BitShares/config.json
Starting JSON RPC server on port 37606 (localhost only)
Starting HTTP JSON RPC server on port 9989 (localhost only)
Attempting to map P2P port 1700 with UPNP...
Listening for P2P connections on port 1700
I can open web_client in browser by opening http://localhost:8000 , wallet interface is showed in browser , but no connection.
I cannot anything open in browserby opening http://localhost:9989. and alert is "Invalid RPC Request " after I input usename and password .
-
You NEED to compile some parts of the GUI too .. read the build instructions and compile the gui too .. you can neglect the make BitShares part but need the linepart and buildweb part ..
IIRC you also need to point the htdoca.parameter in the config file to the htdocs dir in programs/WEB_wallet/generated
When I find the time I can write a Howto for that case too