Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Cannot connect to redis #2

Open
codingJWilliams opened this issue Jul 10, 2018 · 0 comments
Open

Cannot connect to redis #2

codingJWilliams opened this issue Jul 10, 2018 · 0 comments

Comments

@codingJWilliams
Copy link

Clean install, code cannot connect to redis
scheduler_1 | running as 'root'
scheduler_1 | running in '/scheduler'
scheduler_1 | shadow mounting '/node_modules' -> /scheduler/node_modules
scheduler_1 | ln: /scheduler/node_modules/node_modules: File exists
scheduler_1 | '/scheduler/node_modules/node_modules' -> '/node_modules'
scheduler_1 | yarn run v1.7.0
scheduler_1 | $ yarn global add nodemon; nodemon index.js
scheduler_1 | [1/4] Resolving packages...
scheduler_1 | (node:33) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
scheduler_1 | [2/4] Fetching packages...
scheduler_1 | info [email protected]: The platform "linux" is incompatible with this module.
scheduler_1 | info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
scheduler_1 | [3/4] Linking dependencies...
scheduler_1 | [4/4] Building fresh packages...
scheduler_1 | success Installed "[email protected]" with binaries:
scheduler_1 | - nodemon
scheduler_1 | [nodemon] 1.17.5
scheduler_1 | [nodemon] to restart at any time, enter rs
scheduler_1 | [nodemon] watching: .
scheduler_1 | [nodemon] starting node index.js
scheduler_1 | Tue, 10 Jul 2018 16:21:12 GMT nodemc:scheduler started at 1531239672282
scheduler_1 | Tue, 10 Jul 2018 16:21:12 GMT nodemc:scheduler queue created listener for Kue
scheduler_1 | Tue, 10 Jul 2018 16:21:12 GMT nodemc:scheduler event sending an event in 1 second (debug)
scheduler_1 | events.js:167
scheduler_1 | throw er; // Unhandled 'error' event
scheduler_1 | ^
scheduler_1 |
scheduler_1 | Error: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379
scheduler_1 | at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1162:14)
scheduler_1 | Emitted 'error' event at:
scheduler_1 | at RedisClient. (/node_modules/kue/lib/redis.js:65:13)
scheduler_1 | at RedisClient.emit (events.js:182:13)
scheduler_1 | at RedisClient.on_error (/node_modules/redis/index.js:401:14)
scheduler_1 | at Socket. (/node_modules/redis/index.js:279:14)
scheduler_1 | at Socket.emit (events.js:182:13)
scheduler_1 | at emitErrorNT (internal/streams/destroy.js:82:8)
scheduler_1 | at emitErrorAndCloseNT (internal/streams/destroy.js:50:3)
scheduler_1 | at process._tickCallback (internal/process/next_tick.js:63:19)

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

1 participant