Cannot read property 'meetingProp' of undefined when running development environment

101 views
Skip to first unread message

Michaël Lucas

unread,
Feb 3, 2022, 10:23:01 AM2/3/22
to BigBlueButton-Setup
Hello everyone,

I've deployed a running server of bigbluebutton with greenlight and now I would to apply some changes to the file "bigbluebutton-html5".

As I followed the tutorial I updated "/etc/bigbluebutton/nginx/bbb-html5.nginx" to put it in development mode, reload it , installed meteor and set the proper version.
When I stop bbb-html5 and run "npm start" everything is going alright but when I try to connect it give me the same error everytime " /etc/bigbluebutton/nginx/bbb-html5.nginx"

Here are the logs:
I20220203-16:15:13.008(1)? info: Removing connectionId for user. sessionId=9e5d37c0bef6f8918c71e25386ab977cc30c77e2-1643900667715--w_9gq9xptduojz connectionId=2TLSt2JCCemYh6c54
I20220203-16:15:13.010(1)? info: User 'w_9gq9xptduojz' is leaving meeting '9e5d37c0bef6f8918c71e25386ab977cc30c77e2-1643900667715'
I20220203-16:15:25.329(1)? info: Active connections {"9e5d37c0bef6f8918c71e25386ab977cc30c77e2-1643900667715":{}}
I20220203-16:15:27.959(1)? error: MeetingCreatedEvtMsg: Error: Match error: Missing key 'virtualBackgroundsDisabled' in field usersProp
I20220203-16:15:27.960(1)?     at check (packages/check/match.js:36:17)
I20220203-16:15:27.960(1)?     at addMeeting (imports/api/meetings/server/modifiers/addMeeting.js:41:3)
I20220203-16:15:27.961(1)?     at EventEmitter.handleMeetingCreation (imports/api/meetings/server/handlers/meetingCreation.js:10:10)
I20220203-16:15:27.961(1)?     at EventEmitter.emitAsync (/home/ubuntu/bigbluebutton/bigbluebutton-html5/node_modules/eventemitter2/lib/eventemitter2.js:463:31)
I20220203-16:15:27.961(1)?     at MeetingMessageQueue.handleTask (imports/startup/server/redis.js:114:10)
I20220203-16:15:27.962(1)?     at imports/startup/server/redis.js:126:28
I20220203-16:15:27.962(1)?     at Queue.start (/home/ubuntu/bigbluebutton/bigbluebutton-html5/node_modules/queue/index.js:145:17)
I20220203-16:15:27.962(1)?     at Queue.<computed> [as push] (/home/ubuntu/bigbluebutton/bigbluebutton-html5/node_modules/queue/index.js:59:12)
I20220203-16:15:27.963(1)?     at MeetingMessageQueue.add (imports/startup/server/redis.js:125:16)
I20220203-16:15:27.963(1)?     at RedisPubSub.handleMessage (imports/startup/server/redis.js:300:46)
I20220203-16:15:27.964(1)?     at runWithEnvironment (packages/meteor.js:1320:24)
I20220203-16:15:27.965(1)? error: MeetingCreatedEvtMsg: Error: Match error: Missing key 'virtualBackgroundsDisabled' in field usersProp
I20220203-16:15:27.965(1)?     at check (packages/check/match.js:36:17)
I20220203-16:15:27.966(1)?     at addMeeting (imports/api/meetings/server/modifiers/addMeeting.js:41:3)
I20220203-16:15:27.966(1)?     at EventEmitter.handleMeetingCreation (imports/api/meetings/server/handlers/meetingCreation.js:10:10)
I20220203-16:15:27.966(1)?     at EventEmitter.emitAsync (/home/ubuntu/bigbluebutton/bigbluebutton-html5/node_modules/eventemitter2/lib/eventemitter2.js:463:31)
I20220203-16:15:27.967(1)?     at MeetingMessageQueue.handleTask (imports/startup/server/redis.js:114:10)
I20220203-16:15:27.967(1)?     at imports/startup/server/redis.js:126:28
I20220203-16:15:27.967(1)?     at Queue.start (/home/ubuntu/bigbluebutton/bigbluebutton-html5/node_modules/queue/index.js:145:17)
I20220203-16:15:27.967(1)?     at Queue.<computed> [as push] (/home/ubuntu/bigbluebutton/bigbluebutton-html5/node_modules/queue/index.js:59:12)
I20220203-16:15:27.968(1)?     at MeetingMessageQueue.add (imports/startup/server/redis.js:125:16)
I20220203-16:15:27.968(1)?     at RedisPubSub.handleMessage (imports/startup/server/redis.js:300:46)
I20220203-16:15:27.968(1)?     at runWithEnvironment (packages/meteor.js:1320:24)
I20220203-16:15:27.969(1)? info: Added group-chat name=MAIN-PUBLIC-GROUP-CHAT meetingId=144109dc2bdefe8808eaa4426a8cf021562b7d71-1643901327931
I20220203-16:15:27.970(1)? info: Added presentation pod id=DEFAULT_PRESENTATION_POD meeting=144109dc2bdefe8808eaa4426a8cf021562b7d71-1643901327931
I20220203-16:15:30.968(1)? info: Upserted {"meetingId":"144109dc2bdefe8808eaa4426a8cf021562b7d71-1643901327931","userId":"w_p4nlpsuusfez","connectionId":"vtewHdN2iWRkvtsvR"} 2 in AuthTokenValidation
I20220203-16:15:30.977(1)? info: User 'w_p4nlpsuusfez' is trying to validate auth token for meeting '144109dc2bdefe8808eaa4426a8cf021562b7d71-1643901327931' from connection 'vtewHdN2iWRkvtsvR'
I20220203-16:15:30.978(1)? info: PendingAuths length [1]
I20220203-16:15:30.978(1)? info: PendingAuths length [0]
I20220203-16:15:30.999(1)? info: Created dummy user id=w_p4nlpsuusfez token=c0ztpzowonos meeting=144109dc2bdefe8808eaa4426a8cf021562b7d71-1643901327931
I20220203-16:15:31.002(1)? info: Client connections add called {"logCode":"client_connections_add","extraInfo":{"sessionId":"144109dc2bdefe8808eaa4426a8cf021562b7d71-1643901327931--w_p4nlpsuusfez","connection":{"id":"vtewHdN2iWRkvtsvR","clientAddress":"127.0.0.1","httpHeaders":{"x-forwarded-for":"127.0.0.1","x-forwarded-port":"4100","x-forwarded-proto":"ws","dnt":"1","host":"127.0.0.1:4100","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:96.0) Gecko/20100101 Firefox/96.0","accept-language":"fr,fr-FR;q=0.8,en-US;q=0.5,en;q=0.3"}}}}
I20220203-16:15:31.003(1)? info: Meeting not found in connections: meetingId=144109dc2bdefe8808eaa4426a8cf021562b7d71-1643901327931
I20220203-16:15:31.004(1)? info: Creating meeting in connections. meetingId=144109dc2bdefe8808eaa4426a8cf021562b7d71-1643901327931
I20220203-16:15:31.005(1)? info: Adding new connection for sessionId=144109dc2bdefe8808eaa4426a8cf021562b7d71-1643901327931--w_p4nlpsuusfez connection=vtewHdN2iWRkvtsvR
I20220203-16:15:31.005(1)? info: Creating connections poll for w_p4nlpsuusfez
I20220203-16:15:31.015(1)? info: Upserted {"meetingId":"144109dc2bdefe8808eaa4426a8cf021562b7d71-1643901327931","userId":"w_p4nlpsuusfez","connectionId":"vtewHdN2iWRkvtsvR"} 3 in AuthTokenValidation
I20220203-16:15:31.020(1)? info: User= {"_id":"qZTGwuHXPNXp2yy5K","meetingId":"144109dc2bdefe8808eaa4426a8cf021562b7d71-1643901327931","userId":"w_p4nlpsuusfez","authToken":"c0ztpzowonos","clientType":"HTML5","validated":null}
I20220203-16:15:31.021(1)? info: User='w_p4nlpsuusfez' is joining meeting='144109dc2bdefe8808eaa4426a8cf021562b7d71-1643901327931' authToken='c0ztpzowonos'
I20220203-16:15:31.037(1)? info: Validated auth token as true user=w_p4nlpsuusfez meeting=144109dc2bdefe8808eaa4426a8cf021562b7d71-1643901327931
I20220203-16:15:31.042(1)? error: UserJoinedMeetingEvtMsg: TypeError: Cannot read property 'meetingProp' of undefined
I20220203-16:15:31.043(1)?     at addUser (imports/api/users/server/modifiers/addUser.js:58:31)
I20220203-16:15:31.043(1)?     at EventEmitter.handleUserJoined (imports/api/users/server/handlers/userJoined.js:10:3)
I20220203-16:15:31.044(1)?     at EventEmitter.emitAsync (/home/ubuntu/bigbluebutton/bigbluebutton-html5/node_modules/eventemitter2/lib/eventemitter2.js:463:31)
I20220203-16:15:31.044(1)?     at MeetingMessageQueue.handleTask (imports/startup/server/redis.js:114:10)
I20220203-16:15:31.044(1)?     at imports/startup/server/redis.js:126:28
I20220203-16:15:31.045(1)?     at Queue.start (/home/ubuntu/bigbluebutton/bigbluebutton-html5/node_modules/queue/index.js:145:17)
I20220203-16:15:31.045(1)?     at Queue.<computed> [as push] (/home/ubuntu/bigbluebutton/bigbluebutton-html5/node_modules/queue/index.js:59:12)
I20220203-16:15:31.046(1)?     at MeetingMessageQueue.add (imports/startup/server/redis.js:125:16)
I20220203-16:15:31.046(1)?     at RedisPubSub.handleMessage (imports/startup/server/redis.js:327:63)
I20220203-16:15:31.047(1)?     at runWithEnvironment (packages/meteor.js:1320:24)
I20220203-16:15:31.047(1)? info: Changed presenter=true id=w_p4nlpsuusfez meeting=144109dc2bdefe8808eaa4426a8cf021562b7d71-1643901327931 changedBy=w_p4nlpsuusfez
I20220203-16:15:31.056(1)? info: Changed presenter=true id=w_p4nlpsuusfez meeting=144109dc2bdefe8808eaa4426a8cf021562b7d71-1643901327931 changedBy=w_p4nlpsuusfez
I20220203-16:15:31.061(1)? info: Set a new presenter in pod id=DEFAULT_PRESENTATION_POD meeting=144109dc2bdefe8808eaa4426a8cf021562b7d71-1643901327931 presenter=w_p4nlpsuusfez
I20220203-16:15:31.309(1)? warn: Publishing GuestUser was requested by non-moderator connection {"meetingId":"144109dc2bdefe8808eaa4426a8cf021562b7d71-1643901327931","userId":"w_p4nlpsuusfez","connectionId":"vtewHdN2iWRkvtsvR"}
I20220203-16:15:31.324(1)? info: Publishing Note for 144109dc2bdefe8808eaa4426a8cf021562b7d71-1643901327931 w_p4nlpsuusfez
I20220203-16:15:31.369(1)? info: Publishing connection status for 144109dc2bdefe8808eaa4426a8cf021562b7d71-1643901327931 w_p4nlpsuusfez
I20220203-16:15:32.758(1)? info: Removing connectionId for user. sessionId=9e5d37c0bef6f8918c71e25386ab977cc30c77e2-1643900667715--w_9gq9xptduojz connectionId=null
I20220203-16:15:32.758(1)? info: Removed user id=w_9gq9xptduojz meeting=9e5d37c0bef6f8918c71e25386ab977cc30c77e2-1643900667715
I20220203-16:15:32.759(1)? info: Removing connectionId for user. sessionId=9e5d37c0bef6f8918c71e25386ab977cc30c77e2-1643900667715--w_9gq9xptduojz connectionId=null
I20220203-16:15:32.759(1)? info: Removed user id=w_9gq9xptduojz meeting=9e5d37c0bef6f8918c71e25386ab977cc30c77e2-1643900667715
I20220203-16:15:33.042(1)? info: Updated presentation conversion status=SUPPORTED_DOCUMENT id=d2d9a672040fbde2a47a10bf6c37b6a4b5ae187f-1643901327947 meeting=144109dc2bdefe8808eaa4426a8cf021562b7d71-1643901327931
I20220203-16:15:33.886(1)? info: Set downloadable status on presentation {d2d9a672040fbde2a47a10bf6c37b6a4b5ae187f-1643901327947 in meeting {144109dc2bdefe8808eaa4426a8cf021562b7d71-1643901327931}
I20220203-16:15:34.049(1)? info: Added slide position id=d2d9a672040fbde2a47a10bf6c37b6a4b5ae187f-1643901327947/14 pod=DEFAULT_PRESENTATION_POD presentation=d2d9a672040fbde2a47a10bf6c37b6a4b5ae187f-1643901327947
I20220203-16:15:34.052(1)? info: Added slide position id=d2d9a672040fbde2a47a10bf6c37b6a4b5ae187f-1643901327947/5 pod=DEFAULT_PRESENTATION_POD presentation=d2d9a672040fbde2a47a10bf6c37b6a4b5ae187f-1643901327947
I20220203-16:15:34.053(1)? info: Added slide position id=d2d9a672040fbde2a47a10bf6c37b6a4b5ae187f-1643901327947/9 pod=DEFAULT_PRESENTATION_POD presentation=d2d9a672040fbde2a47a10bf6c37b6a4b5ae187f-1643901327947


if I do sudo bbb-conf --check:
BigBlueButton Server 2.4.2 (2885)
                    Kernel version: 4.15.0-167-generic
                      Distribution: Ubuntu 18.04.6 LTS (64-bit)
                            Memory: 7972 MB
                         CPU cores: 4

/etc/bigbluebutton/bbb-web.properties (override for bbb-web)
/usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties (bbb-web)
       bigbluebutton.web.serverURL: https://bts-dev.labriquerose-agence.fr
                defaultGuestPolicy: ALWAYS_ACCEPT
                 svgImagesRequired: true
              defaultMeetingLayout: SMART_LAYOUT

/etc/nginx/sites-available/bigbluebutton (nginx)
                       server_name: bts-dev.labriquerose-agence.fr
                              port: 80, [::]:80
                              port: 443 ssl

/opt/freeswitch/etc/freeswitch/vars.xml (FreeSWITCH)
                       local_ip_v4: 123.45.678.910
                   external_rtp_ip: 123.45.678.910
                   external_sip_ip: 123.45.678.910

/opt/freeswitch/etc/freeswitch/sip_profiles/external.xml (FreeSWITCH)
                        ext-rtp-ip: $${local_ip_v4}
                        ext-sip-ip: $${local_ip_v4}
                        ws-binding:  123.45.678.910 :5066
                       wss-binding:  123.45.678.910 :7443

/usr/local/bigbluebutton/core/scripts/bigbluebutton.yml (record and playback)
                     playback_host:  ***** .fr
                 playback_protocol: https
                            ffmpeg: 4.2.4-1ubuntu0.1bbb2~18.04

/etc/bigbluebutton/nginx/sip.nginx (sip.nginx)
                        proxy_pass: 123.45.678.910
                          protocol: http

/usr/local/bigbluebutton/bbb-webrtc-sfu/config/default.yml (Kurento SFU)
/etc/bigbluebutton/bbb-webrtc-sfu/production.yml (Kurento SFU - override)
                        kurento.ip: 123.45.678.910
                       kurento.url: ws://127.0.0.1:8888/kurento
                    kurento.sip_ip: 123.45.678.910
               recordScreenSharing: true
                     recordWebcams: true
                  codec_video_main: VP8
               codec_video_content: VP8

/usr/share/meteor/bundle/programs/server/assets/app/config/settings.yml (HTML5 client)
/etc/bigbluebutton/bbb-html5.yml (HTML5 client config override)
                             build: 2478
                        kurentoUrl: wss:// ***** .fr/bbb-webrtc-sfu
                  enableListenOnly: true
                    sipjsHackViaWs: true

/usr/share/bbb-web/WEB-INF/classes/spring/turn-stun-servers.xml (STUN Server)
                              stun: stun.l.google.com:19302


# Potential problems described below

# Warning: The API demos are installed and accessible from:
#
#    https:// ***** .fr
#
# and
#
#    https://*****.fr/demo/demo1.jsp
#
# These API demos allow anyone to access your server without authentication
# to create/manage meetings and recordings. They are for testing purposes only.
# If you are running a production system, remove them by running:
#
#    apt-get purge bbb-demo

# Error: Detected some processes have not started correctly
#
#   bbb-html5 —————————————► [✘ - inactive]
bbb-html5-backend@1 ———► [✘ - inactive]
bbb-html5-backend@2 ———► [✘ - inactive]
bbb-html5-frontend@1 ——► [✘ - inactive]
bbb-html5-frontend@2 ——► [✘ - inactive]
#

If I do suddo bbb-conf --debug i have this error in the  logs :
2022/02/03 16:13:13 [error] 12200#12200: *2196 connect() failed (111: Connection refused) while connecting to upstream, client:  123.45.678.910, server:  ***** .fr, request: "GET /html5client/sockjs/info?cb=tijegbgo1q HTTP/2.0", upstream: "http://127.0.0.1:4100/html5client/sockjs/info?cb=tijegbgo1q", host: " ***** .fr", referrer: "https:// ***** .fr/html5client/join?sessionToken=b0hq5ll9mp3uewve"

sd...@distancelearning.cloud

unread,
Feb 4, 2022, 9:58:04 AM2/4/22
to bigbluebu...@googlegroups.com

When you checked out the code,  what branch did you switch to before you made any code changes?   Need to make sure the server and client are in sync.

 

If you pulled the latest 2.4.x with bbb-install, make sure you use v2.4.x-release branch, and not develop or master.

 

Regards,

Stephen

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-s...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bigbluebutton-setup/d1d490d3-43cd-44b8-93b1-91dc126a5c13n%40googlegroups.com.

Michaël Lucas

unread,
Feb 4, 2022, 10:31:11 AM2/4/22
to BigBlueButton-Setup
Hi Stephen,
Thank you for your answer.
I'm on the version 2.4.2 of bigbluebutton and I'm using the branch v2.4.x-release.

sd...@distancelearning.cloud

unread,
Feb 4, 2022, 12:09:02 PM2/4/22
to bigbluebu...@googlegroups.com

Ok,  so there is a dev settings.yml file..   compare this to the production and see if some properties are missing.

 

Best guess.

Reply all
Reply to author
Forward
0 new messages