Integrating Big Blue Button 2.7/3.0a4 with Nginx Proxy Manager for Passthrough Configuration

358 views
Skip to first unread message

ylluminate

unread,
Feb 28, 2024, 11:28:04 PM2/28/24
to BigBlueButton-Setup
Hi folks, I attempted to install BBB 3.0a4 initially and then after running into some headaches, backed down to installing Big Blue Button 2.7 and discovered essentially the same problems.

Our network consists of a Proxmox server (plenty of resources so that's not a problem) that has an Ubuntu 20.04 (was 22.04 for BBB 3.0a4) for hosting BBB with an Nginx Proxy Manager (NPM) at the head of the network which facilitates passthrough of network services.

My setup process involved the execution of the following command on Ubuntu (similar command for 3.0a4, but just with the appropriate newer script):

```
| bash -s -- -w -v focal-270 -s bbb.domain.tld -e m...@domain.tld
```

This endeavor appeared to partially succeed. Locally, I could observe the BBB Nginx service responding as anticipated on both the localhost and within our local network, but it was only the default Nginx page and not BBB proper. After setting up the transition of traffic through to the Nginx Proxy Manager I found that it simply would not provide any path through the ISP to BBB.

Obviously Nginx Proxy Manager is going to handle SSL.

Further inspection via `bbb-conf --check` unveiled a series of notifications that hinted at potential misconfigurations or overlooked settings:

```
# Potential problems described below
grep: /opt/freeswitch/var/log/freeswitch/freeswitch.log: No such file or directory

#
# Error: Unable to connect to the FreeSWITCH Event Socket Layer on port 8021
#
curl: (7) Failed to connect to bbb.domain.tld port 443: Connection refused
```

These alerts suggest that there might be an issue with the traffic routing through Nginx Proxy Manager or possibly a need for tailored directives for FreeSWITCH to ensure seamless operation within our network architecture.

For what it's worth, I also ventured into the suggestions outlined in a GitHub issue thread: https://github.com/bigbluebutton/bbb-install/issues/410#issuecomment-900108075, eg:
1. Run install script for first time

2. Change redis configuration :
- Edit /etc/redis/redis.conf
bind 127.0.0.1
supervised systemd

3. Change Nginx configuration :
- Edit /etc/nginx/sites-enabled/bigbluebutton (commenting the following lines:)
# listen [::]:80;
# listen [::]:443 ssl;
- Edit /etc/nginx/sites-available/bigbluebutton (this file was just the same symlinked file as above)
# listen [::]:80;
# listen [::]:443 ssl;

4. Run install script again
- NOTE => During installation, you must do step 3 again. (You can do it when Error "443 - Connection Refused" appear or when you see those configs are not comment)

5. If installation finished successfully, disable IPv6 in freeswitch :
- Edit /opt/freeswitch/etc/freeswitch/autoload_configs/event_socket.conf.xml
<param name="listen-ip" value="127.0.0.1"/>
- mv /opt/freeswitch/etc/freeswitch/sip_profiles/internal-ipv6.xml /opt/freeswitch/etc/freeswitch/ sip_profiles/internal-ipv6.xml_
- mv /opt/freeswitch/etc/freeswitch/sip_profiles/external-ipv6.xml /opt/freeswitch/etc/freeswitch/sip_profiles/external-ipv6.xml_
- bbb-conf --clean
- bbb-conf --check

Unfortunately this did not seem to change the situation.

Given this backdrop, I am reaching out here in hopes that someone might have either had a successful experience before in this same or similar setup or that you can identify an area where I might be misstepping.

Any thoughts or direction that might get my horse pointed north again?

JACK NGUYEN

unread,
Mar 9, 2024, 8:42:49 PM3/9/24
to BigBlueButton-Setup
looking for anyone who succeeded in a setup like this
Vào lúc 11:28:04 UTC+7 ngày Thứ Năm, 29 tháng 2, 2024, ylluminate đã viết:

ylluminate

unread,
Mar 11, 2024, 4:22:27 PM3/11/24
to BigBlueButton-Setup
Still seeking this myself.

JACK NGUYEN

unread,
Mar 12, 2024, 12:34:41 AM3/12/24
to BigBlueButton-Setup
hello bro, after several tries on this trouble. I managed to get the bbb to work by (1)disable ufw on the bbb server; (2) if you have installed bbb then run  rm /etc/bigbluebutton/bbb-conf/apply-lib.sh; (3)rerun the install script without -w option; (4) check if everything work well again. Note: Be sure that you know what you do because in this case, you may have to setup the firewall rules yourself manually.
Vào lúc 03:22:27 UTC+7 ngày Thứ Ba, 12 tháng 3, 2024, ylluminate đã viết:
Reply all
Reply to author
Forward
0 new messages