HTTP Status 503 - BigBlueButton on api call

397 views
Skip to first unread message

Miodrag Gavranov

unread,
Mar 22, 2015, 2:49:43 PM3/22/15
to bigbluebu...@googlegroups.com
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  

Richard Alam

unread,
Mar 22, 2015, 3:06:10 PM3/22/15
to bigbluebu...@googlegroups.com
On Sun, Mar 22, 2015 at 2:49 PM, Miodrag Gavranov <miodrag....@gmail.com> wrote:
I've installed BBB without much problems and <my-server-ip>/bigbluebutton/api returns:
<response>
<returncode>SUCCESS</returncode>
<version>0.9</version>
</response>
Take a look at /var/log/bigbluebutton/bbb-web.log which might point to the issue.

Richard

 

--
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.



--

Miodrag Gavranov

unread,
Mar 23, 2015, 6:39:51 AM3/23/15
to bigbluebu...@googlegroups.com
Here is the output:

root@server2:/var/log/bigbluebutton# sudo trail -f bbb-web.log
sudo: trail: command not found
root@server2:/var/log/bigbluebutton# sudo tail -f bbb-web.log
2015-03-23 11:31:56,997+01:00 DEBUG org.bigbluebutton.api.MeetingService  - Cleaning up expired meetings
2015-03-23 11:32:53,613+01:00 WARN  org.bigbluebutton.web.services.KeepAliveService  - bbb-apps is down!
2015-03-23 11:32:56,997+01:00 DEBUG org.bigbluebutton.api.MeetingService  - Trigger cleaning up expired meetings
2015-03-23 11:32:56,997+01:00 DEBUG org.bigbluebutton.api.MeetingService  - Cleaning up expired meetings
2015-03-23 11:33:53,614+01:00 WARN  org.bigbluebutton.web.services.KeepAliveService  - bbb-apps is down!
2015-03-23 11:33:56,998+01:00 DEBUG org.bigbluebutton.api.MeetingService  - Trigger cleaning up expired meetings
2015-03-23 11:33:56,998+01:00 DEBUG org.bigbluebutton.api.MeetingService  - Cleaning up expired meetings
2015-03-23 11:34:53,615+01:00 WARN  org.bigbluebutton.web.services.KeepAliveService  - bbb-apps is down!
2015-03-23 11:34:56,998+01:00 DEBUG org.bigbluebutton.api.MeetingService  - Trigger cleaning up expired meetings
2015-03-23 11:34:56,998+01:00 DEBUG org.bigbluebutton.api.MeetingService  - Cleaning up expired meetings
2015-03-23 11:35:53,617+01:00 WARN  org.bigbluebutton.web.services.KeepAliveService  - bbb-apps is down!
2015-03-23 11:35:56,999+01:00 DEBUG org.bigbluebutton.api.MeetingService  - Trigger cleaning up expired meetings
2015-03-23 11:35:56,999+01:00 DEBUG org.bigbluebutton.api.MeetingService  - Cleaning up expired meetings

I see that bbb-apps is down but I don't know why or how to fix it. On the other machine everything went fine... Can you point me to the right direction?


--
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/9FDjTR0X0TE/unsubscribe.
To unsubscribe from this group and all its topics, 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.



--
Sa poštovanjem,
Miodrag Gavranov

Miodrag Gavranov

unread,
Mar 23, 2015, 6:46:59 AM3/23/15
to bigbluebu...@googlegroups.com
I've also noticed that bbb-conf says that redis server is not running. Here is my redis-server version:

root@server2:/var/log/bigbluebutton# redis-server -v
Redis server v=2.8.4 sha=00000000:0 malloc=jemalloc-3.4.1 bits=64 build=a44a05d76f06a5d9

Fred Dixon

unread,
Mar 23, 2015, 8:09:40 AM3/23/15
to bigbluebu...@googlegroups.com
Hi Miodrag,

> # Not Running:  redis-server

You need redis to run BigBlueButton.  Check the contents of

  /var/log/redis/redis-server.log

for errors or exceptions that may indicate why your redis server is not running.


Regards,... Fred


BigBlueButton Developer
BigBlueButton on twitter: @bigbluebutton

Miodrag Gavranov

unread,
Mar 23, 2015, 12:08:17 PM3/23/15
to bigbluebu...@googlegroups.com
Thank you! Now it works. Many thanks,

suthar kiran Ambalal

unread,
Jul 15, 2016, 4:41:34 AM7/15/16
to BigBlueButton-Setup
Hi i am facing this issue. I followed all the discussion of above. My Redis Server is also running. I am not able to understand the problem.


<response>
<returncode>SUCCESS</returncode>
<version>1.0</version>
</response>

Output of sudo bbb-conf --check is as follow

BigBlueButton Server 1.0.0 (1054)
                    Kernel version: 3.16.0-4-amd64
(64-bit)
                            Memory: 11542 MB

/var/www/bigbluebutton/client/conf/config.xml (bbb-client)
  Port test (tunnel): 192.168.0.206
                              Red5: 192.168.0.206
              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.206
                              port: 80
                    bbb-client dir: /var/www/bigbluebutton

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

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

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

/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.206


** Potential problems described below **
# Warning: The API demos are installed and accessible from:
#
#
# 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:
#
#


When i try to create a meeting, I get the same Null pointer exception shown by Miodrag Gavranov 

Now when i do sudo bbb-conf --debug, I see following error


/var/lib/tomcat7/logs/catalina.out:java.lang.NullPointerException


Your help would be appreciated. 

Thanks in advance.
 

Richard Alam

unread,
Jul 22, 2016, 10:49:41 AM7/22/16
to bigbluebu...@googlegroups.com
Check /var/log/bigbluebutton/bbb-web.log for some clues.

You can also use API mate to make the request so you will see the real response from the server instead of the grails error.


Richard
 

--
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.

For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages