Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

This Isnt in your video tutorial but im sure you'll know why it keeps erroring #108

Open
KatoOhashi opened this issue May 8, 2019 · 8 comments

Comments

@KatoOhashi
Copy link

error is as stated below
14:54:33.92 Master Server started on port: 8000
events.js:173
throw er; // Unhandled 'error' event
^

Error: Redis connection to localhost:6379 failed - connect ECONNREFUSED 127.0.0.1:6379
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1054:14)
Emitted 'error' event at:
at RedisClient.onError (G:\RPGMaker MV Projects\MV_Online-master\node_modules\socket.io-redis\index.js:118:12)
at RedisClient.emit (events.js:196:13)
at RedisClient.on_error (G:\RPGMaker MV Projects\MV_Online-master\node_modules\redis\index.js:406:14)
at Socket. (G:\RPGMaker MV Projects\MV_Online-master\node_modules\redis\index.js:279:14)
at Socket.emit (events.js:196:13)
at emitErrorNT (internal/streams/destroy.js:91:8)
at emitErrorAndCloseNT (internal/streams/destroy.js:59:3)
at processTicksAndRejections (internal/process/task_queues.js:84:9)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! mvonline@0.2.2 start: node server.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the mvonline@0.2.2 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

@KatoOhashi
Copy link
Author

im actually Seeing where it keeps erroring in the REDISCLIENT but i dont want to touch that code cuase it wasnt in the video tutorial

@squareware
Copy link

squareware commented May 8, 2019 via email

@KatoOhashi
Copy link
Author

oof how to install e.e it wasnt included in the video tutorial in the server part ??? oof ???

@KatoOhashi
Copy link
Author

KatoOhashi commented May 9, 2019

ok well apparently i fixed my issue solo on this one but more issues ahead apprently too theres alot of deprications in your work and server crashes when a player logs in
i will write more on that in a different ticket To see if it helps fix those for you
but im gonna take a nights rest first @~@

@squareware
Copy link

squareware commented May 9, 2019 via email

@squareware
Copy link

Click a file on the github and click history.

@rafaelrodrigosilveira
Copy link

rafaelrodrigosilveira commented Oct 7, 2019

I fix this in the config.js, in the line 23:
redisConnection: process.env.MV_REDIS_HOST_URL || 'redis://localhost',

change this for:
redisConnection: process.env.MV_REDIS_HOST_URL || 'redis://url_mongo:port',

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

No branches or pull requests

4 participants
@rafaelrodrigosilveira @squareware @KatoOhashi and others