java error while redirecting rule is written for using ssl in bigbluebutton 2.0 beta version

38 προβολές
Παράβλεψη και μετάβαση στο πρώτο μη αναγνωσμένο μήνυμα

KRISHNA MOHAN PRASAD

μη αναγνωσμένη,
23 Φεβ 2018, 2:52:57 μ.μ.23/2/18
ως BigBlueButton-dev
I am new to bigbluebutton when i write redirection rule for http to https it throws java null pointer error.
without redirection to https it stucks on connecting to server. but when i put https:// by myself then i am able to join the meeting. i want a solution for the redirection error. please anyone help me.

java.lang.NullPointerException
    at org.apache.jsp.demo1_jsp.getJoinURL(demo1_jsp.java:222)
    at org.apache.jsp.demo1_jsp._jspService(demo1_jsp.java:1278)
    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)

this happens only while joining the meeting not for creating or anything else


Chad Pilkey

μη αναγνωσμένη,
23 Φεβ 2018, 3:21:53 μ.μ.23/2/18
ως BigBlueButton-dev
What was the redirect rule that you wrote? If you're using the demos you should be able to set https in /var/lib/tomcat7/webapps/demo/bbb_api_conf.jsp.

Fred Dixon

μη αναγνωσμένη,
23 Φεβ 2018, 11:10:16 μ.μ.23/2/18
ως BigBlueButton-dev
Hi Krishna,

Are you setting up a new BigBlueButton server?  If so, can you try setting it up with the install script at


which can automate the configuration of your server for HTTPS.  Try the above and let us know if it gets you going.

Regards,... Fred


--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-dev+unsubscribe@googlegroups.com.
To post to this group, send email to bigbluebutton-dev@googlegroups.com.
Visit this group at https://groups.google.com/group/bigbluebutton-dev.
For more options, visit https://groups.google.com/d/optout.



--
BigBlueButton Developer
@bigbluebutton

KRISHNA MOHAN PRASAD

μη αναγνωσμένη,
24 Φεβ 2018, 2:46:57 π.μ.24/2/18
ως bigblueb...@googlegroups.com
sir can you please tell which configuration file should be changed for proper redirection while using demo or any meeting which is not using demos.
I will wait for your reply

thank you 

--
You received this message because you are subscribed to a topic in the Google Groups "BigBlueButton-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/bigbluebutton-dev/lk2_I_oPNuA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to bigbluebutton-dev+unsubscribe@googlegroups.com.

Fred Dixon

μη αναγνωσμένη,
24 Φεβ 2018, 5:54:13 π.μ.24/2/18
ως BigBlueButton-dev
Hi 

> I am new to bigbluebutton when i write redirection rule for http to https it throws java null pointer error.

If you are setting up a BigBlueButton server to use HTTPS, see


It sounds like you are trying to write a redirection rule in nginx.  To support both HTTP and HTTPS, you need only have the following

  listen 80;
  listen [::]:80;
  listen 443 ssl;
  listen [::]:443 ssl;

We did some googling for forcing a redirect in nginx from HTTPS to HTTPS and found this article



Regards,... Fred


--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-dev+unsubscribe@googlegroups.com.

To post to this group, send email to bigbluebutton-dev@googlegroups.com.
Visit this group at https://groups.google.com/group/bigbluebutton-dev.
For more options, visit https://groups.google.com/d/optout.

KRISHNA MOHAN PRASAD

μη αναγνωσμένη,
24 Φεβ 2018, 8:22:44 π.μ.24/2/18
ως bigblueb...@googlegroups.com
root@Smith-Medical-Server:~# bbb-conf --check

BigBlueButton Server 2.0.0-beta (769)
                    Kernel version: 4.4.0-116-generic
                      Distribution: Ubuntu 16.04.3 LTS (64-bit)
                            Memory: 8174 MB

/var/www/bigbluebutton/client/conf/config.xml (bbb-client)
                Port test (tunnel): rtmp://anhance.org
                              red5: anhance.org
              useWebrtcIfAvailable: true

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

/etc/nginx/sites-available/bigbluebutton (nginx)
                       server name: anhance.org
                              port: 80, [::]:80
                              port: 443 ssl
                    bbb-client dir: /var/www/bigbluebutton

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

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

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

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

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


** Potential problems described below **
# Warning: API URL IPs do not match host:
#
#                                IP from ifconfig: 139.59.45.136
#  /var/lib/tomcat7/webapps/demo/bbb_api_conf.jsp: anhance.org

....................
# Error: Could not connect to the configured hostname/IP address
#
#
# If your BigBlueButton server is behind a firewall, see FAQ.

# 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:
#


it is giving me could not connect ip address to configured hostname

KRISHNA MOHAN PRASAD

μη αναγνωσμένη,
24 Φεβ 2018, 8:25:54 π.μ.24/2/18
ως bigblueb...@googlegroups.com



server {
     listen   80;
     listen [::]:80;
listen 443 ssl;
     server_name  anhance.org;
 
     ssl_certificate /etc/nginx/ssl/anhance.org.crt;
     ssl_certificate_key /etc/nginx/ssl/anhance.org.key;
 
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
     ssl_prefer_server_ciphers on;
     ssl_ciphers 'EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH';
     access_log  /var/log/nginx/bigbluebutton.access.log;

# Handle RTMPT (RTMP Tunneling).  Forwards requests
# to Red5 on port 5080
      location ~ (/open/|/close/|/idle/|/send/|/fcs/) {
          proxy_pass         http://127.0.0.1:5080;
          proxy_redirect     off;
          proxy_set_header   X-Forwarded-For   $proxy_add_x_forwarded_for;

          client_max_body_size       10m;
          client_body_buffer_size    128k;

          proxy_connect_timeout      90;
          proxy_send_timeout         90;
          proxy_read_timeout         90;

          proxy_buffering            off;
          keepalive_requests         1000000000;
      }

# Handle desktop sharing tunneling.  Forwards
# requests to Red5 on port 5080.
       location /deskshare {
           proxy_pass         http://127.0.0.1:5080;
           proxy_redirect     default;
           proxy_set_header   X-Forwarded-For   $proxy_add_x_forwarded_for;
           client_max_body_size       10m;
           client_body_buffer_size    128k;
           proxy_connect_timeout      90;
           proxy_send_timeout         90;
           proxy_read_timeout         90;
           proxy_buffer_size          4k;
           proxy_buffers              4 32k;
           proxy_busy_buffers_size    64k;
           proxy_temp_file_write_size 64k;
           include    fastcgi_params;
       }

# BigBlueButton landing page.
        location / {
          root   /var/www/bigbluebutton-default/;
          index index.php index.html index.htm index.nginx-debian.html;
  expires 1m;
  location / {
        try_files $uri $uri/ =404;
    }

    location ~ \.php$ {
        include snippets/fastcgi-php.conf;
        fastcgi_pass unix:/run/php/php5.6-fpm.sock;
    }

    location ~ /\.ht {
        deny all;
    }
        }

# Include specific rules for record and playback
        include /etc/bigbluebutton/nginx/*.nginx;

        #error_page  404  /404.html;

        # Redirect server error pages to the static page /50x.html
        #
        error_page   500 502 503 504  /50x.html;
        location = /50x.html {
                root   /var/www/nginx-default;
        }
location ~ \.php$ {
        include snippets/fastcgi-php.conf;
        fastcgi_pass unix:/run/php/php5.6-fpm.sock;
    }

    location ~ /\.ht {
        deny all;
    }
}

 this is the configuration of nginx


 thanks

HostBBB.com

μη αναγνωσμένη,
24 Φεβ 2018, 9:11:43 π.μ.24/2/18
ως BigBlueButton-dev
Krishna, 

you have incomplete chain in certs, causing this issue.


need to append the intermediate bundle to crt and restart nginx.

tomcat doesn't like that.

regards.
Stephen
To unsubscribe from this group and all its topics, send an email to bigbluebutton-...@googlegroups.com.
To post to this group, send email to bigblueb...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-...@googlegroups.com.
To post to this group, send email to bigblueb...@googlegroups.com.



--
BigBlueButton Developer
@bigbluebutton

--
You received this message because you are subscribed to a topic in the Google Groups "BigBlueButton-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/bigbluebutton-dev/lk2_I_oPNuA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to bigbluebutton-...@googlegroups.com.
To post to this group, send email to bigblueb...@googlegroups.com.

Fred Dixon

μη αναγνωσμένη,
24 Φεβ 2018, 9:14:05 π.μ.24/2/18
ως BigBlueButton-dev
You can also try setting up the server with the bbb-install.sh script, see


which will setup a certificate for you using Let's Encrypt.  See



Regards,... Fred

To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-dev+unsubscribe@googlegroups.com.
To post to this group, send email to bigbluebutton-dev@googlegroups.com.

KRISHNA MOHAN PRASAD

μη αναγνωσμένη,
26 Φεβ 2018, 4:27:43 π.μ.26/2/18
ως BigBlueButton-dev
hi fred sir. The fresh installation of bbb works like a charm but after installing greenlight i am unable to use html5 client. how to solve this problem

thanks and regards 
krishna mohan prasad
Απάντηση σε όλους
Απάντηση στον συντάκτη
Προώθηση
0 νέα μηνύματα