HTML5 client on BBB 1.1

466 views
Skip to first unread message

lalev....@gmail.com

unread,
Mar 15, 2018, 7:25:19 PM3/15/18
to BigBlueButton-Setup
Greetings,

I need help fixing an issue with my Button.  I have installed it as described here:

http://docs.bigbluebutton.org/install/install.html

and I have survived the little problem that prevented bbb-html5 package to install (it needed older version of node.js installed too). Now my button works and if I start the conference from the default demo page (I have demos installed), everything is fine and the client works.

The problem arises when I try to activate the client trough a module in my Moodle installation.
I get 401 - Unauthorized when I choose the html5 client.  The flash client works just fine.

When I open the js console, I see this:

Client log:

[
  {
    "error": {
      "error": 401,
      "description": "Authentication failed."
    },
    "method": "authenticatedRouteHandler",
    "credentialsSnapshot": {
      "meetingId": "cb9dbda0c0b83aa46def8bce91db6170e3e7bd01-1521155184946",
      "requesterUserId": "2",
      "requesterToken": "9xkkm1zugclo"
    }
  },
  {
    "systemProps": {
      "language": "en-US",
      "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0",
      "screenSize": {
        "width": 1280,
        "height": 1024
      },
      "windowSize": {
        "width": 1280,
        "height": 410
      },
      "bbbVersion": "1.1-beta",
      "location": "https://bbb.eacademybg.com/html5client/"
    }
  }
]

In /var/log/nginx/bigbluebutton I see this:

77.78.56.10 - - [16/Mar/2018:01:06:17 +0200] "GET /html5client/check HTTP/1.1" 200 67 "https://bbb.eacademybg.com/client/BigBlueButton.html?sessionToken=tb1sas5g7yfsagbp" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0"
77.78.56.10 - - [16/Mar/2018:01:06:17 +0200] "GET /bigbluebutton/api/enter?sessionToken=tb1sas5g7yfsagbp HTTP/1.1" 200 127 "https://bbb.eacademybg.com/client/BigBlueButton.html?sessionToken=tb1sas5g7yfsagbp" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0"
77.78.56.10 - - [16/Mar/2018:01:06:18 +0200] "GET /html5client/check HTTP/1.1" 200 67 "https://bbb.eacademybg.com/client/BigBlueButton.html?sessionToken=tb1sas5g7yfsagbp" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0"
195.20.24.18 - - [16/Mar/2018:01:06:24 +0200] "GET /bigbluebutton/api/getMeetingInfo?&meetingID=11ca1a89ba959a302eb6d9b61f55b15e0dec23c1-35-1&checksum=e2da5d1ac8ef1e97c0789f4672a061274dae092c HTTP/1.1" 200 163 "-" "MoodleBot/1.0"
195.20.24.31 - - [16/Mar/2018:01:06:24 +0200] "GET /client/conf/config.xml HTTP/1.1" 200 5427 "-" "Jakarta Commons-HttpClient/3.1"
195.20.24.31 - - [16/Mar/2018:01:06:24 +0200] "GET /default.pdf HTTP/1.1" 200 141727 "-" "Mozilla"
195.20.24.31 - - [16/Mar/2018:01:06:24 +0200] "GET /default.pdf HTTP/1.1" 200 141727 "-" "Jakarta Commons-HttpClient/3.1"
195.20.24.18 - - [16/Mar/2018:01:06:24 +0200] "GET /bigbluebutton/api/create?&meetingID=11ca1a89ba959a302eb6d9b61f55b15e0dec23c1-35-1&name=Datapath&attendeePW=rPYJLdZhFlv%3B&moderatorPW=%5EIT%3B2U%24JEO85&logoutURL=http%3A%2F%2Fbimoodle.uni-svishtov.bg%2Fmod%2Fbigbluebuttonbn%2Fbbb_view.php%3Faction%3Dlogout%26id%3D1082%26bn%3D1&record=false&welcome=%3Cbr%3EWelcome+to+%3Cb%3E%25%25CONFNAME%25%25%3C%2Fb%3E%21%3Cbr%3E%3Cbr%3EFor+help+on+using+BigBlueButton+see+these+%28short%29++%3Ca+href%3D%22event%3Ahttp%3A%2F%2Fwww.bigbluebutton.org%2Fcontent%2Fvideos%22%3E%3Cu%3Etutorial+videos%3C%2Fu%3E%3C%2Fa%3E.%3Cbr%3E%3Cbr%3ETo+join+the+audio+bridge+click+the+phone+icon+%28top+center%29.+%3Cb%3EPlease+use+a+headset+to+avoid+causing+background+noise+for+others.%3C%2Fb%3E&meta_bbb-origin=Moodle&meta_bbb-origin-version=3.4.1%2B+%28Build%3A+20180223%29&meta_bbb-origin-server-name=bimoodle.uni-svishtov.bg&meta_bbb-origin-server-common-name=&meta_bbb-origin-tag=moodle-mod_bigbluebuttonbn+%282017101009%29&meta_bbb-context=%D0%9E%D1%81%D0%BD%D0%BE%D0%B2%D0%B8+%D0%BD%D0%B0+%D0%BF%D1%80%D0%BE%D0%B3%D1%80%D0%B0%D0%BC%D0%B8%D1%80%D0%B0%D0%BD%D0%B5%D1%82%D0%BE+%D1%81+PHP&meta_bbb-recording-name=Datapath&meta_bbb-recording-description=&meta_bbb-recording-tags=&meta_bn-recording-status=%7B%22email%22%3A%5B%22%5C%22%5Cu0430%5Cu0441.+%5Cu0410%5Cu043d%5Cu0433%5Cu0435%5Cu043b%5Cu0438%5Cu043d+%5Cu041b%5Cu0430%5Cu043b%5Cu0435%5Cu0432%5C%22+%3Clalev%40uni-svishtov.bg%3E%22%5D%2C%22context%22%3A%22http%3A%5C%2F%5C%2Fbimoodle.uni-svishtov.bg%5C%2Fmod%5C%2Fbigbluebuttonbn%5C%2Fview.php%3Fid%3D1082%22%7D&checksum=6164065bacd584fbaf3592e8e63df9738a397d71 HTTP/1.1" 200 649 "-" "MoodleBot/1.0"
195.20.24.18 - - [16/Mar/2018:01:06:25 +0200] "GET /bigbluebutton/api/getMeetingInfo?&meetingID=11ca1a89ba959a302eb6d9b61f55b15e0dec23c1-35-1&checksum=e2da5d1ac8ef1e97c0789f4672a061274dae092c HTTP/1.1" 200 1869 "-" "MoodleBot/1.0"
77.78.56.10 - - [16/Mar/2018:01:06:25 +0200] "GET /bigbluebutton/api/join?&meetingID=11ca1a89ba959a302eb6d9b61f55b15e0dec23c1-35-1&fullName=%D0%B0%D1%81.+%D0%90%D0%BD%D0%B3%D0%B5%D0%BB%D0%B8%D0%BD+%D0%9B%D0%B0%D0%BB%D0%B5%D0%B2&password=%5EIT%3B2U%24JEO85&logoutURL=http%3A%2F%2Fbimoodle.uni-svishtov.bg%2Fmod%2Fbigbluebuttonbn%2Fbbb_view.php%3Faction%3Dlogout%26id%3D1082%26bn%3D1&userID=2&checksum=2b3735c20b64d404b833994599367f016bffa06a HTTP/1.1" 302 0 "http://bimoodle.uni-svishtov.bg/mod/bigbluebuttonbn/view.php?id=1082" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0"
77.78.56.10 - - [16/Mar/2018:01:06:25 +0200] "GET /client/BigBlueButton.html?sessionToken=aulqlcjplu5rii8b HTTP/1.1" 200 3703 "http://bimoodle.uni-svishtov.bg/mod/bigbluebuttonbn/view.php?id=1082" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0"
77.78.56.10 - - [16/Mar/2018:01:06:25 +0200] "GET /html5client/check HTTP/1.1" 200 67 "https://bbb.eacademybg.com/client/BigBlueButton.html?sessionToken=aulqlcjplu5rii8b" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0"
195.20.24.31 - - [16/Mar/2018:01:06:26 +0200] "GET /bigbluebutton/presentation/cb9dbda0c0b83aa46def8bce91db6170e3e7bd01-1521155184946/cb9dbda0c0b83aa46def8bce91db6170e3e7bd01-1521155184946/d2d9a672040fbde2a47a10bf6c37b6a4b5ae187f-1521155184951/svg/4 HTTP/1.1" 200 23901 "-" "Image size prober https://github.com/nodeca/probe-image-size"
195.20.24.31 - - [16/Mar/2018:01:06:26 +0200] "GET /bigbluebutton/presentation/cb9dbda0c0b83aa46def8bce91db6170e3e7bd01-1521155184946/cb9dbda0c0b83aa46def8bce91db6170e3e7bd01-1521155184946/d2d9a672040fbde2a47a10bf6c37b6a4b5ae187f-1521155184951/svg/1 HTTP/1.1" 200 245888 "-" "Image size prober https://github.com/nodeca/probe-image-size"
195.20.24.31 - - [16/Mar/2018:01:06:26 +0200] "GET /bigbluebutton/presentation/cb9dbda0c0b83aa46def8bce91db6170e3e7bd01-1521155184946/cb9dbda0c0b83aa46def8bce91db6170e3e7bd01-1521155184946/d2d9a672040fbde2a47a10bf6c37b6a4b5ae187f-1521155184951/svg/3 HTTP/1.1" 200 23894 "-" "Image size prober https://github.com/nodeca/probe-image-size"
195.20.24.31 - - [16/Mar/2018:01:06:26 +0200] "GET /bigbluebutton/presentation/cb9dbda0c0b83aa46def8bce91db6170e3e7bd01-1521155184946/cb9dbda0c0b83aa46def8bce91db6170e3e7bd01-1521155184946/d2d9a672040fbde2a47a10bf6c37b6a4b5ae187f-1521155184951/svg/2 HTTP/1.1" 200 23901 "-" "Image size prober https://github.com/nodeca/probe-image-size"
195.20.24.31 - - [16/Mar/2018:01:06:26 +0200] "GET /bigbluebutton/presentation/cb9dbda0c0b83aa46def8bce91db6170e3e7bd01-1521155184946/cb9dbda0c0b83aa46def8bce91db6170e3e7bd01-1521155184946/d2d9a672040fbde2a47a10bf6c37b6a4b5ae187f-1521155184951/svg/5 HTTP/1.1" 200 23901 "-" "Image size prober https://github.com/nodeca/probe-image-size"
77.78.56.10 - - [16/Mar/2018:01:06:29 +0200] "GET /bigbluebutton/api/enter?sessionToken=aulqlcjplu5rii8b HTTP/1.1" 200 1358 "https://bbb.eacademybg.com/client/BigBlueButton.html?sessionToken=aulqlcjplu5rii8b" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0"
77.78.56.10 - - [16/Mar/2018:01:06:29 +0200] "GET /html5client/join/cb9dbda0c0b83aa46def8bce91db6170e3e7bd01-1521155184946/2/9xkkm1zugclo?sessionToken=aulqlcjplu5rii8b HTTP/1.1" 200 2026 "https://bbb.eacademybg.com/client/BigBlueButton.html?sessionToken=aulqlcjplu5rii8b" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0"
77.78.56.10 - - [16/Mar/2018:01:06:29 +0200] "GET /html5client/d610d3be893c0fd0911a09e545b1a653cf6925cf.js?meteor_js_resource=true HTTP/1.1" 200 550598 "https://bbb.eacademybg.com/html5client/join/cb9dbda0c0b83aa46def8bce91db6170e3e7bd01-1521155184946/2/9xkkm1zugclo?sessionToken=aulqlcjplu5rii8b" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0"
77.78.56.10 - - [16/Mar/2018:01:06:30 +0200] "GET /html5client/sockjs/info?cb=smmlko57wj HTTP/1.1" 200 90 "https://bbb.eacademybg.com/html5client/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0"
77.78.56.10 - - [16/Mar/2018:01:06:30 +0200] "GET /html5client/_timesync HTTP/1.1" 200 2031 "https://bbb.eacademybg.com/html5client/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0"
77.78.56.10 - - [16/Mar/2018:01:06:30 +0200] "GET /html5client/locale?locale=en-US HTTP/1.1" 506 2781 "https://bbb.eacademybg.com/html5client/error/401" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0"
195.20.24.18 - - [16/Mar/2018:01:06:39 +0200] "GET /bigbluebutton/api/getMeetingInfo?&meetingID=11ca1a89ba959a302eb6d9b61f55b15e0dec23c1-35-1&checksum=e2da5d1ac8ef1e97c0789f4672a061274dae092c HTTP/1.1" 200 1869 "-" "MoodleBot/1.0"
77.78.56.10 - - [16/Mar/2018:01:09:22 +0200] "GET /html5client/_timesync HTTP/1.1" 200 2031 "https://bbb.eacademybg.com/html5client/error/401" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0"
77.78.56.10 - - [16/Mar/2018:01:10:40 +0200] "GET /html5client/_timesync HTTP/1.1" 200 2031 "https://bbb.eacademybg.com/html5client/error/401" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0"

(There goes my privacy. I have, since the time of this post, removed the bbb-demo package.)









Chad Pilkey

unread,
Mar 15, 2018, 7:48:52 PM3/15/18
to BigBlueButton-Setup
The 1.1 packaged version of the HTML5 client is very old and out of date. That version was never fully finished and the way it's launched is different from the much easier way in 2.0. I would suggest using a 2.0 BBB server if you want to use the HTML5 client.

Fred Dixon

unread,
Mar 15, 2018, 9:00:00 PM3/15/18
to bigbluebu...@googlegroups.com
Hi, 

If your server is on the internet, you an install BigBlueButton 2.0-beta + HTML5 + SSL with a single command, see



Regards,... Fred

--
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-setup+unsub...@googlegroups.com.
To post to this group, send email to bigbluebutton-setup@googlegroups.com.
Visit this group at https://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.



--
BigBlueButton Developer
@bigbluebutton

lalev....@gmail.com

unread,
Mar 16, 2018, 7:26:16 AM3/16/18
to BigBlueButton-Setup
I have updated my server via apt-get update.

I had to change a line in /usr/share/meteor/bundle/systemd_start.sh from

cd /usr/share/meteor/bundle
ROOT_URL=http://127.0.0.1/html5client MONGO_URL=mongodb://localhost:27017/html5client NODE_ENV=$ENVIRONMENT_TYPE PORT=3000 node main.js

to

cd /usr/share/meteor/bundle
ROOT_URL=http://127.0.0.1/html5client MONGO_URL=mongodb://localhost:27017/html5client NODE_ENV=$ENVIRONMENT_TYPE PORT=3000 nodejs main.js

Now it seems to work fine.
I can edit /var/www/bigbluebutton/BigBlueButton.html to stop the flash client completely, but I was hoping to have something like "Choose Flash" and "Choose HTML5" buttons. Which is the cleanest way to do this ?
To post to this group, send email to bigbluebu...@googlegroups.com.

Anton Georgiev

unread,
Mar 16, 2018, 8:59:13 AM3/16/18
to BigBlueButton-Setup
> I was hoping to have something like "Choose Flash" and "Choose HTML5" buttons. Which is the cleanest way to do this ?

Hi Mr Lalev,

There are several ways to choose between the two clients on BBB 2.0.x:
-In BigBlueButton.html you can force redirection towards HTML5 client. This is currently done for Android/iOS browser users
-in bigbluebutton.properties you can configure preferred client for either viewers (students) or moderators (or all)  https://github.com/bigbluebutton/bigbluebutton/blob/v2.0.x-release/bigbluebutton-web/grails-app/conf/bigbluebutton.properties#L174-L178

Kind regards,
Anton Georgiev
Reply all
Reply to author
Forward
0 new messages