BBB 2.3 Invalid BigBlueButton Endpoint and Secret

1,593 views
Skip to first unread message

b.ka...@gmail.com

unread,
Jun 17, 2021, 12:42:03 PM6/17/21
to BigBlueButton-Setup

Hello I have successfully set up multiple instances of bbb running greenlight at our organisation but am having trouble getting 2.3 to run (with greenlight).

I startet with a clean install of ubuntu 18.04 as suggestet and did all preinstallchecks successfully and the following ports were opened
TCP: 80, 443, 1935, 7443

UDP: 16384-32768

after running the installsh (wget -qO- https://ubuntu.bigbluebutton.org/bbb-install.sh | bash -s -- -v bionic-230 -s [mydomain.com]-e [m...@email.com]  -a -w -g

the installation finishes with "bbb-conf --check" returning the following errormessage at the end:

"Warning: Failed to verify STUN server at stun.l.google.com 19302 with command
#
#    stunclient --mode full --localport 30000 stun.l.google.com 19302"

Note we didn't use a Stunserver in our previous installations. I can set one up but we actually don't really have a need for it atm since basically all communication is happening internally anyway.

The real problem comes when I create an admin for greenlight and try to login. After logging in I always get an Errormessage saying
"
Server Error Invalid BigBlueButton Endpoint and Secret
Please make sure the proper steps have been taken. Learn more"

I redid alll the steps relating to the .env-configuration. uninstalled and reinstalled and also did a complete reinstall of bbb without greenlight and installed it manually afterwards. But the problem persists.

Any help would be greatly appreciated I have no Idea what is going wrong.

PS: the demomeeting at "https://mydomain.com/demo/demo1.jsp"
seems to works fine




Message has been deleted

b.ka...@gmail.com

unread,
Jun 17, 2021, 12:45:03 PM6/17/21
to BigBlueButton-Setup

just for clarification, the instances that were set up before and are running well were all bbb 2.2

Felipe Cecagno

unread,
Jun 17, 2021, 6:32:09 PM6/17/21
to bigbluebu...@googlegroups.com
Use bbb-conf --secret to discover the secret of your new server.

--
   
Felipe Cecagno


--
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-s...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bigbluebutton-setup/d1591cf4-3b2d-4f78-92b7-1e4e07a2649fn%40googlegroups.com.

b.ka...@gmail.com

unread,
Jun 18, 2021, 6:32:37 AM6/18/21
to BigBlueButton-Setup

Hello Felipe,
thank you for you'r reply.

The output of bbb-conf --secret is the same as the BIGBLUEBUTTON_SECRET in the .env in the grenlight directory

sd...@distancelearning.cloud

unread,
Jun 18, 2021, 7:06:00 AM6/18/21
to bigbluebu...@googlegroups.com

Can you look at /var/log/nginx/bigbluebutton.access.log and see if the greenlight docker is sending any api calls to the BBB server?

 

 

Regards,

Stephen

b.ka...@gmail.com

unread,
Jun 18, 2021, 8:47:43 AM6/18/21
to BigBlueButton-Setup
Hi thank you for your reply,

greenlight docker would be originating from 127.0.0.1 correct ?
If so then these are the lines in the log:

127.0.0.1 - - [18/Jun/2021:12:28:42 +0200] "GET /bigbluebutton/api HTTP/1.1" 404 162 "-" "curl/7.58.0"
127.0.0.1 - - [18/Jun/2021:12:28:43 +0200] "GET /bigbluebutton/api HTTP/1.1" 404 162 "-" "curl/7.58.0"
127.0.0.1 - - [18/Jun/2021:12:28:44 +0200] "GET /bigbluebutton/api HTTP/1.1" 404 162 "-" "curl/7.58.0"
127.0.0.1 - - [18/Jun/2021:12:28:45 +0200] "GET /bigbluebutton/api HTTP/1.1" 404 162 "-" "curl/7.58.0"
127.0.0.1 - - [18/Jun/2021:12:28:46 +0200] "GET /bigbluebutton/api HTTP/1.1" 404 162 "-" "curl/7.58.0"
127.0.0.1 - - [18/Jun/2021:12:28:47 +0200] "GET /bigbluebutton/api HTTP/1.1" 404 162 "-" "curl/7.58.0"
127.0.0.1 - - [18/Jun/2021:12:28:48 +0200] "GET /bigbluebutton/api HTTP/1.1" 404 162 "-" "curl/7.58.0"
127.0.0.1 - - [18/Jun/2021:12:28:49 +0200] "GET /bigbluebutton/api HTTP/1.1" 404 162 "-" "curl/7.58.0"
127.0.0.1 - - [18/Jun/2021:12:28:50 +0200] "GET /bigbluebutton/api HTTP/1.1" 404 162 "-" "curl/7.58.0"
127.0.0.1 - - [18/Jun/2021:12:28:51 +0200] "GET /bigbluebutton/api HTTP/1.1" 404 162 "-" "curl/7.58.0"
127.0.0.1 - - [18/Jun/2021:12:28:52 +0200] "GET /bigbluebutton/api HTTP/1.1" 404 162 "-" "curl/7.58.0"
127.0.0.1 - - [18/Jun/2021:12:28:53 +0200] "GET /bigbluebutton/api HTTP/1.1" 404 162 "-" "curl/7.58.0"
127.0.0.1 - - [18/Jun/2021:12:28:55 +0200] "GET /bigbluebutton/api HTTP/1.1" 200 92 "-" "curl/7.58.0"
127.0.0.1 - - [18/Jun/2021:12:28:55 +0200] "GET /bigbluebutton/api HTTP/1.1" 200 92 "-" "curl/7.58.0"
127.0.0.1 - - [18/Jun/2021:12:28:55 +0200] "GET /default.pdf HTTP/1.1" 200 42107 "-" "curl/7.58.0"
127.0.0.1 - - [18/Jun/2021:12:31:37 +0200] "GET /bigbluebutton/api HTTP/1.1" 404 162 "-" "curl/7.58.0"
127.0.0.1 - - [18/Jun/2021:12:31:38 +0200] "GET /bigbluebutton/api HTTP/1.1" 404 162 "-" "curl/7.58.0"
127.0.0.1 - - [18/Jun/2021:12:31:39 +0200] "GET /bigbluebutton/api HTTP/1.1" 404 162 "-" "curl/7.58.0"
127.0.0.1 - - [18/Jun/2021:12:31:40 +0200] "GET /bigbluebutton/api HTTP/1.1" 404 162 "-" "curl/7.58.0"
127.0.0.1 - - [18/Jun/2021:12:31:41 +0200] "GET /bigbluebutton/api HTTP/1.1" 404 162 "-" "curl/7.58.0"
127.0.0.1 - - [18/Jun/2021:12:31:42 +0200] "GET /bigbluebutton/api HTTP/1.1" 404 162 "-" "curl/7.58.0"
127.0.0.1 - - [18/Jun/2021:12:31:44 +0200] "GET /bigbluebutton/api HTTP/1.1" 404 162 "-" "curl/7.58.0"
127.0.0.1 - - [18/Jun/2021:12:31:45 +0200] "GET /bigbluebutton/api HTTP/1.1" 404 162 "-" "curl/7.58.0"
127.0.0.1 - - [18/Jun/2021:12:31:46 +0200] "GET /bigbluebutton/api HTTP/1.1" 404 162 "-" "curl/7.58.0"
127.0.0.1 - - [18/Jun/2021:12:31:47 +0200] "GET /bigbluebutton/api HTTP/1.1" 404 162 "-" "curl/7.58.0"
127.0.0.1 - - [18/Jun/2021:12:31:48 +0200] "GET /bigbluebutton/api HTTP/1.1" 404 162 "-" "curl/7.58.0"
127.0.0.1 - - [18/Jun/2021:12:31:49 +0200] "GET /bigbluebutton/api HTTP/1.1" 200 92 "-" "curl/7.58.0"
127.0.0.1 - - [18/Jun/2021:12:31:49 +0200] "GET /bigbluebutton/api HTTP/1.1" 200 92 "-" "curl/7.58.0"
127.0.0.1 - - [18/Jun/2021:12:31:49 +0200] "GET /default.pdf HTTP/1.1" 200 42107 "-" "curl/7.58.0"

sd...@distancelearning.cloud

unread,
Jun 18, 2021, 9:40:44 AM6/18/21
to bigbluebu...@googlegroups.com

Not sure, but something is trying every second.. it eventually works for just a couple of times the 200 is good api call to bbb-web.

Maybe docker is up first waiting for bbb-web to be up.

 

That’s 3 minutes apart, did you restart bbb-conf –restart to get that.

 

What about turning greenlight docker down, and back up.

 

I’m not familiar with greenlight, but there is a way to also see the docker logs to check for errors… Some greenlight users make be able to shead for light.

sd...@distancelearning.cloud

unread,
Jun 18, 2021, 9:42:06 AM6/18/21
to bigbluebu...@googlegroups.com

Felipe Cecagno

unread,
Jun 18, 2021, 1:11:10 PM6/18/21
to bigbluebu...@googlegroups.com
127.0.0.1 - - [18/Jun/2021:12:31:42 +0200] "GET /bigbluebutton/api HTTP/1.1" 404 162 "-" "curl/7.58.0"

The response is 404 NOT FOUND, so I believe nginx isn't configured properly.

--
   
Felipe Cecagno


b.ka...@gmail.com

unread,
Jun 23, 2021, 10:06:59 AM6/23/21
to BigBlueButton-Setup
@Stephen:
thank you for your help.
Sorry for my late reply
  1. I restarted bbb in between yes, sorry should have clarified.
  1. What about turning greenlight docker down, and back up.
  1. sadly doesn't change anything
    log output after restart and trying to log in:
    <my.device.ip> - - [23/Jun/2021:16:00:14 +0200] "GET / HTTP/1.1" 307 180 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:89.0) Gecko/20100101 Firefox/89.0"
    <my.device.ip> - - [23/Jun/2021:16:00:15 +0200] "GET /b HTTP/1.1" 200 15151 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:89.0) Gecko/20100101 Firefox/89.0"
    <my.device.ip> - - [23/Jun/2021:16:00:15 +0200] "GET /b/themes/primary.css HTTP/1.1" 200 4222 "https://<my.domain.name>/b" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:89.0) Gecko/20100101 Firefox/89.0"
    <my.device.ip> - - [23/Jun/2021:16:00:15 +0200] "GET /b/assets/favicon-76c923a0c96c0e77a6ec9d6596b30d597bf270a94136c36aac0cfae8d647b83c.ico HTTP/1.1" 499 0 "https://<my.domain.name>/b" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:89.0) $
    <my.device.ip> - - [23/Jun/2021:16:00:18 +0200] "GET /b/signin HTTP/1.1" 200 15184 "https://<my.domain.name>/b" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:89.0) Gecko/20100101 Firefox/89.0"
    <my.device.ip> - - [23/Jun/2021:16:00:18 +0200] "GET /b/assets/favicon-76c923a0c96c0e77a6ec9d6596b30d597bf270a94136c36aac0cfae8d647b83c.ico HTTP/1.1" 200 2587 "https://<my.domain.name>/b/signin" "Mozilla/5.0 (Windows NT 10.0; Win64; x64;$
    <my.device.ip> - - [23/Jun/2021:16:00:22 +0200] "POST /b/u/login HTTP/1.1" 302 136 "https://<my.domain.name>/b/signin" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:89.0) Gecko/20100101 Firefox/89.0"
    <my.device.ip> - - [23/Jun/2021:16:00:22 +0200] "GET /b/ber-foj-zyy-pbo HTTP/1.1" 200 15407 "https://<my.domain.name>/b/signin" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:89.0) Gecko/20100101 Firefox/89.0"
    <my.device.ip> - - [23/Jun/2021:16:00:22 +0200] "GET /b/themes/primary.css HTTP/1.1" 304 0 "https://<my.domain.name>/b/ber-foj-zyy-pbo" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:89.0) Gecko/20100101 Firefox/89.0"
  1. There is also a greenlight google group…
  1. Thank you I didn't know that.Just issued a request to join the group
  2. Some commands to check configs
    outpt for when running
    ~/greenlight# docker run --rm --env-file .env bigbluebutton/greenlight:v2 bundle exec rake conf:check
    is:
    Checking environment: Passed
    Checking Connection: Passed
    Checking Secret: Passed



b.ka...@gmail.com

unread,
Jun 23, 2021, 10:11:06 AM6/23/21
to BigBlueButton-Setup
@Felipe:

Thank you for your reply I redid the Steps from
https://docs.bigbluebutton.org/greenlight/gl-install.html#4-configure-nginx-to-route-to-greenlight

it does sadly not change anyhing however If I try to do the optional step (add "location = / { return 307 /b; }" in front of the last "}") I get the following errormessage when trying to restart nginx:
"Job for nginx.service failed because the control process exited with error code.
See "systemctl status nginx.service" and "journalctl -xe" for details."

Is that of any help to identify the problem ?

emmanuel...@gmail.com

unread,
Nov 25, 2021, 12:56:16 AM11/25/21
to BigBlueButton-Setup

First you need to check if bbb-conf --secret yield the same endpoint and secret key as in your .env file. If everything looks good then do the following to force renewal of certificate.

  1. apt-get install snapd
  2. apt-get remove -y certbot
  3. snap install certbot --classic
  4. certbot renew --force-renewal --preferred-chain "ISRG Root X1"
  5. bbb-conf --clean
  6. sudo systemctl restart ngnix
Reply all
Reply to author
Forward
0 new messages