question about web_clients (help!!!)

Started by BTSdac, November 22, 2014, 03:57:02 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

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

BTSdac

#3
Quote from: xeroc on November 22, 2014, 10:38:49 PM
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 .
[url="//github.com"]github.com[/url] :pureland
BTS2.0 API :[url="ws://139.196.37.179:8091"]ws://139.196.37.179:8091[/url]
BTS2.0 API 数据源ws:[url="//139.196.37.179:8091"]//139.196.37.179:8091[/url]

xeroc

Have you enables the RPC server with --rpcuser x --rpcpaasword x --server
?

BTSdac

#1
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
[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
○ bootstrap/[email protected]:11125
○ [email protected]:11138
○ [email protected]:11087
○ (?)()@app.js:30379
○ jQuery.Callbacks/[email protected]:3047
○ jQuery.Callbacks/[email protected]:3159
○ [email protected]:3365
○ [email protected]:3380
[url="//github.com"]github.com[/url] :pureland
BTS2.0 API :[url="ws://139.196.37.179:8091"]ws://139.196.37.179:8091[/url]
BTS2.0 API 数据源ws:[url="//139.196.37.179:8091"]//139.196.37.179:8091[/url]