greenlight icon indicating copy to clipboard operation
greenlight copied to clipboard

BBB API working but button join in Greenlight not work

Open Gotppsn opened this issue 2 years ago • 4 comments

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?

Gotppsn avatar Jul 27 '23 08:07 Gotppsn

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.

MetalGeloet avatar Jul 28 '23 11:07 MetalGeloet

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.

JeanPluzo avatar Jul 28 '23 11:07 JeanPluzo

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

hostbbb avatar Jul 28 '23 14:07 hostbbb

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....

MetalGeloet avatar Jul 31 '23 15:07 MetalGeloet