[HTML5 client] fails to load - BBB 2.3 Dev Setup Error/Issue

94 views
Skip to first unread message

David You

unread,
Jun 9, 2021, 10:12:59 AM6/9/21
to BigBlueButton-dev

Hi everyone,

I’m having issues setting up the developer server, and haven't been able to solve the issue after reinstalling multiple times, using slightly different commands.


The problem:

I am wanting to develop the HTML5 client. I already have a working production 2.3 server set up and I followed the instructions on https://docs.bigbluebutton.org/2.3/dev.html exactly (apart from needing to run sudo sometimes due to insufficient permissions).

When I run ‘sudo npm start’, from the v2.3.x-release branch, the server side seems to be working fine, I get this output:

bbbconsole.png

However, when I start a new meeting from chrome, the client doesnt load at all (no loading-screen), I get these errors in the chrome console:

chromeconsolt.png

Sometimes if I try to press start meeting again, I get this message instead, I have tried to do 'sudo systemctl stop mongo' as suggested by another user but that doesn't fix the problem.

mongo error (1).png

The weird thing is I dont get any errors on the server side, the output stays the same as the first screenshot so I dont really know where to go from here to fix the issue.


Background information:

I am running this on amazon EC2, c5.xlarge server on ubuntu 18.04. The normal non-developer production server works fine. But as soon as I do ‘sudo systemctl stop bbb-html5’ and follow the instructions on the 2.3 dev documentation, the html5 client no longer loads at all.

I’ve developed BBB v2.2 running on ubuntu 16.04 EC2 in the past and it was always working fine. I also had to run a lot of commands using ‘sudo’ but never had any issues with setting up the dev environment. My firewall settings are the exact same as the v2.2 server.

Ive tried restarting the setup from scratch, using this command below to set up a working v2.3 production server before following the 2.3 dev instructions. 



This has been bugging me for a while so any solutions/directions would be greatly appreciated, thanks for your time!


David You

unread,
Jun 10, 2021, 5:39:42 AM6/10/21
to BigBlueButton-dev
I just checked the error log file at /var/log/nginx/error.log and I get the following errors whenever I try to connect to the dev version. Hopefully this will be of some help, thank you!


2021/06/10 09:30:35 [error] 1240#1240: *242 connect() failed (111: Connection refused) while connecting to upstream, client: xxx.xxx.xxx.xxx, server: example.example.com, request: "GET /html5client/packages/tmeasday_check-npm-versions.js?hash=72dd32701edbaba4742266292354f1269f0694d6 HTTP/1.1", upstream: "http://127.0.0.1:4105/html5client/packages/tmeasday_check-npm-versions.js?hash=72dd32701edbaba4742266292354f1269f0694d6", host: " example.example.com" , referrer: "https:// example.example.com/html5client/join?sessionToken=1eru8ljxit1jaznb"

David You

unread,
Jun 10, 2021, 10:53:21 PM6/10/21
to bigblueb...@googlegroups.com
I managed to fix this issue by following the steps in https://docs.bigbluebutton.org/2.3/dev.html#switch-nginx-to-redirect-requests-to-meteor
This wasn't a required step in v2.2 which is why I skipped past it. Hopefully this helps anyone having difficulty setting up 2.3 dev

--
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/b4d1b0a4-08c4-4fd1-81be-9d693650c639n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages