Post
Topic
Board Project Development
Re: [ANN] BitBot - A Crypto-Currency trading bot and Backtesting platform (FREE)
by
5an1ty
on 09/12/2014, 20:37:08 UTC
Do you have any problem with mongo in mac?

node app.js
[08-12-2014 20:11:19] - INFO: ------------------------------------------
[08-12-2014 20:11:19] - INFO: Starting BitBot v0.9.4
[08-12-2014 20:11:19] - INFO: Real Trading Enabled = true
[08-12-2014 20:11:19] - INFO: Working Dir = /Users/leonardo/Sites/BitBot
[08-12-2014 20:11:19] - INFO: ------------------------------------------
[08-12-2014 20:11:19] - INFO: Downloader started!

/Users/user/Sites/BitBot/node_modules/mongojs/node_modules/mongodb/lib/mongodb/mongo_client.js:409
          throw err
                ^
Error: failed to connect to [localhost:27017]

I tried localhost, 127.0.0.1. Sometimes the bot works, sometimes doesn't work. Any idea?

I have never encountered that before, are you sure the MongoDB service is still running and that it doesn't crash?
I don't believe this is an issue with the bot, but more likely an issue with your MongoDB setup.

How did you install MongoDB on OSX? Via Homebrew?
Is the machine permanently on or would it try to hibernate or shut down disk after a period of inactivity?