-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error on [node server] #5
Comments
Looks like is can't connect to Redis database. Do you have Redis installed on your OS? I believe Hatch needs at least Redis 2.6 |
Yes I have installed redis 2.6.... but still having that error |
Can you connect to the redis server? Try running
if its working it should print something like:
you can then try running a command: |
it is possible connect to redis with unix socket instead tcp/ip ( by modifying ./config/database.js )? i tried this without success. |
I installed everything and all the install process went fine. And when I did [node server] I got this error:
connect.multipart() will be removed in connect 3.0
visit https://github.com/senchalabs/connect/wiki/Connect-3.0 for alternatives
connect.limit() will be removed in connect 3.0
Hatch server listening on 0.0.0.0:3000 within development environment
uncaughtException
uncaughtException: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED
at RedisClient.on_error (/Users/laminekane/node_modules/hatchjs/node_modules/jugglingdb-redis-hq/node_modules/redis/index.js:148:24)
at Socket. (/Users/laminekane/node_modules/hatchjs/node_modules/jugglingdb-redis-hq/node_modules/redis/index.js:83:14)
at Socket.EventEmitter.emit (events.js:95:17)
at net.js:440:14
at process._tickCallback (node.js:415:13)
Notify error
uncaughtException: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED
at RedisClient.on_error (/Users/laminekane/node_modules/hatchjs/node_modules/jugglingdb-redis-hq/node_modules/redis/index.js:148:24)
at Socket. (/Users/laminekane/node_modules/hatchjs/node_modules/jugglingdb-redis-hq/node_modules/redis/index.js:83:14)
at Socket.EventEmitter.emit (events.js:95:17)
at net.js:440:14
at process._tickCallback (node.js:415:13)
What am I doing wrong? Thanks in advance
The text was updated successfully, but these errors were encountered: