Problem after SSL Confirguartion (An Error has occured: Status Code 500)

317 views
Skip to first unread message

FredM.

unread,
Jun 4, 2017, 11:02:43 AM6/4/17
to BigBlueButton-Setup
Hi,
i installed BBB 1.1. I made all steps of the documentation. Before configuring SSL i tested BBB with the http-URL. I could start a BBB-session.
After configuring SSL, the login Page starts normally (over https; verified Secure Session is showed in Browser). When i login, th following Error occures:

An Error has occured:

Status Code    500
Exception Type    null
Message    null
Exception   
java.lang.NullPointerException
    at org.apache.jsp.demo1_jsp.getJoinURL(demo1_jsp.java:223)
    at org.apache.jsp.demo1_jsp._jspService(demo1_jsp.java:1302)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:439)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:221)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:436)
    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1078)
    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625)
    at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    at java.lang.Thread.run(Thread.java:748)
Root Cause   
Header List
Name    Value
x-forwarded-for    2a02:1029:c000:1::1
host    127.0.0.1:8080
connection    close
upgrade-insecure-requests    1
user-agent    Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36
accept    text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
referer    https://<MyDomain>/
accept-encoding    gzip, deflate, sdch, br
accept-language    de-DE,de;q=0.8,en-US;q=0.6,en;q=0.4
cookie    JSESSIONID=AB2D8DC3C64C2FAC2642277C5D00276A
Attribute List
javax.servlet.forward.request_uri    /demo/demo1.jsp
javax.servlet.forward.context_path    /demo
javax.servlet.forward.servlet_path    /demo1.jsp
javax.servlet.forward.query_string    username=MyName&action=create
javax.servlet.error.status_code    500
javax.servlet.jsp.jspException    java.lang.NullPointerException
javax.servlet.error.request_uri    /demo/demo1.jsp
javax.servlet.error.servlet_name    jsp
javax.servlet.error.exception    java.lang.NullPointerException

I checked firewall settings, everything seems to be o.k.
Have you got any idea?

Thnx a lot for help!

Fred Dixon

unread,
Jun 4, 2017, 7:09:17 PM6/4/17
to bigbluebu...@googlegroups.com
Hi Fred,

It's a good bet that the SSL certificate you used for enabling SSL isn't recognized by the local Java run-time.  When you use the API demos, the .jsp pages make a HTTPS call to the BigBlueButton server, and if the Java runtime environment for the .jsp pages can't validate the certificate, it throws an error.

You can check this yourself by doing the command

  curl -Oq- https://<your_server>/bigbluebutton/api

and see if you get an error. 

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

HostBBB.com

unread,
Jun 5, 2017, 9:07:30 AM6/5/17
to BigBlueButton-Setup
https://dev.ssllabs.com/ssltest/

Check your domain here...   if your not getting an A,  look to make sure you have the complete cert chain.   Nginx needs the intermediate and root to resolve correctly for tomcat.

regards,
Stephen
Reply all
Reply to author
Forward
0 new messages