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: Redis connection - getaddrinfo ENOTFOUND #1219

Closed
betimer opened this issue Mar 29, 2017 · 5 comments
Closed

Error: Redis connection - getaddrinfo ENOTFOUND #1219

betimer opened this issue Mar 29, 2017 · 5 comments
Labels

Comments

@betimer
Copy link
Contributor

betimer commented Mar 29, 2017

Error: Redis connection to my-remote-host:6379 failed - getaddrinfo ENOTFOUND my-remote-host my-remote-host:6379

  • Version: 2.6.5
  • Platform: node 6.10.1 x64 on Windows 10 )
  • Description: Only that error log, no other exception; and it seems it did not crash the node server

Not sure this following log is related or not:
at errnoException (dns.js:28:10)
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:76:26)

@ghost
Copy link

ghost commented Apr 1, 2017

Is this Redis Issue?
Doesn't it look more like your node my-remote-host my-remote-host was not available at that tiny moment?
Later error refers to same, It could not resolve your hostname.
Check also [options.lazyConnect] depending what is the purpose.

@BridgeAR
Copy link
Contributor

BridgeAR commented Apr 1, 2017

Exactly what @rockroller says. Thanks for that!

@natotthomer
Copy link

I'm sorry to re-open this, but I'm getting the exact same error (on High Sierra). I don't see the answer provided by @rockroller.

@stockholmux
Copy link
Contributor

@natotthomer ENOTFOUND is a connection issue - your node script is not able to connect to the Redis server at the specified address - check your redis server as said by the ghost user (@rockroller evidently left github).

@natotthomer
Copy link

@stockholmux Thanks! That was exactly the problem.

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

No branches or pull requests

4 participants