liuzhe02 / bigbluebutton

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

HTTP Status 503 - BigBlueButton on api call #1905

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I've installed BBB without much problems and <my-server-ip>/bigbluebutton/api 
returns:
<response>
<returncode>SUCCESS</returncode>
<version>0.9</version>
</response>

however, demo API call to create meeting returns ERROR 500 and:
java.lang.NullPointerException
    at org.apache.jsp.demo1_jsp.getJoinURL(demo1_jsp.java:220)
    at org.apache.jsp.demo1_jsp._jspService(demo1_jsp.java:1180)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
    at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:745) ...
any attempt to call any API directly for ex. 
http://176.106.121.39/bigbluebutton/api/create?
name=Test+Meeting&meetingID=abcdef&attendeePW=111222&moderatorPW=333444

returns error 503 instead of xml.

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: 3947 MB

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

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

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

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

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

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

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

** Potential problems described below **
# Not Running:  redis-server
# Warning: The API demos are installed and accessible from:
#
#    http://176.106.121.39/
#
# 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://176.106.121.39/check
#

dpkg -l | grep bbb :

root@server2:~# dpkg -l | grep bbb
ii  bbb-apps                              0.9.0-1ubuntu88                       
 amd64        BigBlueButton applications for Red5
ii  bbb-apps-deskshare                    0.9.0-1ubuntu25                       
 amd64        BigBlueButton deskshare module for Red5
ii  bbb-apps-sip                          0.9.0-1ubuntu19                       
 amd64        BigBlueButton SIP module for Red5
ii  bbb-apps-video                        0.9.0-1ubuntu18                       
 amd64        BigBlueButton video module for Red5
ii  bbb-check                             0.9.0-1ubuntu35                       
 all          Self-check page for end-users to check if their
ii  bbb-client                            0.9.0-1ubuntu235                      
 all          BigBlueButton Flash client
ii  bbb-config                            0.9.0-1ubuntu42                       
 all          BigBlueButton configuration
ii  bbb-demo                              0.9.0-1ubuntu8                        
 amd64        BigBlueButton API demos
ii  bbb-freeswitch                        0.9.0-1ubuntu38                       
 amd64        BigBlueButton build of FreeSWITCH 1.5.x
ii  bbb-mkclean                           0.8.7-1                               
 amd64        tool to clean and optimize Matroska and WebM files
ii  bbb-office                            0.9.0-1ubuntu6                        
 amd64        BigBlueButton wrapper for LibreOffice
ii  bbb-playback-presentation             0.9.0-1ubuntu11                       
 amd64        BigBluebutton playback of presentation
ii  bbb-record-core                       0.9.0-1ubuntu37                       
 amd64        BigBlueButton record and playback
ii  bbb-red5                              0.9.0-1ubuntu25                       
 amd64        The Red5 server for bbb
ii  bbb-swftools                          0.9.2-1ubuntu14                       
 amd64        The swftools files for bbb
ri  bbb-web                               0.9.0-1ubuntu54                       
 all          BigBlueButton API
ii  bigbluebutton  

Original issue reported on code.google.com by miodrag....@gmail.com on 20 Mar 2015 at 11:38

GoogleCodeExporter commented 8 years ago
Marking as won't fix. This isn't an issue with BigBlueButton, but very likely 
an issue with the server.  Post this message to bigbluebutton-setup, the 
mailing list for setup/installation related questions.

  https://groups.google.com/forum/#!forum/bigbluebutton-setup

This way, the community can help.  If we determine there is an underlying 
problem with BigBlueButton itself, we'll open an issue here to track and fix. 

Original comment by ffdixon@gmail.com on 22 Mar 2015 at 1:27