Giter VIP home page Giter VIP logo

adrigardi90 / video-chat Goto Github PK

View Code? Open in Web Editor NEW
286.0 286.0 112.0 999 KB

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

Home Page: https://vue-video-chat.surge.sh/#/

JavaScript 53.17% HTML 0.87% Vue 44.00% Dockerfile 0.67% CSS 1.30%
docker nodejs redis socketio video-chat vuejs webrtc

video-chat's Issues

when i try to run the server

npm run run:server

[email protected] run:server C:\git\video-chat
node ./server/index.js

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

unable to connect

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.

Chat page not displayed

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.