docker-jitsi-meet icon indicating copy to clipboard operation
docker-jitsi-meet copied to clipboard

Jitsi works locally, but not over the internet

Open mekler22 opened this issue 6 months ago • 10 comments

I am using version stable-10184 Installed on synology nas via docker (linux) 4 containers created: docker-jitsi-meet-jicofo-1 docker-jitsi-meet-jvb-1 docker-jitsi-meet-prosody-1 docker-jitsi-meet-web-1

After editing the .env file a couple of times, and correcting these items (http port 8000 is taken by portainer so had to change it):

# Exposed HTTP port (will redirect to HTTPS port)
HTTP_PORT=8001
# System time zone
TZ=Asia/Singapore
# Public URL for the web service (required)
# Keep in mind that if you use a non-standard HTTPS port, it has to appear in the public URL
PUBLIC_URL=https://xxx.xxx.xxx:5008 (masked, and also used reverse proxy and opened the external port and port forwarded it in my router to the internal 8443 port)
# Media IP addresses to advertise by the JVB
# This setting deprecates DOCKER_HOST_ADDRESS, and supports a comma separated list of IPs
# See the "Running behind NAT or on a LAN environment" section in the Handbook:
# https://jitsi.github.io/handbook/docs/devops-guide/devops-guide-docker#running-behind-nat-or-on-a-lan-environment
JVB_ADVERTISE_IPS=x.x.x.x (internal lan ip),x.x.x.x (external static ip)

So when I try to access via my chrome browser in windows, I can create and join rooms without an issue. But when I installed the jitsi app on my android phone and tried joining or creating a room - I keep getting disconnected.

Please help. I also cannot see any issues in the logs.

mekler22 avatar May 16 '25 10:05 mekler22

Debugging on Android is a tad more difficult, so let's start simple: does it work using a desktop browser, over the internet?

saghul avatar May 16 '25 11:05 saghul

No. As I mentioned, it works on a desktop browser, but inside the LAN. I have not tried it on a desktop browser from the internet (meaning another location). I did try it from my android phone outside my local wifi network, and it keeps disconnecting, as I said.

mekler22 avatar May 16 '25 14:05 mekler22

x.x.x.x (external static ip)

Have you setup the port forwarding from this IP address on port UDP 10000 to this: address x.x.x.x (internal lan ip)?

damencho avatar May 16 '25 14:05 damencho

And make sure there is no firewall blocking it.

damencho avatar May 16 '25 14:05 damencho

x.x.x.x (external static ip)

Have you setup the port forwarding from this IP address on port UDP 10000 to this: address x.x.x.x (internal lan ip)?

I have now. I will test tommorrow. thanks

And make sure there is no firewall blocking it.

I already opened the relevant ports, in the firewall as well as in the server

mekler22 avatar May 16 '25 14:05 mekler22

Okay, so current development is as follows: I can open and communicate on jitsi, but only via the external address, and only in a web browser (any other option causes disconnection). Can you help so my jitsi android app (at least) works (it is set to my external address)? or even my internal address works to make calls? Thanks.

mekler22 avatar May 17 '25 02:05 mekler22

Are you using a valid certificate?

damencho avatar May 17 '25 04:05 damencho

Are you using a valid certificate?

It is having a problem getting a certificate from letsencrypt. it just goes through all 30 steps and times out and again and again.

[Mon May 19 09:58:46 +08 2025] Processing, The CA is processing your order, please just wait. (1/30)
[Mon May 19 09:58:50 +08 2025] Pending, The CA is processing your order, please just wait. (2/30)
[Mon May 19 09:58:55 +08 2025] Pending, The CA is processing your order, please just wait. (3/30)
[Mon May 19 09:58:59 +08 2025] Pending, The CA is processing your order, please just wait. (4/30)
....

mekler22 avatar May 19 '25 02:05 mekler22

Is 80 accessible and working for your deployment?

damencho avatar May 19 '25 02:05 damencho

Is 80 accessible and working for your deployment?

It is I believe. but I already removed the installation. trying another docker.

mekler22 avatar May 25 '25 13:05 mekler22

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Jul 25 '25 02:07 github-actions[bot]