bigbluebutton / bbb-install

BASH script to install BigBlueButton in 30 minutes.
GNU Lesser General Public License v3.0
617 stars 538 forks source link

BBB Server installed + Greenlight + SSL => /b Looping 301 HTML error #312

Closed ghost closed 3 years ago

ghost commented 3 years ago

Hello everyone, I followed the tutorial linked here step by step here : https://docs.bigbluebutton.org/2.2/install.html I tried the server with the API demo and it worked well (HTML5 + HTTPS) But every time I try to install and configure greenlight (https://oppageek.space/b), It gets 301 redirected to the same page...

Information : I'm using VMware Workstation 16 Player - Used VirtualBox with the same result and full installation from fresh server.

Distributor ID: Ubuntu
Description:    Ubuntu 16.04.7 LTS
Release:        16.04
Codename:       xenial
Linux oppageek 4.4.0-197-generic #229-Ubuntu SMP Wed Nov 25 11:05:42 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

bbb-conf --check :

BigBlueButton Server 2.2.30 (2264)
                    Kernel version: 4.4.0-197-generic
                      Distribution: Ubuntu 16.04.7 LTS (64-bit)
                            Memory: 20543 MB
                         CPU cores: 4

/usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties (bbb-web)
       bigbluebutton.web.serverURL: https://oppageek.space
                defaultGuestPolicy: ALWAYS_ACCEPT
                 svgImagesRequired: true

/etc/nginx/sites-available/bigbluebutton (nginx)
                       server name: oppageek.space
                              port: 80, [::]:80
                              port: 443 ssl
                    bbb-client dir: /var/www/bigbluebutton

/var/www/bigbluebutton/client/conf/config.xml (bbb-client)
                Port test (tunnel): rtmp://oppageek.space
                              red5: oppageek.space
              useWebrtcIfAvailable: true

/opt/freeswitch/etc/freeswitch/vars.xml (FreeSWITCH)
                       local_ip_v4: 192.168.1.45
                   external_rtp_ip: [REDACTED]
                   external_sip_ip: stun:stun.freeswitch.org

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

/usr/local/bigbluebutton/core/scripts/bigbluebutton.yml (record and playback)
                     playback_host: oppageek.space
                 playback_protocol: https
                            ffmpeg: 4.2.4-1ubuntu0.1bbb1~16.04.1

/etc/bigbluebutton/nginx/sip.nginx (sip.nginx)
                        proxy_pass: 192.168.1.45

/usr/local/bigbluebutton/bbb-webrtc-sfu/config/default.yml (Kurento SFU)
                        kurento.ip: 192.168.1.45
                       kurento.url: ws://127.0.0.1:8888/kurento
                    kurento.sip_ip: 192.168.1.45
                    localIpAddress: 192.168.1.45
               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)
                             build: 1095
                        kurentoUrl: wss://oppageek.space/bbb-webrtc-sfu
                  enableListenOnly: true

# Potential problems described below
# IP does not match:
#                           IP from ifconfig: 192.168.1.45
#   /etc/nginx/sites-available/bigbluebutton: oppageek.space
/usr/sbin/ufw

##------------------------------------------------------------------------------------------------------------- /var/log/nginx/bigbluebutton.access.log

[EXTERNAL_IP_REDACTED] [07/Dec/2020:16:13:19 +0100] "GET /fonts/fontawesome-webfont.woff2?v=4.7.0 HTTP/1.1" 304 0 "https://oppageek.space/css/font-awesome.min.css$
[EXTERNAL_IP_REDACTED] [07/Dec/2020:16:13:21 +0100] "GET / HTTP/1.1" 200 3763 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0"
[EXTERNAL_IP_REDACTED] [07/Dec/2020:16:13:21 +0100] "GET /css/bbb-bootstrap.css HTTP/1.1" 304 0 "https://oppageek.space/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64$
[EXTERNAL_IP_REDACTED] [07/Dec/2020:16:13:21 +0100] "GET /js/bootstrap.min.js HTTP/1.1" 304 0 "https://oppageek.space/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv$
[EXTERNAL_IP_REDACTED] [07/Dec/2020:16:13:21 +0100] "GET /css/style.css HTTP/1.1" 304 0 "https://oppageek.space/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.$
[EXTERNAL_IP_REDACTED] [07/Dec/2020:16:13:21 +0100] "GET /js/bigbluebutton.js HTTP/1.1" 304 0 "https://oppageek.space/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64;$
[EXTERNAL_IP_REDACTED] [07/Dec/2020:16:13:21 +0100] "GET /css/font-awesome.min.css HTTP/1.1" 304 0 "https://oppageek.space/" "Mozilla/5.0 (Windows NT 10.0; Win64; x$
[EXTERNAL_IP_REDACTED] [07/Dec/2020:16:13:21 +0100] "GET /js/jquery.min.js HTTP/1.1" 304 0 "https://oppageek.space/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv$
[EXTERNAL_IP_REDACTED] [07/Dec/2020:16:13:21 +0100] "GET /css/bijou.min.css HTTP/1.1" 304 0 "https://oppageek.space/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv$
[EXTERNAL_IP_REDACTED] [07/Dec/2020:16:13:22 +0100] "GET /images/bbb-presenter-overview.png HTTP/1.1" 304 0 "https://oppageek.space/" "Mozilla/5.0 (Windows NT 10.0$
[EXTERNAL_IP_REDACTED] [07/Dec/2020:16:13:22 +0100] "GET /images/bbb-viewer-overview.png HTTP/1.1" 304 0 "https://oppageek.space/" "Mozilla/5.0 (Windows NT 10.0; W$
[EXTERNAL_IP_REDACTED] [07/Dec/2020:16:13:22 +0100] "GET /images/blankoverview.png HTTP/1.1" 304 0 "https://oppageek.space/" "Mozilla/5.0 (Windows NT 10.0; Win64; $
[EXTERNAL_IP_REDACTED] [07/Dec/2020:16:13:22 +0100] "GET /images/bbb-logo.png HTTP/1.1" 304 0 "https://oppageek.space/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; r$
[EXTERNAL_IP_REDACTED] [07/Dec/2020:16:13:22 +0100] "GET /images/favicon.png HTTP/1.1" 304 0 "https://oppageek.space/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv$
[EXTERNAL_IP_REDACTED] [07/Dec/2020:16:16:30 +0100] "GET / HTTP/1.1" 307 196 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0"
[EXTERNAL_IP_REDACTED] [07/Dec/2020:16:16:30 +0100] "GET /b HTTP/1.1" 301 5 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0"
[EXTERNAL_IP_REDACTED] [07/Dec/2020:16:16:30 +0100] "GET /b HTTP/1.1" 301 5 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0"
[EXTERNAL_IP_REDACTED] [07/Dec/2020:16:16:31 +0100] "GET /b HTTP/1.1" 301 5 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0"
[EXTERNAL_IP_REDACTED] [07/Dec/2020:16:16:31 +0100] "GET /b HTTP/1.1" 301 5 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0"
[EXTERNAL_IP_REDACTED] [07/Dec/2020:16:16:31 +0100] "GET /b HTTP/1.1" 301 5 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0"
[EXTERNAL_IP_REDACTED] [07/Dec/2020:16:16:31 +0100] "GET /b HTTP/1.1" 301 5 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0"
[EXTERNAL_IP_REDACTED] [07/Dec/2020:16:16:31 +0100] "GET /b HTTP/1.1" 301 5 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0"
[EXTERNAL_IP_REDACTED] [07/Dec/2020:16:16:31 +0100] "GET /b HTTP/1.1" 301 5 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0"
[EXTERNAL_IP_REDACTED] [07/Dec/2020:16:16:31 +0100] "GET /b HTTP/1.1" 301 5 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0"
[EXTERNAL_IP_REDACTED] [07/Dec/2020:16:16:32 +0100] "GET /b HTTP/1.1" 301 5 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0"
[EXTERNAL_IP_REDACTED] [07/Dec/2020:16:16:32 +0100] "GET /b HTTP/1.1" 301 5 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0"
[EXTERNAL_IP_REDACTED] [07/Dec/2020:16:16:32 +0100] "GET /b HTTP/1.1" 301 5 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0"
[EXTERNAL_IP_REDACTED] [07/Dec/2020:16:16:32 +0100] "GET /b HTTP/1.1" 301 5 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0"
[EXTERNAL_IP_REDACTED] [07/Dec/2020:16:16:32 +0100] "GET /b HTTP/1.1" 301 5 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0"
[EXTERNAL_IP_REDACTED] [07/Dec/2020:16:16:32 +0100] "GET /b HTTP/1.1" 301 5 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0"
[EXTERNAL_IP_REDACTED] [07/Dec/2020:16:16:32 +0100] "GET /b HTTP/1.1" 301 5 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0"
[EXTERNAL_IP_REDACTED] [07/Dec/2020:16:16:32 +0100] "GET /b HTTP/1.1" 301 5 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0"
[EXTERNAL_IP_REDACTED] [07/Dec/2020:16:16:33 +0100] "GET /b HTTP/1.1" 301 5 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0"
[EXTERNAL_IP_REDACTED] [07/Dec/2020:16:16:33 +0100] "GET /b HTTP/1.1" 301 5 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0"
[EXTERNAL_IP_REDACTED] [07/Dec/2020:16:16:33 +0100] "GET /b HTTP/1.1" 301 5 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0"
[EXTERNAL_IP_REDACTED] [07/Dec/2020:16:16:37 +0100] "GET / HTTP/1.1" 307 196 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0"
[EXTERNAL_IP_REDACTED] [07/Dec/2020:16:16:37 +0100] "GET /b HTTP/1.1" 301 5 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0"
[EXTERNAL_IP_REDACTED] [07/Dec/2020:16:16:37 +0100] "GET /b HTTP/1.1" 301 5 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0"
[EXTERNAL_IP_REDACTED] [07/Dec/2020:16:16:37 +0100] "GET /b HTTP/1.1" 301 5 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0"
[EXTERNAL_IP_REDACTED] [07/Dec/2020:16:16:37 +0100] "GET /b HTTP/1.1" 301 5 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0"
[EXTERNAL_IP_REDACTED] [07/Dec/2020:16:16:37 +0100] "GET /b HTTP/1.1" 301 5 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0"
[EXTERNAL_IP_REDACTED] [07/Dec/2020:16:16:37 +0100] "GET /b HTTP/1.1" 301 5 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0"
[EXTERNAL_IP_REDACTED] [07/Dec/2020:16:16:37 +0100] "GET /b HTTP/1.1" 301 5 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0"
[EXTERNAL_IP_REDACTED] [07/Dec/2020:16:16:37 +0100] "GET /b HTTP/1.1" 301 5 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0"
[EXTERNAL_IP_REDACTED] [07/Dec/2020:16:16:37 +0100] "GET /b HTTP/1.1" 301 5 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0"
[EXTERNAL_IP_REDACTED] [07/Dec/2020:16:16:37 +0100] "GET /b HTTP/1.1" 301 5 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0"
[EXTERNAL_IP_REDACTED] [07/Dec/2020:16:16:38 +0100] "GET /b HTTP/1.1" 301 5 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0"
[EXTERNAL_IP_REDACTED] [07/Dec/2020:16:16:38 +0100] "GET /b HTTP/1.1" 301 5 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0"
[EXTERNAL_IP_REDACTED] [07/Dec/2020:16:16:38 +0100] "GET /b HTTP/1.1" 301 5 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0"
[EXTERNAL_IP_REDACTED] [07/Dec/2020:16:16:38 +0100] "GET /b HTTP/1.1" 301 5 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0"
[EXTERNAL_IP_REDACTED] [07/Dec/2020:16:16:38 +0100] "GET /b HTTP/1.1" 301 5 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0"
[EXTERNAL_IP_REDACTED] [07/Dec/2020:16:16:38 +0100] "GET /b HTTP/1.1" 301 5 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0"
[EXTERNAL_IP_REDACTED] [07/Dec/2020:16:16:38 +0100] "GET /b HTTP/1.1" 301 5 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0"
[EXTERNAL_IP_REDACTED] [07/Dec/2020:16:16:38 +0100] "GET /b HTTP/1.1" 301 5 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0"
[EXTERNAL_IP_REDACTED] [07/Dec/2020:16:16:38 +0100] "GET /b HTTP/1.1" 301 5 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0"
[EXTERNAL_IP_REDACTED] [07/Dec/2020:16:50:10 +0100] "GET /bigbluebutton/api HTTP/1.1" 200 92 "-" "Wget/1.17.1 (linux-gnu)"
[EXTERNAL_IP_REDACTED] [07/Dec/2020:16:50:10 +0100] "GET /bigbluebutton/api HTTP/1.1" 200 92 "-" "Wget/1.17.1 (linux-gnu)"
[EXTERNAL_IP_REDACTED] [07/Dec/2020:16:50:13 +0100] "GET /default.pdf HTTP/1.1" 200 434831 "-" "Wget/1.17.1 (linux-gnu)"
[EXTERNAL_IP_REDACTED] [07/Dec/2020:16:53:09 +0100] "GET / HTTP/1.1" 307 196 "-" "-"

##------------------------------------------------------------------------------------------------------------- Can you help me to get to know what's wrong please ? I would really appreciate! I'm missing something, but I don't know what exactly..

ffdixon commented 3 years ago

Is it an option for you to use bbb-install.sh to install BigBlueButton 2.2.31?

ghost commented 3 years ago

The issue was fixed by removing cloudflare proxy.

ffdixon commented 3 years ago

Thanks for sharing how you got it working.