Video chat app using Vue, Vuex, WebRTC, SocketIO, Node, Redis & Docker with horizontal scaling. Multiparty and 1 to 1 video functionality, several public rooms and user status
Server Listening on port 3000
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:1083:14)
Emitted 'error' event at:
at RedisClient.onError (C:\git\video-chat\node_modules\socket.io-redis\index.js:118:12)
at RedisClient.emit (events.js:202:15)
at RedisClient.on_error (C:\git\video-chat\node_modules\redis\index.js:406:14)
at Socket. (C:\git\video-chat\node_modules\redis\index.js:279:14)
at Socket.emit (events.js:197:13)
at emitErrorNT (internal/streams/destroy.js:82:8)
at emitErrorAndCloseNT (internal/streams/destroy.js:50:3)
at processTicksAndRejections (internal/process/next_tick.js:76:17)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] run:server: node ./server/index.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] run:server script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\rovi.cruz.PH\AppData\Roaming\npm-cache_logs\2020-06-26T05_40_38_619Z-debug.log
How can I open video chat? I've been looking for it for a long time on https://vue-video-chat.surge.sh/#/chat , but I haven't seen any video button. thanks
Its working properly however I came across an issue. I closed all the tabs and when I started the localhost again and entered the same user it says username already exists. I can enter the new username and join the chat, where I can see the username already there in the chat room , using which I cannot enter the room.
After starting the servers manually or with the docker image the main chat room is not shown. Looks like sockets:{ connect() { this.$router.push("/chat") } },
is not called.
I've insert await this.$router.push("/chat") after this.$socket.open(). Main page is displayed, video can be started but users are not shown in the chat.