liuzhe02 / bigbluebutton

Automatically exported from code.google.com/p/bigbluebutton
0 stars 0 forks source link

The connection to the server has been closed #1904

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Dear Bigbluebutton-Dev Team

I have Installed bigbluebutton-dev environment, 
My packaged bigbluebutton server is working well, and when I switched nginx to 
development environment and compiled using ant locales and then ant command, 
the bigbluebutton-dev server says "The connection to the server has been 
closed" error.

Logs I have
bbb-conf --check
BigBlueButton Server 0.9.0-beta (657)
                    Kernel version: 3.13.0-46-generic
                      Distribution: Ubuntu 14.04.2 LTS (64-bit)
                            Memory: 7904 MB

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

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

/etc/nginx/sites-available/bigbluebutton (nginx)
                       server name: 192.168.0.252
                              port: 80
                    bbb-client dir: /home/itppvcon/dev/bigbluebutton/bigbluebutton-client

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

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

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

/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: 192.168.0.252

** Potential problems described below **
# Warning: nginx is not serving the client from /var/www/bigbluebutton/.
# Instead, it's being served from
#
#    /home/itppvcon/dev/bigbluebutton/bigbluebutton-client
#
# (This is OK if you have setup a development environment.)

# Warning: The API demos are installed and accessible from:
#
#    http://192.168.0.252/
#
# 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

# Warning: The client self check is installed and accessible from:
#
#    http://192.168.0.252/check
#

-----------
bbb-conf --debug
/var/log/bigbluebutton/bbb-web.log:2015-03-20 21:08:38,377+09:00 ERROR 
org.codehaus.groovy.grails.web.errors.GrailsExceptionResolver  - 
IllegalStateException occurred when processing request: [GET] 
/bigbluebutton/api/join
/var/log/bigbluebutton/bbb-web.log:java.lang.IllegalStateException: Cannot 
create a session after the response has been committed
/var/log/bigbluebutton/bbb-web.log:2015-03-20 21:08:47,890+09:00 ERROR 
org.codehaus.groovy.grails.web.errors.GrailsExceptionResolver  - 
IllegalStateException occurred when processing request: [GET] 
/bigbluebutton/api/join
/var/log/bigbluebutton/bbb-web.log:java.lang.IllegalStateException: Cannot 
create a session after the response has been committed

/var/log/nginx/error.log

2015/03/20 21:23:39 [error] 24890#0: *7 directory index of 
"/home/itppvcon/dev/bigbluebutton/bigbluebutton-client/client/" is forbidden, 
client: 192.168.0.134, server: 192.168.0.252, request: "GET /client/ HTTP/1.1", 
host: "192.168.0.252", referrer: 
"http://192.168.0.252/client/BigBlueButton.swf?v=VERSION"
2015/03/20 21:28:32 [error] 25854#0: *6 directory index of 
"/home/itppvcon/dev/bigbluebutton/bigbluebutton-client/client/" is forbidden, 
client: 192.168.0.134, server: 192.168.0.252, request: "GET /client/ HTTP/1.1", 
host: "192.168.0.252", referrer: 
"http://192.168.0.252/client/BigBlueButton.swf?v=VERSION"

....
I also have followed the group discussion  
https://groups.google.com/forum/#!msg/bigbluebutton-dev/L11gPS85FEQ/3LUDp6MChEAJ
but it did not help me out

Original issue reported on code.google.com by bikra...@gmail.com on 20 Mar 2015 at 1:01

GoogleCodeExporter commented 8 years ago
Dear Team-
regarding the above mentioned problem, 
I have looked some other discussion on similar problem but that did not helped 
me out. I am quite sure that to make it done I did not make other things worse!

Thank you in advance!
Bikram

Original comment by bikra...@gmail.com on 20 Mar 2015 at 1:04

GoogleCodeExporter commented 8 years ago
Thank you very much 
I have solved this issue
I followed the discussion 
https://groups.google.com/forum/#!searchin/bigbluebutton-dev/the$20connection$20
to$20the$20server$20has$20been$20closed|sort:date/bigbluebutton-dev/Dw93-nyy21E/
mCgACmIZShAJ carefully and also went through the 
https://code.google.com/p/bigbluebutton/wiki/090Developing#Developing_the_Red5_A
pplications

This really helped me!!!
Thanks all

Original comment by bikra...@gmail.com on 20 Mar 2015 at 1:20

GoogleCodeExporter commented 8 years ago

Original comment by ffdixon@gmail.com on 20 Mar 2015 at 2:04