Author Topic: question about web_clients (help!!!)  (Read 1589 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
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

Offline BTSdac

  • Hero Member
  • *****
  • Posts: 1219
    • View Profile
  • BitShares: K1
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
Code: [Select]
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 .
« Last Edit: November 23, 2014, 02:12:14 am by BTSdac »
github.com :pureland
BTS2.0 API :ws://139.196.37.179:8091
BTS2.0 API 数据源ws://139.196.37.179:8091

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
Have you enables the RPC server with --rpcuser x --rpcpaasword x --server
?

Offline BTSdac

  • Hero Member
  • *****
  • Posts: 1219
    • View Profile
  • BitShares: K1
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
Code: [Select]
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
« Last Edit: November 23, 2014, 11:14:28 am by cass »
github.com :pureland
BTS2.0 API :ws://139.196.37.179:8091
BTS2.0 API 数据源ws://139.196.37.179:8091