Skip to content
This repository has been archived by the owner on May 22, 2021. It is now read-only.

Fail better when Redis isn't installed #55

Closed
pdehaan opened this issue Jun 7, 2017 · 1 comment
Closed

Fail better when Redis isn't installed #55

pdehaan opened this issue Jun 7, 2017 · 1 comment

Comments

@pdehaan
Copy link
Collaborator

pdehaan commented Jun 7, 2017

I don't have Redis installed locally, but when I type npm start things go a bit silly.
Not sure if we should fail hard[er] if the Redis connection fails.

➜  something-awesome git:(master) npm start

> portal-alpha@1.0.0 start /Users/pdehaan/dev/github/mozilla/something-awesome
> watchify frontend/src/main.js -o public/bundle.js -d | node server/portal_server.js

Portal app listening on port 3000!

{ Error: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379
    at Object.exports._errnoException (util.js:1026:11)
    at exports._exceptionWithHostPort (util.js:1049:20)
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1136:14)
  code: 'ECONNREFUSED',
  errno: 'ECONNREFUSED',
  syscall: 'connect',
  address: '127.0.0.1',
  port: 6379 }

{ Error: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379
    at Object.exports._errnoException (util.js:1026:11)
    at exports._exceptionWithHostPort (util.js:1049:20)
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1136:14)
  code: 'ECONNREFUSED',
  errno: 'ECONNREFUSED',
  syscall: 'connect',
  address: '127.0.0.1',
  port: 6379 }

...
@dannycoates dannycoates added this to the Calico Cat milestone Jun 20, 2017
@ghost ghost modified the milestones: Calico Cat, Dedicated Dingo Jul 5, 2017
@abhinadduri
Copy link
Collaborator

Addressed in integration_tests branch.

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

No branches or pull requests

3 participants