You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
We have developed a custom application that uses BigBlueButton for mentoring sessions. We are trying to take advantage of analytics-callback in order to get attendance data. We are using SCALELITE to handle BBB events for all of our company services (e-learning, e-mentoring, etc.). We tried the analytics-callback but nothing is returned.
The post_events_analytics_callback.log of the BBB server, when creating the meeting through SCALELITE server:
I, [2025-02-03T13:49:37.294187 #1139179] INFO -- : Analytics Post Events for [f039f6be0177f3a9d4b259edea2df3ac767cd51d-1738583334900] starts
I, [2025-02-03T13:49:37.294770 #1139179] INFO -- : Processing events for analytics...
I, [2025-02-03T13:49:37.372603 #1139179] INFO -- : {"version":"1.0","meeting_id":"ed81057a-b812-4a77-9fc0-173ecc05b564233d7079060-6137-44cc-85ec-c4d9c8d1ba85","internal_meeting_id":"f039f6be0177f3a9d4b259edea2df3ac767cd51d-1738583334900","data":{"metadata":{"meeting_name":"2η Συνεδρία","is_breakout":"false","analytics_callback_url":"https://MY_SCALELITE_URL/api/analytics_callback"},"duration":40,"start":"2025-02-03T13:48:54.000+02:00","finish":"2025-02-03T13:49:34.000+02:00","attendees":[{"ext_user_id":"ed81057a-b812-4a77-9fc0-173ecc05b564","name":"Mentee002 Demo","moderator":false,"joins":["2025-02-03T13:48:56.000+02:00"],"leaves":["2025-02-03T13:49:34.000+02:00"],"duration":38,"recent_talking_time":"","engagement":{"chats":0,"talks":0,"raisehand":0,"emojis":0,"poll_votes":0,"talk_time":0},"sessions":[{"joins":[{"timestamp":"2025-02-03T13:48:56.000+02:00","userid":"w_jmjpmhoqgmpz","ext_userid":"ed81057a-b812-4a77-9fc0-173ecc05b564","event":"join","remove":false}],"lefts":[]}]},{"ext_user_id":"d7079060-6137-44cc-85ec-c4d9c8d1ba85","name":"Mentor002 Demo","moderator":true,"joins":["2025-02-03T13:49:15.000+02:00"],"leaves":["2025-02-03T13:49:34.000+02:00"],"duration":19,"recent_talking_time":"","engagement":{"chats":0,"talks":0,"raisehand":0,"emojis":0,"poll_votes":0,"talk_time":0},"sessions":[{"joins":[{"timestamp":"2025-02-03T13:49:15.000+02:00","userid":"w_tymxl60abpbf","ext_userid":"d7079060-6137-44cc-85ec-c4d9c8d1ba85","event":"join","remove":false}],"lefts":[]}]}],"files":["default.pdf"],"polls":[]}}
I, [2025-02-03T13:49:37.580968 #1139179] INFO -- : <?xml version="1.0"?>
<response>
<returncode>FAILED</returncode>
<messageKey>unsupportedContentType</messageKey>
<message>POST request Content-Type is missing or unsupported</message>
</response>
I, [2025-02-03T13:49:37.581016 #1139179] INFO -- : Success
I, [2025-02-03T13:49:37.581029 #1139179] INFO -- : Analytics Post Events for [f039f6be0177f3a9d4b259edea2df3ac767cd51d-1738583334900] ends
To Reproduce
Deployment:
Deployment: It is based on the default systemd deployment
Versions: SCALELITE 1.6.3, BBB 2.7.16
Steps to reproduce the behavior:
Create a meeting in SCALELITE with the meta_analytics-callback-url
Join the meeting. Check logs in docker logs -f scalelite-api 2>&1 | grep -C3 'analytics' for the specific meeting.
End the meeting and wait for analytics data
Nothing is returned, logs in scalelite-api are not updated. See error in post_events_analytics_callback.log of the BBB server where SCALELITE created the meeting.
Expected behavior
The post_events_analytics_callback.log from the BBB server, when creating the meeting direct to BBB server:
I, [2025-02-03T13:28:46.237198 #1127249] INFO -- : Analytics Post Events for [f039f6be0177f3a9d4b259edea2df3ac767cd51d-1738581968738] starts
I, [2025-02-03T13:28:46.238658 #1127249] INFO -- : Processing events for analytics...
I, [2025-02-03T13:28:46.392166 #1127249] INFO -- : {"version":"1.0","meeting_id":"ed81057a-b812-4a77-9fc0-173ecc05b564233d7079060-6137-44cc-85ec-c4d9c8d1ba85","internal_meeting_id":"f039f6be0177f3a9d4b259edea2df3ac767cd51d-1738581968738","data":{"metadata":{"is_breakout":"false","meeting_name":"2η Συνεδρία","analytics_callback_url":"https://MY_APP_URL/api/bbb/analytics"},"duration":154,"start":"2025-02-03T13:26:08.000+02:00","finish":"2025-02-03T13:28:42.000+02:00","attendees":[{"ext_user_id":"ed81057a-b812-4a77-9fc0-173ecc05b564","name":"Mentee002 Demo","moderator":false,"joins":["2025-02-03T13:26:15.000+02:00"],"leaves":["2025-02-03T13:28:42.000+02:00"],"duration":147,"recent_talking_time":"","engagement":{"chats":0,"talks":0,"raisehand":0,"emojis":0,"poll_votes":0,"talk_time":0},"sessions":[{"joins":[{"timestamp":"2025-02-03T13:26:15.000+02:00","userid":"w_8gocbfnyy8ub","ext_userid":"ed81057a-b812-4a77-9fc0-173ecc05b564","event":"join","remove":false}],"lefts":[]}]},{"ext_user_id":"d7079060-6137-44cc-85ec-c4d9c8d1ba85","name":"Mentor002 Demo","moderator":true,"joins":["2025-02-03T13:27:25.000+02:00"],"leaves":["2025-02-03T13:28:42.000+02:00"],"duration":77,"recent_talking_time":"2025-02-03T13:28:36.000+02:00","engagement":{"chats":0,"talks":19,"raisehand":0,"emojis":0,"poll_votes":0,"talk_time":31},"sessions":[{"joins":[{"timestamp":"2025-02-03T13:27:25.000+02:00","userid":"w_hs44aqx42rr9","ext_userid":"d7079060-6137-44cc-85ec-c4d9c8d1ba85","event":"join","remove":false}],"lefts":[]}]}],"files":["default.pdf"],"polls":[]}}
I, [2025-02-03T13:28:46.923797 #1127249] INFO -- :
I, [2025-02-03T13:28:46.923839 #1127249] INFO -- : Success
I, [2025-02-03T13:28:46.923851 #1127249] INFO -- : Analytics Post Events for [f039f6be0177f3a9d4b259edea2df3ac767cd51d-1738581968738] ends
Additional context
As you see in the above logs, when we create the same meeting direct to the BBB server, we get back all analytics data. The difference with the first logs, is line: I, [2025-02-03T13:49:37.580968 #1139179] INFO -- : <?xml version="1.0"?> Is SCALELITE trying to send an XML instead of JSON file?
We have followed all directives in documentation for entering the BBB secrets in SCALELITE LOADBALANCERSECRETS list. We have checked on all BBB servers that the 'securitySalt' is the same in both files /etc/bigbluebutton/bbb-web.properties and /usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties
We are looking forward for your opinion
The text was updated successfully, but these errors were encountered:
Describe the bug
We have developed a custom application that uses BigBlueButton for mentoring sessions. We are trying to take advantage of analytics-callback in order to get attendance data. We are using SCALELITE to handle BBB events for all of our company services (e-learning, e-mentoring, etc.). We tried the analytics-callback but nothing is returned.
The post_events_analytics_callback.log of the BBB server, when creating the meeting through SCALELITE server:
To Reproduce
Deployment:
Steps to reproduce the behavior:
Expected behavior
The post_events_analytics_callback.log from the BBB server, when creating the meeting direct to BBB server:
Additional context
As you see in the above logs, when we create the same meeting direct to the BBB server, we get back all analytics data. The difference with the first logs, is line:
I, [2025-02-03T13:49:37.580968 #1139179] INFO -- : <?xml version="1.0"?>
Is SCALELITE trying to send an XML instead of JSON file?We have followed all directives in documentation for entering the BBB secrets in SCALELITE LOADBALANCERSECRETS list. We have checked on all BBB servers that the 'securitySalt' is the same in both files /etc/bigbluebutton/bbb-web.properties and /usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties
We are looking forward for your opinion
The text was updated successfully, but these errors were encountered: