Bigbluebutton webrtc issue

1,102 views
Skip to first unread message

jayalakshmi j

unread,
Jan 22, 2018, 2:47:15 AM1/22/18
to BigBlueButton-Setup

 Hi


We have setup bigbluebutton on AWS t2.large server with his document http://docs.bigbluebutton.org/2.0/20install.html .

Our BigblueButton server is working fine but we are getting a webrtc error message

WebRTC Audio Failure: Error 1010: ICE negotiation timeout


With the bbb-conf check we are getting this output



bbb-conf-check1.png
bbb-conf-check.png

Fred Dixon

unread,
Jan 22, 2018, 9:05:18 AM1/22/18
to bigbluebu...@googlegroups.com
Hi,

Can you verify that the ports are open on the server, see



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-setup+unsub...@googlegroups.com.
To post to this group, send email to bigbluebutton-setup@googlegroups.com.
Visit this group at https://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.



--
BigBlueButton Developer
@bigbluebutton
Message has been deleted

Олексій Буренко

unread,
Jan 23, 2018, 6:22:35 AM1/23/18
to BigBlueButton-Setup
Hi, i had same problem, 
понедельник, 22 января 2018 г., 9:47:15 UTC+2 пользователь jayalakshmi j написал:

jayalakshmi j

unread,
Feb 7, 2018, 12:36:03 AM2/7/18
to BigBlueButton-Setup
Hi Fred
Thanks for the response, we were out of town for few weeks that is the reason for the delayed response.

We had check that all the port is opened in aws security group, please see the attached image down.



Regards,

Jayalakshmi J

liveclass_security_group.png

Matt S

unread,
Feb 8, 2018, 1:45:23 PM2/8/18
to BigBlueButton-Setup
Have you tried the Dummy NIC?

jayalakshmi j

unread,
Feb 9, 2018, 3:15:52 AM2/9/18
to BigBlueButton-Setup
Hi Matt

Our Webrtc error code is 1010, on the dummy nic card documentation its showing there 1002. That is the reason we didn't check with that one 



Regards,
Jayalakshmi J

On Monday, January 22, 2018 at 1:17:15 PM UTC+5:30, jayalakshmi j wrote:

matt schenkman

unread,
Feb 9, 2018, 6:45:15 AM2/9/18
to bigbluebu...@googlegroups.com
If your firewall doesn't support a UTurn NAT you might try the dummy NIC... If you're using AWS access groups can you also ensure you're not filtering UDP outbound? The firewall ports are really inbound allowances only, and FreeSwitch responds with UDP ports well outside of the documented range...

--
You received this message because you are subscribed to a topic in the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/bigbluebutton-setup/lKUfzrAphhw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to bigbluebutton-setup+unsub...@googlegroups.com.

jayalakshmi j

unread,
Feb 13, 2018, 1:12:38 AM2/13/18
to BigBlueButton-Setup

Hi Matt


Thanks for the response. Our outbond rule is allowing by default to all protocols and to all ports to any where, please see the attach image down.

I had tried with dummy nic by adding additional internace with this command

sudo ip addr add
EXTERNAL\_IP\_ADDRESS/32 dev lo


and added external ip address in this file /opt/freeswitch/conf/sip_profiles/external.xml

Now am getting 1002 error


Please see the attach images below


Regards,

Jayalakshmi J


On Monday, January 22, 2018 at 1:17:15 PM UTC+5:30, jayalakshmi j wrote:
external ip addr.png
outbond_port.png
ssl_responce2.png
ssl_response1.png
wertcerror1002.png

jayalakshmi j

unread,
Feb 13, 2018, 2:55:22 AM2/13/18
to BigBlueButton-Setup

Hi Matt

When i do bbb-conf –check  i go this result, after adding the dummy nic card


please see the image below

Regards,
Jayalakshmi J

On Monday, January 22, 2018 at 1:17:15 PM UTC+5:30, jayalakshmi j wrote:
webrtcerror1.png
webrtcerror2.png

matt schenkman

unread,
Feb 13, 2018, 5:58:31 AM2/13/18
to bigbluebu...@googlegroups.com
You have to replace the external IP with the address of your server.

jayalakshmi j

unread,
Feb 13, 2018, 6:21:18 AM2/13/18
to BigBlueButton-Setup

Hi Matt


I had replaced when i try with the dummy nic card



Regards,

Jayalakshmi J


On Monday, January 22, 2018 at 1:17:15 PM UTC+5:30, jayalakshmi j wrote:
externalip.png

matt schenkman

unread,
Feb 13, 2018, 6:48:30 AM2/13/18
to bigbluebu...@googlegroups.com
I've had a ton of issues with WebRTC. It was typically because I had missed a step, fat fingered a config, or otherwise... When you connect thru chrome or Firefox, after it fails do an about:WebRTC in Firefox or chrome://webrtc-internals and look for the remote session info (Firefox refers to it as remote sdp). I was getting an internal IP for that... Will never work and throw a 1002. Ended up being commented out lines in the XML... Don't ask me why. I'm going to setup bigbluebutton from scratch on a t2.micro just to do it as we haven't deployed this in AWS before...

--
You received this message because you are subscribed to a topic in the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/bigbluebutton-setup/lKUfzrAphhw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to bigbluebutton-setup+unsubscribe...@googlegroups.com.

jayalakshmi j

unread,
Feb 13, 2018, 7:35:52 AM2/13/18
to BigBlueButton-Setup
Hi Matt,
 
we will wait for your response 


On Monday, January 22, 2018 at 1:17:15 PM UTC+5:30, jayalakshmi j wrote:

matt schenkman

unread,
Feb 13, 2018, 7:40:01 AM2/13/18
to bigbluebu...@googlegroups.com
OK, thanks jayalakshmi... know that when I say 'we' I mean 'me'... The developers are awesome but I'm just a simple user... probably not a today or this week thing... just something I want to play with.  Can you test connect and get the remote SDP output?  You might find where your problem lies.

~ Matt
347.416.NERD
get Gmail @ http://mail.google.com

--
You received this message because you are subscribed to a topic in the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/bigbluebutton-setup/lKUfzrAphhw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to bigbluebutton-setup+unsub...@googlegroups.com.

matt schenkman

unread,
Feb 13, 2018, 8:12:08 AM2/13/18
to bigbluebu...@googlegroups.com
1002 typically means that there's either no inbound firewall rules in place or you can't hairpin NAT.  Have you tried the curl test?

~ Matt
347.416.NERD
get Gmail @ http://mail.google.com

On Tue, Feb 13, 2018 at 7:39 AM, matt schenkman <matt.sc...@gmail.com> wrote:
OK, thanks jayalakshmi... know that when I say 'we' I mean 'me'... The developers are awesome but I'm just a simple user... probably not a today or this week thing... just something I want to play with.  Can you test connect and get the remote SDP output?  You might find where your problem lies.

~ Matt
347.416.NERD
get Gmail @ http://mail.google.com
On Tue, Feb 13, 2018 at 7:35 AM, jayalakshmi j <j.ja...@gmail.com> wrote:
Hi Matt,
 
we will wait for your response 

On Monday, January 22, 2018 at 1:17:15 PM UTC+5:30, jayalakshmi j wrote:

 Hi


We have setup bigbluebutton on AWS t2.large server with his document http://docs.bigbluebutton.org/2.0/20install.html .

Our BigblueButton server is working fine but we are getting a webrtc error message

WebRTC Audio Failure: Error 1010: ICE negotiation timeout


With the bbb-conf check we are getting this output



--
You received this message because you are subscribed to a topic in the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/bigbluebutton-setup/lKUfzrAphhw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to bigbluebutton-setup+unsubscribe...@googlegroups.com.

jayalakshmi j

unread,
Feb 13, 2018, 8:22:30 AM2/13/18
to BigBlueButton-Setup
Hi Matt

I had tried the curl test, please see the results down.

Regards,
Jayalakshmi J

On Monday, January 22, 2018 at 1:17:15 PM UTC+5:30, jayalakshmi j wrote:
ssl_responce2.png
ssl_response1.png

matt schenkman

unread,
Feb 13, 2018, 8:32:21 AM2/13/18
to bigbluebu...@googlegroups.com
Thanks... I'd go back thru the configuration docs and ensure you have everything set properly in vars, external, and the bigbluebutton-sip.properties.  It sounds like the server isn't listening on 7443.

~ Matt
347.416.NERD
get Gmail @ http://mail.google.com

--
You received this message because you are subscribed to a topic in the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/bigbluebutton-setup/lKUfzrAphhw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to bigbluebutton-setup+unsub...@googlegroups.com.

jayalakshmi j

unread,
Feb 13, 2018, 8:36:58 AM2/13/18
to BigBlueButton-Setup
Hi Matt

This is the debug result generated with chrome browser. With firefox i am not getting any error with the generated webrtc file

Regards,
Jayalakshmi J

On Monday, January 22, 2018 at 1:17:15 PM UTC+5:30, jayalakshmi j wrote:
webrtc_internals_dump (2).txt

matt schenkman

unread,
Feb 13, 2018, 8:43:50 AM2/13/18
to bigbluebu...@googlegroups.com
If you're not getting anything from firefox, that probably means you can't make a connection with WebRTC, hence the 1002 error.  Do you have the necessary ports allowed inbound?

  • TCP ports 80, 443, 1935, and 7443
  • UDP ports in the range 16384 - 32768

~ Matt
347.416.NERD
get Gmail @ http://mail.google.com

Chad Pilkey

unread,
Feb 13, 2018, 1:11:17 PM2/13/18
to BigBlueButton-Setup
The 1002 error is shown when the initial websocket fails to connect. The websocket is the signalling layer and is actually set up before anything specific to WebRTC actually starts.

The part that changes drastically with the dummy NIC steps is that nginx starts redirecting the websocket connection from a local address to the external address. Basically nginx receives a request to /ws on your server and tries to forward it to EXTERNAL_ADDRESS:7443. The things to check are that IP address for the "wss-binding" in /opt/freeswitch/conf/sip_profiles/external.xml is the same as what your dummy NIC is set to and that it's the same as what nginx is set to. The other thing to check is that the computer that you have BBB installed on can connect to EXTERNAL_ADDRESS:7443. I think the nignx logs might have more info about the failed redirect also.


On Tuesday, February 13, 2018 at 8:43:50 AM UTC-5, Matt S wrote:
If you're not getting anything from firefox, that probably means you can't make a connection with WebRTC, hence the 1002 error.  Do you have the necessary ports allowed inbound?

  • TCP ports 80, 443, 1935, and 7443
  • UDP ports in the range 16384 - 32768

~ Matt
347.416.NERD
get Gmail @ http://mail.google.com

On Tue, Feb 13, 2018 at 8:36 AM, jayalakshmi j <j.ja...@gmail.com> wrote:
Hi Matt

This is the debug result generated with chrome browser. With firefox i am not getting any error with the generated webrtc file

Regards,
Jayalakshmi J

On Monday, January 22, 2018 at 1:17:15 PM UTC+5:30, jayalakshmi j wrote:

 Hi


We have setup bigbluebutton on AWS t2.large server with his document http://docs.bigbluebutton.org/2.0/20install.html .

Our BigblueButton server is working fine but we are getting a webrtc error message

WebRTC Audio Failure: Error 1010: ICE negotiation timeout


With the bbb-conf check we are getting this output



--
You received this message because you are subscribed to a topic in the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/bigbluebutton-setup/lKUfzrAphhw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to bigbluebutton-setup+unsub...@googlegroups.com.
To post to this group, send email to bigbluebu...@googlegroups.com.

jayalakshmi j

unread,
Feb 14, 2018, 9:04:53 AM2/14/18
to BigBlueButton-Setup

Hi Chad and Matt


The ip address pointed to this file /opt/freeswitch/conf/sip_profiles/external.xml

is external ip. That same ip only we pointed in dummy nic card.

Which nginx file did you means this conf file /etc/bigbluebutton/nginx/sip.nginx

For this configuration file there we pointed internal ip. But if a change to external ip am getting 1010 webrtc error

For the nginx configuration file /etc/ngnix/sites-avalible/bigbluebutton

We are pointed domain name

*This point is not clarified for me

The other thing to check is that the computer that you have BBB installed on can connect to EXTERNAL_ADDRESS:7443


The nginx log we are getting this error, please see the attached images bellow



Regards,

Jayalakshmi J


On Monday, January 22, 2018 at 1:17:15 PM UTC+5:30, jayalakshmi j wrote:
extenal-xml.png
externalip.png
ngnix_error_log.png

matt schenkman

unread,
Feb 14, 2018, 9:20:24 AM2/14/18
to bigbluebu...@googlegroups.com
1010 is closer to the finish line. You need the external and the 7443 in that config. From there, connect again to get the 1010 do an about:WebRTC in Firefox to make sure you're giving out the external IP. It was outbound filtering on one and not having the external IP in the externals file in the other.

--
You received this message because you are subscribed to a topic in the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/bigbluebutton-setup/lKUfzrAphhw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to bigbluebutton-setup+unsub...@googlegroups.com.
To post to this group, send email to bigbluebutton-setup@googlegroups.com.

matt schenkman

unread,
Feb 14, 2018, 9:27:48 AM2/14/18
to bigbluebu...@googlegroups.com
Your nginx log shows a different IP... 

On Feb 14, 2018 9:05 AM, "jayalakshmi j" <j.ja...@gmail.com> wrote:

jayalakshmi j

unread,
Feb 19, 2018, 2:47:08 AM2/19/18
to BigBlueButton-Setup
Hi All,

Thanks for all your support. Finally it worked for me. Thank you so much.


Regards,
Jayalakshmi J

On Monday, January 22, 2018 at 1:17:15 PM UTC+5:30, jayalakshmi j wrote:

matt schenkman

unread,
Feb 19, 2018, 7:10:21 AM2/19/18
to bigbluebu...@googlegroups.com
Great to hear J. Curious... What was the resolution?

Fred Dixon

unread,
Feb 19, 2018, 10:52:33 AM2/19/18
to bigbluebu...@googlegroups.com
Hi Matt and Jayalakshmi,

To make it easier to setup BigBlueButton 2.0-beta on Amazon EC2, we've created an install script called bbb-install.sh that now automates many of the installation steps (including the creation of an SSL certificate from Let's Encrypt).  See


To show how bbb-install.sh works, we put together a video showing how to install BigBlueButton on a t2.large:


 Here's a screen shot of BigBlueButton installed using bbb-install.sh now running on a t2.large at https://t2large-test.bigbluebutton.org/.  

Inline image 1


Note: A t2.large is a bit under-powered for BigBlueButton as it only has 2 CPU cores (the docs recommend at least 4 cores).  We would recommend installing on a c5.xlarge compute intensive CPU type which as 4 course and is very efficient.  Regardless if you choose a t2.large or c5.xlarge, the steps in the above video are the same.

We encourage you to try using bbb-install.sh to setup BigBlueButton 2.0-beta on a EC2 instance and let us know how it works. 

Regards,... Fred


On Mon, Feb 19, 2018 at 7:10 AM, matt schenkman <matt.sc...@gmail.com> wrote:
Great to hear J. Curious... What was the resolution?
On Feb 19, 2018 02:47, "jayalakshmi j" <j.ja...@gmail.com> wrote:
Hi All,

Thanks for all your support. Finally it worked for me. Thank you so much.


Regards,
Jayalakshmi J

On Monday, January 22, 2018 at 1:17:15 PM UTC+5:30, jayalakshmi j wrote:

 Hi


We have setup bigbluebutton on AWS t2.large server with his document http://docs.bigbluebutton.org/2.0/20install.html .

Our BigblueButton server is working fine but we are getting a webrtc error message

WebRTC Audio Failure: Error 1010: ICE negotiation timeout


With the bbb-conf check we are getting this output



--
You received this message because you are subscribed to a topic in the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/bigbluebutton-setup/lKUfzrAphhw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to bigbluebutton-setup+unsubscribe...@googlegroups.com.

To post to this group, send email to bigbluebutton-setup@googlegroups.com.
Visit this group at https://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.

--
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-setup+unsubscribe...@googlegroups.com.

To post to this group, send email to bigbluebutton-setup@googlegroups.com.
Visit this group at https://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.

Fred Dixon

unread,
Feb 19, 2018, 11:05:40 AM2/19/18
to bigbluebu...@googlegroups.com
Hi 

We made some edits to the video, here's a link to the updated video


Regards,... Fred
Reply all
Reply to author
Forward
0 new messages