Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BBB API working but button join in Greenlight not work #5348

Open
Gotppsn opened this issue Jul 27, 2023 · 4 comments
Open

BBB API working but button join in Greenlight not work #5348

Gotppsn opened this issue Jul 27, 2023 · 4 comments

Comments

@Gotppsn
Copy link

Gotppsn commented Jul 27, 2023

Hi I try to use API to create automation to create a meeting room
API and Server Rooms status is Running Normal
but am trying to join the Class via Greenlight front page it does not work
it shows up "The meeting hasn't started yet."
but the room is running
image

Do you have any ideas?

@MetalGeloet
Copy link

Hi, i have the same problem.
It is possible to join a meeting via the Nextcloud API.
But not via BBB website.
I have already reinstalled BBB including Greenlight but the error remains.

@JeanPluzo
Copy link

Hi,
I could be wrong, but I don't think it's that simple.
According to BBB's Security Model, you have to send a checksum with ever API call.
Besides, I would guess that, every time you start a room through GL, a new checksum will be generated, which will not be the same as the one you specify via other means (APIMate, Nextrcloud API, etc).
Just my 2 cents.

Regards,
J.

@hostbbb
Copy link

hostbbb commented Jul 28, 2023

look in nginx logs /var/log/nginx/bigbluebutton.access.log and see what exact params are being sent on the create call when you start a room in GL. look at the custom meta_ params, the start is doing a create, and then a join together to get into the room.

I see these params and callbacks when i start a GL room.
&meta_bbb-origin=greenlight
&meta_bbb-origin-version=3
&meta_bbb-recording-ready-url=https%3A%2F%2Fxxx.xxxxxx.cloud%2Frecording_ready
&meta_endCallbackUrl=https%3A%2F%2Fxxx.xxxxxx.cloud%2Fmeeting_ended
&moderatorOnlyMessage=xxxxxx

Also when the create call is made im sure the internal meetingID is sent back in response and most likely this is stored in postgres and may be what is used to enable entering a started meeting. Just guessing here, but you may need at add the this is postgres to enable joining in GL

@MetalGeloet
Copy link

In my nginx log /var/log/nginx/bigbluebutton.access.log i didn't see anything like this.
This is the output when i start a room in GL:

 [31/Jul/2023:15:26:54] "POST /api/v1/meetings/dl4-xb6-cjj-glk/start.json HTTP/2.0" 400 13 "https://meeting.*********.de/rooms" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0"
 [31/Jul/2023:15:27:01] "GET /api/v1/rooms.json?search= HTTP/2.0" 304 0 "https://meeting.*********.de/rooms" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0"
 [31/Jul/2023:15:27:09] "GET /api/v1/env.json HTTP/2.0" 304 0 "https://meeting.*********.de/rooms" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0"
 [31/Jul/2023:15:27:09] "GET /api/v1/sessions.json HTTP/2.0" 304 0 "https://meeting.*********.de/rooms" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0"
 [31/Jul/2023:15:27:09] "GET /api/v1/site_settings.json?names[]=PrimaryColor&names[]=PrimaryColorLight HTTP/2.0" 304 0 "https://meeting.*********.de/rooms" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0"
 [31/Jul/2023:15:27:09] "GET /api/v1/site_settings.json?names=BrandingImage HTTP/2.0" 304 0 "https://meeting.*********.de/rooms" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0"
 [31/Jul/2023:15:27:09] "GET /api/v1/rooms.json?search= HTTP/2.0" 304 0 "https://meeting.*********.de/rooms" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0"
 [31/Jul/2023:15:27:09] "GET /api/v1/rooms_configurations/record.json HTTP/2.0" 304 0 "https://meeting.*********.de/rooms" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0"
 [31/Jul/2023:15:27:09] "GET /api/v1/site_settings.json?names[]=Terms&names[]=PrivacyPolicy HTTP/2.0" 304 0 "https://meeting.*********.de/rooms" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0"
 [31/Jul/2023:15:27:09] "GET /api/v1/recordings/recordings_count.json HTTP/2.0" 304 0 "https://meeting.*********.de/rooms" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0"
 [31/Jul/2023:15:27:13] "POST /api/v1/meetings/dl4-xb6-cjj-glk/start.json HTTP/2.0" 400 13 "https://meeting.*********.de/rooms" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0"

This is the output when i start a room in nextcloud:

[31/Jul/2023:15:32:50] "GET /bigbluebutton/api/create?name=Testmeeting&meetingID=o**************&attendeePW=g**************&moderatorPW=k*****************&maxParticipants=50&logoutURL=https%3A%2F%2Fcloud.*********.de&record=true&moderatorOnly

Several new installations failed with the same error....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants