Install Failure - Empty Reply & NGINX Bind Failed - Cannot Assign Requested Address

158 views
Skip to first unread message

Carlos Thomas

unread,
Jun 4, 2023, 2:13:47 PM6/4/23
to BigBlueButton-Setup
Good day all. So I attempted to set up and self-host for testing. No luck.

Initial install showed problems with NGINX - so after reinstalling on VPS I set up NGINX first. That worked fine - saw the page.

Installed BBB after - NGINX gave issues.

BBB1.png
As you can see above - everything is fine. Initial install had an X beside NGINX. Manually installing before BBB fixed that. However...

BBB2.png
Errors seen here didn't make much sense. Did a bit of searching and checking until...

BBB3.png

Came across that. Changed the settings in the relevant files - turned off IPv6 support. No luck. I'm only going to pay for the VPS service for one month and cancel if this can't be resolved. I'm installing on 8GB for testing at first - then will probably upgrade after. But it's kinda tedious if it can't get up and running in the first place.

Hopefully someone that has more experience can jump on and assist. Hopefully it will help others searching for similar issues. 

For searching - let me run the commands again and get the specific errors - copy and paste.

On completion, running "sudo bbb-conf --clean" gives the following errors:
  • nginx.service is not active, cannot reload.
  • Not running:  Nginx
  • .curl: (52) Empty reply from server
  • .curl: (16) OpenSSL SSL_write: Broken pipe, errno 32
  • # Error: Could not connect to the configured hostname/IP address
  • Error: Unable to reach default URL for presentation:
  • Check value for beans.presentationService.defaultUploadedPresentation in
    #   /usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties and /etc/bigbluebutton/bbb-web.properties
Running "systemctl status nginx.service" gives:
  • nginx[4141]: nginx: [emerg] no "ssl_certificate" is defined for the "listen ... ssl" directive in /etc/nginx/sites-enabled/default:21
  • nginx[4141]: nginx: configuration file /etc/nginx/nginx.conf test failed
  • systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE
  • systemd[1]: nginx.service: Failed with result 'exit-code'.
  • systemd[1]: Failed to start A high performance web server and a reverse proxy server.
Waiting to see if we can resolve - if not - will have to try something else. Maybe I can try installing an older version? Is that possible?

Carlos Thomas

unread,
Jun 4, 2023, 2:43:58 PM6/4/23
to BigBlueButton-Setup
So I'm redoing the install. Scrubbed the VPS and tried to install 2.5 but it wouldn't work.
BBB4.png
I had already setup NGINX and confirmed it's working.
BBB5.png
I rebooted and went to the URL to verify it's up and running.
BBB6.png
So I'm 200% sure that NGINX is working. Since that is up - I'm now running the BBB 2.6 install. Reason I did NGINX before - as I stated previously - is due to it not showing up at all when I did BBB directly. So this is a VPS running Ubuntu 20.04 LTS - and the only thing I set up before BBB is NGINX. It's gonna take about 10-15 minutes for the script to complete - so I'll post back at that point.

Carlos Thomas

unread,
Jun 4, 2023, 3:04:03 PM6/4/23
to BigBlueButton-Setup
So now - completed. Same as before. Here we go.

BBB8.png
Setup completed but you see that it had some issues. Checking on the state of NGINX.

BBB9.png

Now getting that - so did a reboot. Then it says the site can't be reached after a reboot.

BBB10.png

Checking back on NGINX - that's what I'm getting. So.....

Any help appreciated. Thanks in advance. Let me know if there's anything else you need.

Jefferson Aragon

unread,
Jun 9, 2023, 4:48:03 PM6/9/23
to BigBlueButton-Setup
Hi
I am also getting the same error. If you resolved the problem, then please let me know the solution.
Thanks.
Jefferson

Fred Dixon

unread,
Jun 9, 2023, 6:07:03 PM6/9/23
to bigbluebu...@googlegroups.com
Hi,

What VPS are you installing BigBlueButton on?  Does it meet the minimum requirements 


Can you share the parameters of the bbb-install-2.6.sh command that you used (you can substitute example.com and us...@example.com for the hostname and email address).

Regards,... Fred

--
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/2f3a4e1d-0dd7-4f03-968e-c2a41e5b2a09n%40googlegroups.com.


--
Co-founder BigBlueButton

Like BigBlueButton?  Tweet us at @bigbluebutton

Carlos Thomas

unread,
Jun 10, 2023, 4:05:21 AM6/10/23
to BigBlueButton-Setup
Thanks for your reply and good morning @Fred. The picture in the second post has the exact string used - but here's a copy/paste below.

wget -qO- https://ubuntu.bigbluebutton.org/bbb-install-2.6.sh | bash -s -- -v focal-260 -s bbb.example -e us...@example.com -g -w

The VPS meets the minimum requirements for the test environment if I'm not mistaken. 

BBB11.png

The VPS gives 4 cores and 8GB RAM with 200GB SSD. The intention is to test on this and then upgrade the VPS to 8 cores, 16GB RAM if all goes well. Doesn't make sense for me to spend on the service and it doesn't work, so I'm testing first.

Originally when this was done, NGINX had issues. I've installed in this manner.

After following that, or just using "wget -qO- https://ubuntu.bigbluebutton.org/bbb-install-2.6.sh | bash -s -- -v focal-260 -s bbb.example -e us...@example.com -g -w" from the start, I still have issues as outlined above. As stated, when I set up NGINX first and go to the URL, it works quite fine. After installing BBB it breaks NGINX for some reason if it's installed first, or it just doesn't work if only BBB is installed.

In every case, I've done a scrub of the VPS and there's nothing else installed. 

Thanks again for your reply @Fred. Looking forward to any assistance.

@Jefferson - I'm hoping the issue can be resolved so that others can proceed as well.

Fred Dixon

unread,
Jun 10, 2023, 2:02:06 PM6/10/23
to bigbluebu...@googlegroups.com
Hi Carlos,

Can you set up a clean VPS, with nothing installed, and email me directly credentials to login and try an install. Something isn't quite right as you shouldn't need to install nginx ahead of time.

Regards,... Fred

Carlos Thomas

unread,
Jun 10, 2023, 2:35:26 PM6/10/23
to BigBlueButton-Setup
Couldn't find an address for you. Sent you something using another method. Fresh install of Ubuntu on the VPS has started. Should be done in 5-10 minutes. Let me know if you need anything else.

Jefferson Aragon

unread,
Jun 10, 2023, 3:31:32 PM6/10/23
to BigBlueButton-Setup
Hi @Carlos
I have resolved the issue, so I think the BBB & greenlight is working fine now.
I think the nginx issue is related to IPv6.

I think your vps has IPv6 as default. If you can't see the IPv6 on the system please reboot your system.
And then when you enter this command "ip addr | grep inet6", you can see "inet6 ::1/128 scope host"?
If you don't see it, then please figure it out first. And then install BBB.

Fred Dixon

unread,
Jun 10, 2023, 4:26:25 PM6/10/23
to bigbluebu...@googlegroups.com
Hi Carlos,

Thanks for giving me (temporary) access to your server.  As Jefferson pointed out, your server is missing support for IPV6.  

However, I did some quick edits to disable most of the IPV6 support in BigBlueButton to confirm it would install (see below).  

As Jefferson pointed out, for anyone installing BigBlueButton, you need to have IPV6 support, as recommended in the minimum server requirements, to ensure the install finishes without errors.

Regards,... Fred

In the file /etc/nginx/sites-available/bigbluebutton

Edit

  listen 127.0.0.1:82 http2 proxy_protocol;
  listen [::1]:82 http2;
  listen 127.0.0.1:81 proxy_protocol;
  listen [::1]:81;
  server_name bbb.carlosthomas.net;

to

  listen 127.0.0.1:82 http2 proxy_protocol;
  # listen [::1]:82 http2;
  listen 127.0.0.1:81 proxy_protocol;
  # listen [::1]:81;
  server_name bbb.carlosthomas.net;


Rename

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

In the file

./freeswitch/autoload_configs/event_socket.conf.xml

Edit

<?xml version="1.0"?>
<configuration name="event_socket.conf" description="Socket Client">
  <settings>
    <param name="nat-map" value="false"/>
    <param name="listen-ip" value="::"/>
    <param name="listen-port" value="8021"/>
    <param name="password" value="<password>"/>
    <!--<param name="apply-inbound-acl" value="loopback.auto"/>-->
    <!--<param name="stop-on-bind-error" value="true"/>-->
  </settings>
</configuration>

to

<?xml version="1.0"?>
<configuration name="event_socket.conf" description="Socket Client">
  <settings>
    <param name="nat-map" value="false"/>
    <param name="listen-ip" value="127.0.0.1"/>
    <param name="listen-port" value="8021"/>
    <param name="password" value="<password>"/>
    <!--<param name="apply-inbound-acl" value="loopback.auto"/>-->
    <!--<param name="stop-on-bind-error" value="true"/>-->
  </settings>
</configuration>

But 

Message has been deleted

Fred Dixon

unread,
Jun 11, 2023, 8:08:36 AM6/11/23
to bigbluebu...@googlegroups.com
Adding this to bbb-install-2.6.sh so it can warn administrators when IPV6 is not enabled.


Regards,... Fred
Message has been deleted
Message has been deleted

Carlos Thomas

unread,
Jun 11, 2023, 3:40:13 PM6/11/23
to BigBlueButton-Setup
Thanks @Jefferson. Interestingly, @Fred was assisting with finding the issue and came to the same conclusion. There was a workaround to use IPv4 only, but I tried on my own and couldn't get it to work. My VPS provider just needed me to run "enable_ipv6" and reboot - that's on me for not checking the docs - they sent me the link.

Once done, I'm able to fully install and get it working. Just need to point out that you may need the additional recording formats enabled to make things work.


But testing so far is great! Just did a 90 minute test recording and waiting to see how the system handles it. Still playing with the configs/settings to tweak it as I'd like - but it's awesome so far.

Many thanks to all!

Carlos Thomas

unread,
Jun 16, 2023, 6:50:23 PM6/16/23
to BigBlueButton-Setup
Hi all. Updating to say things are running fine on test VPS. Just the recordings take a while to render. I've changed the FPS to 30 and it seems the mouse glitch is gone thereafter. Just as a note. Thanks again - keep up the good work!

Carlos Thomas

unread,
Jun 18, 2023, 1:07:44 PM6/18/23
to BigBlueButton-Setup
Hi all. Maybe I should create a new thread for this. All is working fine - but I noticed that my last two recordings are showing duplicate presentation links.

BBB-Dup01.png

When the links are copied the first two are identical. I assume it means BBB is linking to the same file created twice. Not an "issue" as such - just something to look into. Links look like below.


Did a search and didn't come up with similar resulting issues. 

Fred Dixon

unread,
Jun 18, 2023, 3:06:47 PM6/18/23
to bigbluebu...@googlegroups.com
> All is working fine - but I noticed that my last two recordings are showing duplicate presentation links.

Hi Carlos,

Can you open an issue and, as best possible, provide steps to reproduce.

Regards,.. Fred

Carlos Thomas

unread,
Jul 16, 2023, 8:11:19 PM7/16/23
to BigBlueButton-Setup
Hi there Fred. Apologies for the delays in response. I have no issues with allowing you access again - if you want - so you can check out the logs. I've not tried to replicate the issue - it really just happened randomly on two recordings on June 17th and 18th. It's not happened since, and I've had 7 other recordings after. 

I assume that it may have been a resource issue that caused the fluke, as I'm still running it on the test specs. If you're interested in looking however, just get in touch and I'll provide temporary access again.

Thanks GREATLY for the time, patience and assistance to get things working. Since resolving the IPv6 issue, I've reinstalled by myself (one time) and it's been going fine on the test specs. I'll upgrade the VPS in another month or two once I've checked some other stuff out and played with the configs. My only issue - which I showed you - is the whole cursor duplication on screen. That seems to be a thing on all platforms I've used so far though - so not too worried.

Keep up the good work!

Reply all
Reply to author
Forward
0 new messages