edumeet / edumeet-docker

eduMeet in docker container for version (4.x)
MIT License
52 stars 42 forks source link

Can't start instance #11

Closed cemkoker closed 4 years ago

cemkoker commented 4 years ago

Continously complaining about redis; conn-refused

Error: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1107:14) Emitted 'error' event at: at RedisClient.on_error (/opt/multiparty-meeting/server/node_modules/redis/index.js:406:14) at Socket. (/opt/multiparty-meeting/server/node_modules/redis/index.js:279:14) at Socket.emit (events.js:198:13) at Socket.EventEmitter.emit (domain.js:448:20) at emitErrorNT (internal/streams/destroy.js:91:8) at emitErrorAndCloseNT (internal/streams/destroy.js:59:3) at process._tickCallback (internal/process/next_tick.js:63:19) Container starting up...

misi commented 4 years ago

@cemkoker Is a redis container, or local redis instance running and listening on localhost?

cemkoker commented 4 years ago

no, obviously not; but i do see a 'redis.conf' in your configs; but it doesn't get installed ? (Running CentOS 7)

misi commented 4 years ago

try to usedocker-compose up -d

cemkoker commented 4 years ago

docker-compose up

Building mm
Step 1/31 : FROM node:lts-alpine AS mm-builder
ERROR: Service 'mm' failed to build: Error parsing reference: "node:lts-alpine AS mm-builder" is not a valid repository/tag: invalid reference format
misi commented 4 years ago

Sorry I missed to tell use docker-compose pull first.

cemkoker commented 4 years ago

Thanks ! It worked ! Now i just need to solve the websocket issue

websocket.js:120 WebSocket connection to 'wss://xxx.com/socket.io/?peerId=awskomok&roomId=test&EIO=3&transport=websocket&sid=fTEiAsQKoNuUwcsyAAAF' failed: Connection closed before receiving a handshake response

misi commented 4 years ago

It seems firewall or something network related issue

misi commented 4 years ago

@cemkoker Let me know if I can help you more..

misi commented 4 years ago

I will close this please open a new issue if I can help you more.

cemkoker commented 4 years ago

thanks; to confirm mm needs to have ports 443 and 40000-49999 UDP open correct ?

misi commented 4 years ago

You didn't wrote it, because maybe it is trivial that 443 is also tcp.. Ans Yes these ports are needed, and maybe tcp/80 is also good to have, but not mandatory.

cemkoker commented 4 years ago

Yes because the network where i'm setting up this is very complex and has DirectAccess (so IPv6 > IPv4 translation); so WebRTC doesn't support that. Problem solved.