laravel-echo-server
laravel-echo-server copied to clipboard
AWS Redis Cluster not working
It was running fine on local machine but not working on production as i am using AWS redis cluster there. Although It is showing "✔ Listening for redis events..." .
L A R A V E L E C H O S E R V E R
version 1.6.0
Starting server...
✔ Running at localhost on port 6001 ✔ Listening for http events... ✔ Listening for redis events...
Server ready!
Unhandled rejection ReplyError: MOVED 12302 SOME_IP:6379
at JavascriptRedisParser.returnError (/usr/lib/node_modules/laravel-echo-server/node_modules/ioredis/lib/redis/parser.js:24:25)
at JavascriptRedisParser.execute (/usr/lib/node_modules/laravel-echo-server/node_modules/redis-parser/lib/parser.js:572:12)
at Socket.
same here any solution?
@mohamadchoker are using laravel broadcasting or caching ?
@razibchamp broadcasting
Laravel broadcasting doesn't support redis cluster. I used local redis in EC2 instead of aws redis cluster.
@razibchamp are we sure about that ? trying to connect with remote redis server with laravel echo server?