I am not able to use bigbluebot

307 views
Skip to first unread message

Mario Giammarco

unread,
May 26, 2020, 4:14:43 AM5/26/20
to BigBlueButton-dev
Hello,
I am trying bigbluebot to stress test BigBlueButton.

Unfortunately, no matter what I do, I cannot go over this step:

ERROR   2020-05-26T07:10:53.108Z { TimeoutError: waiting for selector "[aria-label^="Options"]" failed: timeout 60000ms exceeded
    at new WaitTask (/home/mgiammarco/bigbluebot/node_modules/puppeteer/lib/DOMWorld.js:549:28)
    at DOMWorld._waitForSelectorOrXPath (/home/mgiammarco/bigbluebot/node_modules/puppeteer/lib/DOMWorld.js:478:22)
    at DOMWorld.waitForSelector (/home/mgiammarco/bigbluebot/node_modules/puppeteer/lib/DOMWorld.js:432:17)
    at Frame.waitForSelector (/home/mgiammarco/bigbluebot/node_modules/puppeteer/lib/FrameManager.js:627:47)
    at Frame.<anonymous> (/home/mgiammarco/bigbluebot/node_modules/puppeteer/lib/helper.js:112:23)
    at Page.waitForSelector (/home/mgiammarco/bigbluebot/node_modules/puppeteer/lib/Page.js:1122:29)
    at Object.join (/home/mgiammarco/bigbluebot/node_modules/bigbluebot/lib/util.js:105:16)
    at process._tickCallback (internal/process/next_tick.js:68:7) name: 'TimeoutError' }


I also ask what bigbluebot really do: does it really test bigbluebutton with multiple video? Or it just simulate user login?

Thanks,
Mario

Fred Dixon

unread,
May 26, 2020, 6:08:18 AM5/26/20
to BigBlueButton-dev
Hi Martio,

What version of BigBlueButton are you running?  Are you able to reproduce this issue on 


Regards,... Fred

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bigbluebutton-dev/1eee196d-cb68-41ed-8e37-5b941d613b52%40googlegroups.com.


--
BigBlueButton Developer

Like BigBlueButton?  Tweet us at @bigbluebutton

Mario Giammarco

unread,
May 26, 2020, 7:12:25 AM5/26/20
to bigblueb...@googlegroups.com

Pedro Beschorner Marin

unread,
May 26, 2020, 8:26:02 AM5/26/20
to BigBlueButton-dev
Hi Mario,

ERROR   2020-05-26T07:10:53.108Z { TimeoutError: waiting for selector "[aria-label^="Options"]" failed: timeout 60000ms exceeded
    at new WaitTask (/home/mgiammarco/bigbluebot/node_modules/puppeteer/lib/DOMWorld.js:549:28)
    at DOMWorld._waitForSelectorOrXPath (/home/mgiammarco/bigbluebot/node_modules/puppeteer/lib/DOMWorld.js:478:22)
    at DOMWorld.waitForSelector (/home/mgiammarco/bigbluebot/node_modules/puppeteer/lib/DOMWorld.js:432:17)
    at Frame.waitForSelector (/home/mgiammarco/bigbluebot/node_modules/puppeteer/lib/FrameManager.js:627:47)
    at Frame.<anonymous> (/home/mgiammarco/bigbluebot/node_modules/puppeteer/lib/helper.js:112:23)
    at Page.waitForSelector (/home/mgiammarco/bigbluebot/node_modules/puppeteer/lib/Page.js:1122:29)
    at Object.join (/home/mgiammarco/bigbluebot/node_modules/bigbluebot/lib/util.js:105:16)
    at process._tickCallback (internal/process/next_tick.js:68:7) name: 'TimeoutError' }

This error means the bot could not detect the correct opening of the html5 client.
 
I also ask what bigbluebot really do: does it really test bigbluebutton with multiple video? Or it just simulate user login?

The bot can perform some basic actions like share a microphone, join as listen only, share webcam, send public chat messages...

Could you recheck if your bots were correctly configured as it follows the bigbluebot https://github.com/mconf/bigbluebot/blob/master/README.md file?

Best regards,
Pedro

David Pesce

unread,
May 26, 2020, 8:37:03 AM5/26/20
to BigBlueButton-dev
Out of the box, the bot needs the demo installed on your instance. Otherwise you need to specify some of the optional settings: secret, and the room name (I think that’s all of them, but there may be more).

It also doesn’t work behind scalelite.

Mario Giammarco

unread,
May 26, 2020, 10:02:20 AM5/26/20
to bigblueb...@googlegroups.com
Il giorno mar 26 mag 2020 alle ore 14:26 Pedro Beschorner Marin <pedro...@gmail.com> ha scritto:

This error means the bot could not detect the correct opening of the html5 client.

Yes infact I disabled headless mode and after seeing with my eyes I supposed that I needed to disable audio test. But it is not enough. 
 
I also ask what bigbluebot really do: does it really test bigbluebutton with multiple video? Or it just simulate user login?

The bot can perform some basic actions like share a microphone, join as listen only, share webcam, send public chat messages...

Could you recheck if your bots were correctly configured as it follows the bigbluebot https://github.com/mconf/bigbluebot/blob/master/README.md file?

I have tried with my .js and with original example.js

 
Best regards,
Pedro

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-...@googlegroups.com.

Mario Giammarco

unread,
May 26, 2020, 10:02:28 AM5/26/20
to bigblueb...@googlegroups.com
I have two instances of mine and I have the secret of mine instances. I do not use scalelite.
Fred Dixon asked me to use the official demo.bigbluebutton.org instance to see if I can reproduce it there so I ask: what is the secret of demo.bigbluebutton.org?


Il giorno mar 26 mag 2020 alle ore 14:37 David Pesce <david...@gmail.com> ha scritto:
Out of the box, the bot needs the demo installed on your instance. Otherwise you need to specify some of the optional settings: secret, and the room name (I think that’s all of them, but there may be more).

It also doesn’t work behind scalelite.

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-...@googlegroups.com.

Pedro Beschorner Marin

unread,
May 26, 2020, 10:23:50 AM5/26/20
to BigBlueButton-dev
Hi Mario.

Could you set the log level as debug (BIGBLUEBOT_LOG=debug at your .env file) and share the output you get running example.js? Just be sure to censor any sensitive data from it.

Pedro Beschorner Marin

unread,
May 26, 2020, 10:29:05 AM5/26/20
to BigBlueButton-dev
Yes infact I disabled headless mode and after seeing with my eyes I supposed that I needed to disable audio test. But it is not enough.

You don't have to disable this modal. The should automatically close it if needed. Can you share a print of the client view on the point the bot gets stuck?

Mario Giammarco

unread,
May 26, 2020, 12:51:43 PM5/26/20
to bigblueb...@googlegroups.com
I was already on log=debug, here is full console output, is there another log?
INFO    2020-05-26T16:35:26.514Z Bots: 4
INFO    2020-05-26T16:35:26.516Z Life: 600 seconds
INFO    2020-05-26T16:35:26.517Z Creating room
INFO    2020-05-26T16:35:27.205Z Fetching EN locale
INFO    2020-05-26T16:35:28.033Z Frederique Lehner: join https://xxxxxxxxxxxxxxx.it at prova
INFO    2020-05-26T16:35:28.753Z Destini Bauch: join https://xxxxxxxxxxxxx.it at prova
INFO    2020-05-26T16:35:29.235Z Demetrius Quigley: join https://xxxxxxxxxxxx.it at prova
INFO    2020-05-26T16:35:29.732Z Juana Gutkowski: join https://xxxxxxxxxxx.it at prova
ERROR   2020-05-26T16:36:31.141Z { TimeoutError: waiting for selector "[aria-label^="Options"]" failed: timeout 60000ms exceeded
   at new WaitTask (/home/mgiammarco/bigbluebot/node_modules/puppeteer/lib/DOMWorld.js:549:28)
   at DOMWorld._waitForSelectorOrXPath (/home/mgiammarco/bigbluebot/node_modules/puppeteer/lib/DOMWorld.js:478:22)
   at DOMWorld.waitForSelector (/home/mgiammarco/bigbluebot/node_modules/puppeteer/lib/DOMWorld.js:432:17)
   at Frame.waitForSelector (/home/mgiammarco/bigbluebot/node_modules/puppeteer/lib/FrameManager.js:627:47)
   at Frame.<anonymous> (/home/mgiammarco/bigbluebot/node_modules/puppeteer/lib/helper.js:112:23)
   at Page.waitForSelector (/home/mgiammarco/bigbluebot/node_modules/puppeteer/lib/Page.js:1122:29)
   at Object.join (/home/mgiammarco/bigbluebot/node_modules/bigbluebot/lib/util.js:105:16)
   at process._tickCallback (internal/process/next_tick.js:68:7) name: 'TimeoutError' }
ERROR   2020-05-26T16:36:32.043Z { TimeoutError: waiting for selector "[aria-label^="Options"]" failed: timeout 60000ms exceeded
   at new WaitTask (/home/mgiammarco/bigbluebot/node_modules/puppeteer/lib/DOMWorld.js:549:28)
   at DOMWorld._waitForSelectorOrXPath (/home/mgiammarco/bigbluebot/node_modules/puppeteer/lib/DOMWorld.js:478:22)
   at DOMWorld.waitForSelector (/home/mgiammarco/bigbluebot/node_modules/puppeteer/lib/DOMWorld.js:432:17)
   at Frame.waitForSelector (/home/mgiammarco/bigbluebot/node_modules/puppeteer/lib/FrameManager.js:627:47)
   at Frame.<anonymous> (/home/mgiammarco/bigbluebot/node_modules/puppeteer/lib/helper.js:112:23)
   at Page.waitForSelector (/home/mgiammarco/bigbluebot/node_modules/puppeteer/lib/Page.js:1122:29)
   at Object.join (/home/mgiammarco/bigbluebot/node_modules/bigbluebot/lib/util.js:105:16)
   at process._tickCallback (internal/process/next_tick.js:68:7) name: 'TimeoutError' }
ERROR   2020-05-26T16:36:33.757Z { TimeoutError: waiting for selector "[aria-label^="Options"]" failed: timeout 60000ms exceeded
   at new WaitTask (/home/mgiammarco/bigbluebot/node_modules/puppeteer/lib/DOMWorld.js:549:28)
   at DOMWorld._waitForSelectorOrXPath (/home/mgiammarco/bigbluebot/node_modules/puppeteer/lib/DOMWorld.js:478:22)
   at DOMWorld.waitForSelector (/home/mgiammarco/bigbluebot/node_modules/puppeteer/lib/DOMWorld.js:432:17)
   at Frame.waitForSelector (/home/mgiammarco/bigbluebot/node_modules/puppeteer/lib/FrameManager.js:627:47)
   at Frame.<anonymous> (/home/mgiammarco/bigbluebot/node_modules/puppeteer/lib/helper.js:112:23)
   at Page.waitForSelector (/home/mgiammarco/bigbluebot/node_modules/puppeteer/lib/Page.js:1122:29)
   at Object.join (/home/mgiammarco/bigbluebot/node_modules/bigbluebot/lib/util.js:105:16)
   at process._tickCallback (internal/process/next_tick.js:68:7) name: 'TimeoutError' }
ERROR   2020-05-26T16:36:38.489Z { TimeoutError: waiting for selector "[aria-label^="Options"]" failed: timeout 60000ms exceeded
   at new WaitTask (/home/mgiammarco/bigbluebot/node_modules/puppeteer/lib/DOMWorld.js:549:28)
   at DOMWorld._waitForSelectorOrXPath (/home/mgiammarco/bigbluebot/node_modules/puppeteer/lib/DOMWorld.js:478:22)
   at DOMWorld.waitForSelector (/home/mgiammarco/bigbluebot/node_modules/puppeteer/lib/DOMWorld.js:432:17)
   at Frame.waitForSelector (/home/mgiammarco/bigbluebot/node_modules/puppeteer/lib/FrameManager.js:627:47)
   at Frame.<anonymous> (/home/mgiammarco/bigbluebot/node_modules/puppeteer/lib/helper.js:112:23)
   at Page.waitForSelector (/home/mgiammarco/bigbluebot/node_modules/puppeteer/lib/Page.js:1122:29)
   at Object.join (/home/mgiammarco/bigbluebot/node_modules/bigbluebot/lib/util.js:105:16)
   at process._tickCallback (internal/process/next_tick.js:68:7) name: 'TimeoutError' }

Il giorno mar 26 mag 2020 alle ore 16:23 Pedro Beschorner Marin <pedro...@gmail.com> ha scritto:
Hi Mario.

Could you set the log level as debug (BIGBLUEBOT_LOG=debug at your .env file) and share the output you get running example.js? Just be sure to censor any sensitive data from it.

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-...@googlegroups.com.

Mario Giammarco

unread,
May 26, 2020, 12:53:01 PM5/26/20
to bigblueb...@googlegroups.com
The bot stops immediately... in the modal or if I disable the modal just after the modal.

Il giorno mar 26 mag 2020 alle ore 16:29 Pedro Beschorner Marin <pedro...@gmail.com> ha scritto:
Yes infact I disabled headless mode and after seeing with my eyes I supposed that I needed to disable audio test. But it is not enough.

You don't have to disable this modal. The should automatically close it if needed. Can you share a print of the client view on the point the bot gets stuck?

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-...@googlegroups.com.

Pedro Beschorner Marin

unread,
May 26, 2020, 2:09:50 PM5/26/20
to BigBlueButton-dev
This is the element the bot is trying to find. Is it visible at your deploy? Does the bot joins with the EN locale?


On Tuesday, May 26, 2020 at 1:53:01 PM UTC-3, Mario Giammarco wrote:
The bot stops immediately... in the modal or if I disable the modal just after the modal.

Il giorno mar 26 mag 2020 alle ore 16:29 Pedro Beschorner Marin <pedro...@gmail.com> ha scritto:
Yes infact I disabled headless mode and after seeing with my eyes I supposed that I needed to disable audio test. But it is not enough.

You don't have to disable this modal. The should automatically close it if needed. Can you share a print of the client view on the point the bot gets stuck?

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigblueb...@googlegroups.com.
options.png

Mario Giammarco

unread,
May 26, 2020, 2:17:18 PM5/26/20
to BigBlueButton-dev
Yes,
I have this:
<button aria-label="Options" aria-disabled="false" class="md--Q7ug4 buttonWrapper--x8uow btn--Z25OApd" tabindex="0" accesskey="O" aria-expanded="false" position="bottom" id="tippy-109"><span class="button--Z2dosza md--Q7ug4 default--Z19H5du ghost--Z136aiN circle--Z2c8umk"><i class="icon--2q1XXw icon-bbb-more"></i></span><span class="label--Z12LMR3 hideLabel--2vEtaU">Options</span></button>

Infact I use selenium and I suppose puppeteer does the same thing: match by tag and simulate click.
But it is incredible that the tag is there (btw: my installation of BBB works perfectly I use daily) and bigbluebot does not find it.
Now I will check if locale is EN as you suggest, but I sell all text in english so...

Pedro Beschorner Marin

unread,
May 26, 2020, 2:48:56 PM5/26/20
to BigBlueButton-dev
I'm not much familiar with Selenium but I believe they follow the same principles. I'm intrigued about this label not being noticed by puppeteer tho.

Mario Giammarco

unread,
May 26, 2020, 2:56:05 PM5/26/20
to BigBlueButton-dev
I am getting crazy!!!
How can I try official demo.bigbluebutton.org? in this way I will finally understand if it is my BBB fault or my bigbluebot fault.

Pedro Beschorner Marin

unread,
May 26, 2020, 3:00:31 PM5/26/20
to BigBlueButton-dev
Something that you can try it out just to make sure if it's not related with that button in particular is to fetch for the aria-lavel of any other element that is visible when the user joins and change in here https://github.com/mconf/bigbluebot/blob/master/config/label/main.js#L13. I would try any of the media buttons "app.audio.joinAudio" or "app.video.joinVideo"

David Pesce

unread,
May 26, 2020, 3:44:39 PM5/26/20
to bigblueb...@googlegroups.com
You don’t have to do anything special to try it with the demo site. Just comment out all the env settings except the URL. 

You received this message because you are subscribed to a topic in the Google Groups "BigBlueButton-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/bigbluebutton-dev/ENqTzojn7oo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to bigbluebutton-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bigbluebutton-dev/6a3f78a9-b87b-4cb7-b6e7-1c1d15f11d97%40googlegroups.com.

Mario Giammarco

unread,
May 26, 2020, 5:34:50 PM5/26/20
to BigBlueButton-dev
I have tried to put https://demo.bigbluebutton.org/ but I get:
INFO    2020-05-26T21:31:20.945Z Newell Halvorson: join https://demo.bigbluebutton.org/gl at Demo Meeting
ERROR   2020-05-26T21:31:27.157Z TypeError: Cannot read property 'app.navBar.settingsDropdown.optionsLabel' of undefined
    at translate (/home/mgiammarco/bigbluebot/node_modules/bigbluebot/lib/util.js:89:41)
    at Object.join (/home/mgiammarco/bigbluebot/node_modules/bigbluebot/lib/util.js:104:22)

    at process._tickCallback (internal/process/next_tick.js:68:7)

I begin to think my bigbluebot is bad. But I have just installed it using npm as I read in the documentation. I cannot have made mistakes.
To unsubscribe from this group and all its topics, send an email to bigblueb...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bigbluebutton-dev/6a3f78a9-b87b-4cb7-b6e7-1c1d15f11d97%40googlegroups.com.

Felipe Cecagno

unread,
May 26, 2020, 5:55:37 PM5/26/20
to bigblueb...@googlegroups.com

It has only one requirement, which demo.bigbluebutton.org doesn't meet - demo is running Greenlight, and it doesn't have bbb-demo installed.

--
   
Felipe Cecagno


To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bigbluebutton-dev/3aa07493-aebc-4e6b-9d61-456a85163289%40googlegroups.com.

Pedro Beschorner Marin

unread,
May 26, 2020, 5:59:40 PM5/26/20
to BigBlueButton-dev
You won't be able to run over those servers because they don't have bbb-demo installed and I'm afraid none can provide their secret keys for a public audience. Maybe you can use https://test.bigbluebutton.org

Mario Giammarco

unread,
May 27, 2020, 4:10:06 AM5/27/20
to BigBlueButton-dev
I supposed so but Fred told me to use demo.bigbluebutton.org, now I will try with test.

Mario Giammarco

unread,
May 27, 2020, 4:16:10 AM5/27/20
to bigblueb...@googlegroups.com
Thank you very much now I can confirm that my bigbluebot does not work on an official server.
I have installed reading: https://www.npmjs.com/package/bigbluebot
When it starts it choose to use Chromium. I have Chromium Versione 80.0.3987.0 (Build) (a 64 bit)
Thanks,



To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bigbluebutton-dev/9ff9adc8-f517-4720-b84e-01442f2982dd%40googlegroups.com.

Soheil Rahsaz

unread,
Sep 20, 2021, 1:23:33 AM9/20/21
to BigBlueButton-dev
I also had this problem and fixed it by changing the default locale to en.
Thanks pedro

Reply all
Reply to author
Forward
0 new messages