Server Error Invalid BigBlueButton Endpoint and Secret

242 views
Skip to first unread message

Scott T

unread,
Aug 6, 2020, 3:22:52 PM8/6/20
to BigBlueButton-Setup
I finally have BBB setup in a VM since an LXC container would not work.  I also created an admin account with a "greenlight docker" command.  I am able to sign in to BBB via the web page and I get "Server Error Invalid BigBlueButton Endpoint and Secret" on my brand new installation.  I click on the "learn more" and have gone into the docs.  There are pages and pages about an ".env" file.  I've searched every folder of my Linux server and I can't find any such file.  I got no errors during installation.

I am about ready to call it quits and stick to my self hosted Jitsi server which is working great.  Perhaps this product is not yet completed?  I am amazed how the web page looks like people are actually using this.  Am I missing something?

Militades Sunfire

unread,
Aug 6, 2020, 3:37:42 PM8/6/20
to bigbluebu...@googlegroups.com
.env is a hidden file that is supposed next to your docker-compose.yml
setting some configuration.
see
https://docs.bigbluebutton.org/greenlight/gl-install.html

if you follow the easiest installation option with a ubuntu 16.04 and
the installer script it will be up and running in a couple of minutes.

Scott T

unread,
Aug 6, 2020, 3:39:54 PM8/6/20
to BigBlueButton-Setup
I finally located the .env file and the base secret did not match what I got from the:

sudo docker run --rm bigbluebutton/greenlight:v2 bundle exec rake secret

So, I reset it.  The sudo bbb-conf --secret did show the correct values that matched the .env file though.  

A "docker run --rm --env-file .env bigbluebutton/greenlight:v2 bundle exec rake conf:check" yielded the following:
Checking environment: Passed
Checking Connection: Failed
Error connecting to BigBlueButton server - execution expired

After going to the web page, I still get ""Server Error Invalid BigBlueButton Endpoint and Secret"  after I log in.  My DNS name is valid and my IPv6 firewall rule provides access to the VM.  

I have run out of ideas.  Anyone else have any thoughts???


Martin Thomas Schrott

unread,
Aug 6, 2020, 6:09:02 PM8/6/20
to bigbluebu...@googlegroups.com, Scott T

Hi,


maybe you should follow the install instructions step by step so you do not have to search for files endlessly?

And then everything will work emedeately?

...

did you try bbb-conf --setip <your_domain>

did you check if the docker container is up and running?

docker ps

and

docker-compose ps


you can see the logs with docker logs container_name


hth

Martin

--
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/3015a25f-0615-4c7a-a204-67afe9ba587fn%40googlegroups.com.

Scott T

unread,
Aug 6, 2020, 9:10:11 PM8/6/20
to BigBlueButton-Setup
I nuked the entire configuration for the eighth time.  I created an Ubuntu 16.04 server install from scratch.

I then performed an installation with:


The install went perfectly.  No errors. 

After the install, I created an admin account:

docker exec greenlight-v2 \
    bundle exec rake \
    admin:create["scott","vms...@scottibyte.com","abcdef","scott"]

I logged in with the account to the web page at https://bbb.mydomain.com/

It logged in with SSL.

As soon as I was logged in I got "invalid BigBlueButton End Point and Secret"

I followed all the configuration info. 

oot@BigBlueButton:~/greenlight# sudo docker run --rm --env-file .env bigbluebutton/greenlight:v2 bundle exec rake conf:check

Checking environment: Passed
Checking Connection: Failed
Error connecting to BigBlueButton server - execution expired

I do not have a direct IPv4 address for BigBlueButton.  I created an AAAA IPv4 record for my server.  I created an IPv6 Firewall rule on my router for BigBlueButton.  

I am stuck at "invalid BigBlueButton End Point and Secret" as soon as I log into the admin account.  Hopefully someone here has an idea.  I am out of options and thinking I will just stick my 
self hosted jitsi that works all the time.

Scott T

unread,
Aug 6, 2020, 9:15:18 PM8/6/20
to BigBlueButton-Setup
I created an AAAA IPv6 record.  Typoed above.   It is my intention to run BBB in IPv6 only.  My network does host more than one IPv4 service behind NginX Proxy Manager.  NginX Proxy Manager uses NginX.  BBB also uses NginX and I have researched for over two years on how to make that layered approach work and it has always been a fail.  NginX does not like running behind NginX.  Typically I run Apache2 behind NginX Proxy Manager and that works great.
BBB just won't play well with my IPv6 address.

Scott T

unread,
Aug 8, 2020, 8:39:53 PM8/8/20
to BigBlueButton-Setup
I discovered that my installation is perfect as long as my public IP IPv4 router address is directly connected to the bbb server.  That's not my configuration though.  The minute I change my bbb to use reverse proxy through my NginX Proxy Manager server, I get the Invalid endpoint and secret.  
connection.png
If I simply change my Firewall to point directly to the bbb server and not use my reverse proxy server, the above works.  So, considering that I have more than one server behind my Reverse Proxy Server, how do I configure BBB and Greenlight to use the proxy server like my other IPv4 services?  Barring an answer to that, I have failed to get BBB/Greenlight to work solely over IPv6.  I would be fine with an IPv6 only configuration also.

Reply all
Reply to author
Forward
0 new messages