Jitsi calls waiting for answer

Description

Server Setup Information

  • Version of Rocket.Chat Server: 6.13.0
  • Operating System: Oracle Linux 8
  • Deployment Method: Docker
  • Number of Running Instances: 1
  • DB Replicaset Oplog:
  • NodeJS Version:
  • MongoDB Version: 5.0
  • Proxy: nginx
  • Firewalls involved: no

Any additional Information

Running HTTPS using Nginux.
Jitsi app version 2.1.1

Hello,
We have just installed Rocket.Chat 6.13.0 with nginx using SSL certs.
The WebUI is working correctly pointing to https://.
We have install Jitsi app from the Marketplace and configured the URL to be .
When we start a call we get various issues:
The Accept button doesn’t appear on the recipients screen
‘Waiting for answer’ appears on my screen
I get a pop up and accept the call, but is ‘shows waiting for answer’ and is still ringing on the senders screen
When the call is accepted, the new tab opens with Jitsi URL, but we get ‘Page not found - The page doesn’t existing or you do not have access permissions’

Any thoughts please?
KR - Giles

? Not much use…

Is nginx running as a reverse proxy to Rocket.Chat?

Is Jitsi running behind a reverse proxy? Is it your own install?

Need a lot more info.

Hi, Thanks for the comments.
Yes running Nginx as a reverse SSL proxy for RC.
Deployed v6.13.0 on-prem on Oracle Linux 8 , using the Docker installation instructions.
Docker container running on port 3000 and the Nginx is configured with our custom certificates:

Upstreams

upstream backend {
server 127.0.0.1:3000;
}

HTTPS Server

server {
listen 443;
server_name ;

# You can increase the limit if your need to.
client_max_body_size 200M;

error_log /var/log/nginx/rocketchat.access.log;

ssl on;
ssl_certificate /etc/nginx/certificate.crt;
ssl_certificate_key /etc/nginx/certificate.key;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2; # don’t use SSLv3 ref: POODLE

location / {
    proxy_pass http://backend;
    proxy_http_version 1.1;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection "upgrade";
    proxy_set_header Host $http_host;

    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header X-Forwarded-Proto https;
    proxy_set_header X-Nginx-Proxy true;

    proxy_redirect off;

Both the WebUI and Desktop client are able to connect to the RC server on the https URL.
Chat works without issue.
Jitsi app installed form the MarketPlace and the settings for the domain are is just the SERVER-FQDN.
When we try a call, it either sits at ‘wating for answer’ or if you can join a call, it opens a new browser tab to the https://SERVER-FQDN/RocketChatxxxxxxxxxx and then displays ‘Page not found’

So that is Jitsi, not Rocket.

So my Rocket server is

https://my.rocket.chat

My Jitsi server is

https://my.jitsi.server:8111/

In the Jitsi app settings you need to put the URL of your Jitsi server, not your Rocket server.

Rocket just generates the URL to get you started

So /jitsi will generate a URL like this

https://my.jitsi.server:8111/titleprefix-k34j3j23b3249324n-titlesuffix

Or /jitsi myroom will generate

https://my.jitsi.server:8111/titleprefix-myroom-titlesuffix

So your ‘page not found’ is because your Jitsi server is not answering the URL https://SERVER-FQDN/RocketChatxxxxxxxxxx

I can always manually access my Jitsi instance directly via https://my.jitsi.server:8111/

You need to add the correct URL and make sure it is working.

Hi @reetp
Thanks for the information.
We have got the URLS sorted and now got (via the WebUI), audio and video calls running.
Using the Desktop app, we have not been able to open a call, but investigating as it seems to launch a browser window for the Jitsi call.

What version of the app?

I have 4.10 with Rocket 6.12.2

When I click to call I get a message in the chat.

If I click the 'i 'for info I get a URL which clicks to open in a browser tab.

If I click the ‘Join’ button it opens in a new window.

YMMV.