ctubio / Krypto-trading-bot

Self-hosted crypto trading bot (automated high frequency market making) written in C++
https://127.0.0.1:3000
Other
3.36k stars 821 forks source link

Disconnected. #39

Closed pimbolilu closed 7 years ago

pimbolilu commented 7 years ago

Hi,

after editing my conf file, I started the bot but I always get this message on the webpage:

Disconnected. README - MANUAL - SOURCE - changeTheme(DARK) - - - - 0 - MATRYOSHKA - CREATE ISSUE - IRC

What is the problem? :/

amoscatelli1 commented 7 years ago

If you put this: "start": "npm run test-compile && forever start --uid $npm_package_config_config --minUptime 2000 --spinSleepTime 2000 -a -l /path-to-your-K-install-FOLDER/runlog.log K.js $npm_package_config_config && exec npm run test-stunnel", to the line 103 of package.json and rerun, you will probably see the same message that i've got. I'm waiting Camille92's npm install guidelines to resolve. Regards, A.

Camille92 commented 7 years ago

@amoscatelli1 published

ctubio commented 7 years ago

Hello @pimbolilu, if you run the app with nodejs K.jsinstead of npm start you should see some log lines; can you please paste this log lines?

The Disconnected message means that K client is disconnected from K server, mostly possible because K server is not running (it was running as you can see the page, but it may had crash little after; see the logs with nodejs K.js to see the reason)