Closed Uffi64 closed 2 years ago
Do you have any errors in your browser console for the waiting user after the meeting has started?
@farhatahmad No, not at all. The wating room page stays as if still waiting.
Perhaps you can check again, I'm pretty sure the wss cable connection is failing at the beginning, so the client doesn't get the info to join the session once it's started. This error should show up in the console upon opening the page. I've run into this error myself as well, the only thing that did help was fiddling with around with the nginx config until the cable connection finally worked. Unfortunately, I'm not sure what exactly did help, perhaps it's a formatting error.
@mk-hs Thank you for your interest in my problem. You write This error should show up in the console upon opening the page Can you explain to mes what you mean by that? On which console and at what point of time? best regards
It should show up in your browser's console (press f12) as an error after entering your name and joining a (not yet started) session. If the cable connection is working, "connected" should show up, otherwise there should be a wss error.
@mk-hs Thanks for the answer. In fact I get an error here:
GETwss://my.domain.de/b/cable
[HTTP/1.1 404 Not Found 239ms]
GET
wss://my.domain.de/b/cable
Status
404
Not Found
VersionHTTP/1.1
Übertragen318 B (0 B Größe)
HTTP/1.1 404 Not Found
Server: nginx
Date: Tue, 19 Oct 2021 09:44:23 GMT
Content-Type: text/plain
Transfer-Encoding: chunked
Connection: keep-alive
Cache-Control: no-cache
X-Request-Id: 327a0d0c-cf79-40d0-be0f-b16d1ffe33b9
X-Runtime: 0.000559
Strict-Transport-Security: max-age=31536000; includeSubDomains
GET /b/cable HTTP/1.1
Host: my.domain.de
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:92.0) Gecko/20100101 Firefox/92.0
Accept: */*
Accept-Language: de,en-US;q=0.7,en;q=0.3
Accept-Encoding: gzip, deflate, br
Sec-WebSocket-Version: 13
Origin: https://my.domain.de
Sec-WebSocket-Protocol: actioncable-v1-json, actioncable-unsupported
Sec-WebSocket-Extensions: permessage-deflate
Sec-WebSocket-Key: PdzQLiwk/NiCv1RFeG9cQw==
Connection: keep-alive, Upgrade
Cookie: _greenlight-2_3_session=wNNbqI0RswZEJh6yJsHNTyK9yrzkSMlbKoCvJZhRETEY4oJhImkNNeDKb8xEpVpCeXNqWmha8T0LzGNpgV0C7oTZZfastrBBdxDlpRjBLysQ0Et6vAuFlhszfF6VrrFer%2FbNTiAs%3D--%2BnCVFPDGAxWx2LjE--SgwQsVH5u%2FbuoFbq%2F3Q%3D%3D; greenlight_name=TTBsSE%2By--gfXtMjmYA5JjKd%2Bi--2VResPrJVKKC%2FyxOlxw%3D%3D; cookie_consented=true
Sec-Fetch-Dest: websocket
Sec-Fetch-Mode: websocket
Sec-Fetch-Site: same-origin
Pragma: no-cache
Cache-Control: no-cache
Upgrade: websocket
The Nginx config looks like this.
location ~ ^/b/cable$ {
proxy_pass http://172.23.0.3:80;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_set_header X-Forwarded-Ssl on;
proxy_http_version 1.1;
proxy_read_timeout 6h;
proxy_send_timeout 6h;
client_body_timeout 6h;
send_timeout 6h;
}
Right now I have no idea where the problem is... :-(
location ~ ^/b/cable$ {
is producing the same error for me, but
location = ^/b/cable$ {
is working fine, perhaps this is the case for you as well.
@mk-hs Finally I got it!! Seems, that
location ~ ^/(b$|b/) {
proxy_pass http://172.23.0.3:80;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_http_version 1.1;
}
also matches the /b/cable
So I transferred the /b/cable configuration in front of the ^/(b$|b/) configuratation for it is more specific.
Now it looks like this:
location ~ ^/b/cable$ {
proxy_pass http://172.23.0.3:80;
proxy_s...
}
location ~ ^/(b$|b/) {
proxy_pass http://172.23.0.3:80;
proxy_s...
}
And with this order the /b/cable works as expected.
Thank you very much for your help. You pushed me to look again and again.
Hi, where is the configuration located that I should edit. I am facing the same problem.
At my installation the config file is here:
/etc/bigbluebutton/nginx/greenlight.nginx
Thnx, I see my problem could be the fact I am using Traefik as Reverse Proxy so I have to figure out how to fix this.
My Installation
Versions
Portalserver Docker-Container
Here you can find a grafical overview: pictured overview
The whole installation works well and is in use. Balancing by scalelite, BBB-Sessions, screensharing, turnserver, breakout-rooms, chats - works everything as a charm.
The situation If an invited user clicks his link when conference hasn't started he finds himself in the waiting room.
Expected behaviour When the conference room is opened the user should be pushed automatically into the confernece.
Problem The waiting user waits eternally to be forwarded. The only way for him to join the conference is to click the invitation link once again.
As far as I know the following configuration of scalelite-nginx is responsible here:
I tried the following variants already but without any success. [1] X-Forwarded-Proto removed
[2] location modified
[3] X-Forwardes-Ssl added
My greenlight .env - file
my greenlight docker-compose.yaml
On 2 other installations without scalelite where greenlight is on the same server as bbb things are working well.
Any hint to resolve this issue would be highly appreciated. Thanks to all.