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: question about web_clients (help!!!)  (Read 296 times)

0 Members and 1 Guest are viewing this topic.

Offline BTSdac

question about web_clients (help!!!)
« 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
Code: [Select]
prefixMatchingApiProxy is not defined
[email protected]:85516
 ○ .[email protected]:92907
 ○ [email protected]:93823
 ○ [email protected]:93359
 ○ current_path_includes()@app.js:88209
 ○ [email protected]:13534
 ○ [email protected]:13545
 ○ $ControllerProvider/this.$get</<@app.js:16596
 ○ nodeLinkFn/<@app.js:16009
 ○ [email protected]:10134
 ○ [email protected]:15996
 ○ [email protected]:15460
 ○ [email protected]:15463
 ○ [email protected]:15365
 ○ bootstrap/doBootstrap/</<@app.js:11128
 ○ $RootScopeProvider/this.$get<[email protected]:21779
 ○ $RootScopeProvider/this.$get<[email protected]:21879
 ○ bootstrap/doBootstrap/<@app.js:11126
 ○ [email protected]:13534
 ○ [email protected]:11125
 ○ [email protected]:11138
 ○ [email protected]:11087
 ○ (?)()@app.js:30379
 ○ [email protected]:3047
 ○ [email protected]:3159
 ○ .[email protected]:3365
 ○ [email protected]: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

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12065
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: question about web_clients (help!!!)
« Reply #1 on: November 22, 2014, 10:38:49 PM »
Have you enables the RPC server with --rpcuser x --rpcpaasword x --server
?
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

Offline BTSdac

Re: question about web_clients (help!!!)
« Reply #2 on: November 23, 2014, 01:39:03 AM »
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]
[email protected]@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: 12065
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: question about web_clients (help!!!)
« Reply #3 on: November 23, 2014, 10:13:02 AM »
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
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

 

Google+