Skip to content
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

Open
klamzo opened this issue Apr 14, 2014 · 4 comments
Open

Error on [node server] #5

klamzo opened this issue Apr 14, 2014 · 4 comments

Comments

@klamzo
Copy link

klamzo commented Apr 14, 2014

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

@ViktorNova
Copy link

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

@klamzo
Copy link
Author

klamzo commented Apr 16, 2014

Yes I have installed redis 2.6.... but still having that error

@fantapop
Copy link

Can you connect to the redis server? Try running

telnet localhost 6379

if its working it should print something like:

Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.

you can then try running a command:
keys *

@naelt
Copy link

naelt commented Sep 15, 2014

it is possible connect to redis with unix socket instead tcp/ip ( by modifying ./config/database.js )? i tried this without success.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants