mynaparrot / plugNmeet-server

WebRTC based Scalable, High Performance, Open source web conferencing system using Livekit.
https://www.plugnmeet.org
MIT License
303 stars 73 forks source link

Docker error #548

Closed Char99s closed 2 months ago

Char99s commented 2 months ago

Hello again, I recently downloaded plugNmeet on my ubuntu server on vbox and it is running fine. I am able to connect from a nextjs app running on my windows to the plugnmeet server running on the vbox instance. i was able to fetch client files but not create room. I get the following error when I do so:

{ status: false, msg: 'Error: twirp error internal: failed to do request: Post "http://host.docker.internal:7880/twirp/livekit.RoomService/CreateRoom": dial tcp: lookup host.docker.internal on 127.0.0.11:53: no such host', roomInfo: undefined }

Thanks for the support!

Char99s commented 2 months ago

Screenshot 2024-08-19 124841

I also get the following errors i dont know if its related

jibon57 commented 2 months ago

System was trying to connect host.docker.internal. I don't think that's the correct host for your case. Try to replace it with proper IP/hostname.

Char99s commented 2 months ago

System was trying to connect host.docker.internal. I don't think that's the correct host for your case. Try to replace it with proper IP/hostname.

The thing is that I am able to connect to the server from my windows. I also just installed docker on the server and ran plugNmeet server following the docs. So the error is internal from plugNmeet itself and I can't find where it's from. I did the same steps on WSL and it worked. Maybe it's because the server is on VBOX?

Char99s commented 2 months ago

Fixed by adding the following to the services in the docker-compose.yaml :

extra_hosts:

seems like it's needed when using docker on Linux