ec2 install problem

181 views
Skip to first unread message

Frederic Fred

unread,
Apr 25, 2015, 4:46:48 PM4/25/15
to bigbluebu...@googlegroups.com
hi

i spend all my day trying to make workes on ec2 with no luck

the demo version on bbb workes fine for me

i am not familar with ec2

i use an elastic ip


i already install bbb on a vps with no problem but now i am facing errors

i follow the step by step install on ec2 guides

i open my ports
i make this change
http://docs.bigbluebutton.org/install/install.html#audio-not-working

i want to be sure that
EXTERNAL_IP_ADDRESS= my elastic ip

and internal ip adress is my private ip
bbb.sip.app.ip=<internal ip>

???


when i lunch sudo bbb-conf --clean
i have a red cross * nginx is not running

i have a 1007 error

here is my bbb-conf check



ubuntu@ip-172-31-29-107:~$ sudo bbb-conf --check

BigBlueButton Server 0.9.0-RC (741)
                    Kernel version: 3.13.0-49-generic
                      Distribution: Ubuntu 14.04.2 LTS (64-bit)
                            Memory: 15039 MB

/var/www/bigbluebutton/client/conf/config.xml (bbb-client)
                Port test (tunnel): 52.28.71.14
                              Red5: 52.28.71.14
              useWebrtcIfAvailable: true

/opt/freeswitch/conf/sip_profiles/external.xml (FreeSWITCH)
                    websocket port: 5066
                    WebRTC enabled: true

/etc/nginx/sites-available/bigbluebutton (nginx)
                       server name: 52.28.71.14
                              port: 80
                    bbb-client dir: /var/www/bigbluebutton

/var/lib/tomcat7/webapps/bigbluebutton/WEB-INF/classes/bigbluebutton.properties (bbb-web)
                      bbb-web host: 52.28.71.14

/var/lib/tomcat7/webapps/demo/bbb_api_conf.jsp (API demos)
                           api url: 52.28.71.14

/var/www/bigbluebutton/check/conf/config.xml (client check)
                      client check: 52.28.71.14

/usr/share/red5/webapps/bigbluebutton/WEB-INF/red5-web.xml (red5)
                  voice conference: FreeSWITCH
                     capture video: true
                   capture desktop: true

/usr/local/bigbluebutton/core/scripts/bigbluebutton.yml (record and playback)
                     playback host: 52.28.71.14


** Potential problems described below **
# IP does not match:
#                           IP from ifconfig: 172.31.29.107
#   /etc/nginx/sites-available/bigbluebutton: 52.28.71.14
# Warning: API URL IPs do not match host:
#
#                                IP from ifconfig: 172.31.29.107
#  /var/lib/tomcat7/webapps/demo/bbb_api_conf.jsp: 52.28.71.14

# Warning: The API demos are installed and accessible from:
#
#    http://52.28.71.14/
#
# These API demos allow anyone to access your server without authentication
# to create/manage meetings and recordings. They are for testing purposes only.
# If you are running a production system, remove them by running:
#
#    sudo apt-get purge bbb-demo



any help will be precious

Thank you


Fred Dixon

unread,
Apr 26, 2015, 9:56:21 AM4/26/15
to bigbluebu...@googlegroups.com
Hi Frederic,

When trying to run on EC2, the error 1007 occurs when the your browser is unable to connect to your BigBlueButton server on port 5066.  See


Do you have TCP port 5066 open in your security group?  See last steps in


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



--
BigBlueButton Developer
BigBlueButton on twitter: @bigbluebutton

Frederic Fred

unread,
Apr 26, 2015, 2:18:48 PM4/26/15
to bigbluebu...@googlegroups.com

hi Fred

i have open all the port (see snapshot)

i have done all the change here
http://docs.bigbluebutton.org/install/install.html#audio-not-working

i have done a sudo bbb-conf --setip with my elastic ip

i stop and restart the instance

i try so many time (installation), but still no luck 1007 error

i use ec2 vpc, i have a network ACL (firewall) i don't know what to put inside so i put the same rules as the security group

i try so many things, i don't know what to do

Any idea

thank you for your help





Fred Dixon

unread,
Apr 26, 2015, 3:33:41 PM4/26/15
to bigbluebu...@googlegroups.com
Hi Federic,

It might be a firewall between yourself and the internet.  Can you connect to


and let us know if you are able to share your microphone.

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

Frederic Fred

unread,
Apr 26, 2015, 3:47:51 PM4/26/15
to bigbluebu...@googlegroups.com
hi

i have no problem with your demo

i also install bbb on a vps (not on amazon) with no problem

any idea?

Chad Pilkey

unread,
Apr 27, 2015, 11:17:22 AM4/27/15
to bigbluebu...@googlegroups.com
Port 5066 is required for the websocket connection only. If the websocket was the issue the client would show a 1002 error (Could not make a WebSocket connection). A 1007 is an ICE negotiation error and the usual cause of that ,when dealing with a EC2 server, is Freeswitch binding to the internal IP instead of the external IP. You can verify that this is the issue by looking at the browser console after a failed call and find the SDP that Freeswitch sends back. There should be one line with "candidate" in it and if that line contains your server's internal IP instead of the external IP the call won't be successful.

I've never used EC2 myself so I can't personally say whether the instructions are complete or not, but I know that people have followed them successfully. The usual problem is that one line of the instructions was skipped or a domain name was entered instead of the actual IP address.
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 bigbluebu...@googlegroups.com.
Visit this group at http://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.

Frederic Fred

unread,
Apr 27, 2015, 2:26:49 PM4/27/15
to bigbluebu...@googlegroups.com
i did a frech install of bbb on a new instance c4x2large

and Magic, it workes fine (no more 1007)
i can't say why, i did not change anything in my installation just

i change the size of the boot volume 8 to 30 in ec2 and it workes

Thank you for your support Fred and Chad




Fred Dixon

unread,
Apr 27, 2015, 9:42:19 PM4/27/15
to bigbluebu...@googlegroups.com
Hi Frederic,

Glad to hear you got it running.

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 post to this group, send email to bigbluebu...@googlegroups.com.
Visit this group at http://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages