IP does not match: IP from ifconfig: Error

9,285 views
Skip to first unread message

Rustam Borisov

unread,
Jun 26, 2016, 1:31:42 PM6/26/16
to BigBlueButton-Setup
Hello, dear webdevelopers!
I have a question.
I performed a clean install BigBlueButton 1.0 on Ubuntu 14.04 64-bit server.
This is what shows the command in the terminal:
$ Sudo bbb-conf --clean
$ Sudo bbb-conf --check
BigBlueButton Server 1.0.0 (1012)
                   
Kernel version: 4.2.0-27-generic
                     
Distribution: Ubuntu 14.04.4 LTS (64-bit)
                           
Memory: 7983 MB


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


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


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


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


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




** Potential problems described below **

After that, I needed to change the exact IP address to the host. I did
bbb-conf --setip my-site.com
and then I made
$ Sudo bbb-conf --clean
$ Sudo bbb-conf --check
but the error comes out at this point:
BigBlueButton Server 1.0.0 (1012)
                   
Kernel version: 4.2.0-27-generic
                     
Distribution: Ubuntu 14.04.4 LTS (64-bit)
                           
Memory: 7983 MB


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


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


/etc/nginx/sites-available/bigbluebutton (nginx)
                       server name
: my-site.com
                              port
: 62.76.45.174:80
                    bbb
-client dir: /var/www/bigbluebutton


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


/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
: my-site.com




** Potential problems described below **
# IP does not match:
#                           IP from ifconfig: 62.76.45.174
#   /etc/nginx/sites-available/bigbluebutton: my-site.com

That is, if I change the IP address on the host, an error occurs

I will thank you for the help!

Fred Dixon

unread,
Jun 26, 2016, 6:21:38 PM6/26/16
to bigbluebu...@googlegroups.com
Hi Rustam,

Note the warning says "Potential problems"

> ** Potential problems described below **
> # IP does not match:
> #                           IP from ifconfig: 62.76.45.174
> #   /etc/nginx/sites-available/bigbluebutton: my-site.com

It's OK if the IP does not match -- bbb-conf is doing a simple check against the IP address and the value defined in bigbluebutton (in nginx).  If you set it to a hostname, the match will fail, but BigBlueButton should still work correctly (assuming the hostname resolves to the IP address).

Hence, you can ignore this warning.


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-s...@googlegroups.com.
To post to this group, send email to bigbluebu...@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

German Acevedo

unread,
Jun 28, 2016, 5:06:24 PM6/28/16
to BigBlueButton-Setup
Hi Fred,
I'm having the same problem of Rustam.
I have followed the steps to change my bbb server to be used with a domain instead of the IP looking to follow the steps to enable https protocol and get rid of all the anoying messages of Chrome.


This is the result of bbb-conf --check:

root@server1:~# sudo bbb-conf --check

BigBlueButton Server 1.0.0 (1176)
                    Kernel version: 2.6.32-042stab112.15

                      Distribution: Ubuntu 14.04.4 LTS (64-bit)
                            Memory: 8192 MB

/var/www/bigbluebutton/client/conf/config.xml (bbb-client)
          Port test (tunnel): conferencias.falcorp.net
                              Red5: conferencias.falcorp.net

              useWebrtcIfAvailable: true

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

/etc/nginx/sites-available/bigbluebutton (nginx)
                       server name: conferencias.falcorp.net
                              port: 80

                    bbb-client dir: /var/www/bigbluebutton

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

/var/lib/tomcat7/webapps/demo/bbb_api_conf.jsp (API demos)
                               url: conferencias.falcorp.net

/var/www/bigbluebutton/check/conf/config.xml (client check)
                      client check: conferencias.falcorp.net


/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: conferencias.falcorp.net



** Potential problems described below **
# IP does not match:
#                           IP from ifconfig: 192.3.107.105
#   /etc/nginx/sites-available/bigbluebutton: conferencias.falcorp.net
# Warning: API URL IPs do not match host:
#
#                                IP from ifconfig: 192.3.107.105
#  /var/lib/tomcat7/webapps/demo/bbb_api_conf.jsp: conferencias.falcorp.net

# Error: Unable to connect to port 1935 (RTMP) on conferencias.falcorp.net

# Error: Unable to connect to port 9123 (desktop sharing) on conferencias.falcorp.net

# Warning: The API demos are installed and accessible from:
#
#    http://conferencias.falcorp.net/demo/demo1.jsp
#
# 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://conferencias.falcorp.net/check
#


When I try to join the demo meeting, I get the following error:

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: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:1041)
	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)
Root Cause

Header List
Name Value
x-forwarded-for 190.106.223.21, 108.162.212.26
host 127.0.0.1:8080
connection close
accept-encoding gzip
cf-ipcountry GT
cf-ray 2ba41201e3cb2ec3-MIA
x-forwarded-proto http
cf-visitor {"scheme":"http"}
user-agent Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:47.0) Gecko/20100101 Firefox/47.0
accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
accept-language en-US,en;q=0.5
referer http://conferencias.falcorp.net/
cookie JSESSIONID=A929972E6BFB73AECA90813F4B65ED00; __cfduid=df4b15be2bd813c8205d8f6ef34b2c4791467084707
cf-connecting-ip 190.106.223.21
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=german&action=create
javax.servlet.jsp.jspException java.lang.NullPointerException
javax.servlet.error.status_code 500
javax.servlet.error.servlet_name jsp
javax.servlet.error.exception java.lang.NullPointerException
javax.servlet.error.request_uri /demo/demo1.jsp


What else do I need to change to have my bbb loading form domain name instead of the IP?

Thanks for your help!

German

German Acevedo

unread,
Jun 28, 2016, 5:40:45 PM6/28/16
to BigBlueButton-Setup
It's solved now.
It was a lack of defining the domain in the server, once added it started to work as expected.

Fred Dixon

unread,
Jun 28, 2016, 5:59:13 PM6/28/16
to bigbluebu...@googlegroups.com
:-)

--
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 https://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.

Rakesh

unread,
Apr 9, 2018, 11:44:37 AM4/9/18
to BigBlueButton-Setup
I am also facing the same problem. It would be very great of you if you could guide me to resolve the problem and please let me know
how to define domain in the server.

Fred Dixon

unread,
Apr 9, 2018, 12:00:06 PM4/9/18
to BigBlueButton-.
Hi Rakesh,

> I am also facing the same problem.

Are you getting a 500 error when you try to access the API demos on your BigBlueButton server?

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.

Rakesh

unread,
Apr 10, 2018, 2:54:03 AM4/10/18
to BigBlueButton-Setup
No Sir,
I am getting "Unable to connect" Error
To post to this group, send email to bigbluebu...@googlegroups.com.

Fred Dixon

unread,
Apr 10, 2018, 5:33:52 AM4/10/18
to BigBlueButton-.
Hi Rakesh,

Can you post the output of 

  sudo bbb-conf --check

Regards,... Fred


To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-setup+unsubscribe...@googlegroups.com.
To post to this group, send email to bigbluebu...@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

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

Rakesh Raushan

unread,
Apr 10, 2018, 5:47:19 AM4/10/18
to bigbluebu...@googlegroups.com
Yes Of course

root@online:/home/learnindiaorg# sudo bbb-conf --checkBigBlueButton Server 1.1.0 (575) Kernel version: 4.13.0-1012-gcp Distribution: Ubuntu 16.04.4 LTS (64-bit) Memory: 15393 MB/var/www/bigbluebutton/client/conf/config.xml (bbb-client) Port test (tunnel): online.learnindia.org red5: online.learnindia.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: online.learnindia.org port: 80, [::]:80 bbb-client dir: /var/www/bigbluebutton/var/lib/tomcat7/webapps/bigbluebutton/WEB-INF/classes/bigbluebutton.properties (bbb-web) bbb-web host: online.learnindia.org/var/lib/tomcat7/webapps/demo/bbb_api_conf.jsp (API demos) url: online.learnindia.org /var/www/bigbluebutton/check/conf/config.xml (client check) client check: online.learnindia.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: online.learnindia.org ** Potential problems described below ** # IP does not match: # IP from ifconfig: 10.160.0.2 # /etc/nginx/sites-available/bigbluebutton: online.learnindia.org # Warning: API URL IPs do not match host: # # IP from ifconfig: 10.160.0.2 # /var/lib/tomcat7/webapps/demo/bbb_api_conf.jsp: online.learnindia.org # Not running: red5 Nginx tomcat7 or grails redis-server # # Error: Unable to connect to the FreeSWITCH Event Socket Layer on port 8021 # .................... # Error: Could not connect to the configured hostname/IP address # # http://online.learnindia.org/ # # If your BigBlueButton server is behind a firewall, see FAQ. # Error: Unable to connect to port 1935 (RTMP) on online.learnindia.org # Error: Could not detect FreeSWITCH listening on port 5060 # Warning: The API demos are installed and accessible from: # # http://online.learnindia.org/demo/demo1.jsp # # 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://online.learnindia.org/check # # Error: Unable to reach default URL for presentation: # # http://online.learnindia.org/default.pdf # # Check value for beans.presentationService.defaultUploadedPresentation in# /var/lib/tomcat7/webapps/bigbluebutton/WEB-INF/classes/bigbluebutton.properties

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

Fred Dixon

unread,
Apr 10, 2018, 9:55:11 AM4/10/18
to BigBlueButton-.
Hi Rakesh,

It looks like you are behind a firewall, but none of the configurations for running BigBlueButton behind a firewall have been applied.

We would recommend installing the latest build of BigBlueButton 2.0-beta.  The following script will help you with the setup, install a SSL certificate (from the good folks at Let's Encrypt), and configure BigBlueButton to work behind a firewall.   See


You'll still need to open the necessary ports on your firewall (if there is one in effect).

Try the above and let us know if that gets you further along.

Regards,.. Fred


Chad Pilkey

unread,
Apr 10, 2018, 1:14:13 PM4/10/18
to BigBlueButton-Setup
It also looks like you've got a SSL certificate issue. When I go to your site my browser throws warnings because the certificate is for a different domain.
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 bigbluebu...@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

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

--
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 bigbluebu...@googlegroups.com.
Visit this group at https://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.

--
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 bigbluebu...@googlegroups.com.
Visit this group at https://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.

Carmiña Herrera

unread,
Jul 9, 2018, 12:03:24 PM7/9/18
to BigBlueButton-Setup
Hi, Help me please. 

I have a error i think is my configuration with ssl before its all ok after not 
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 bigbluebu...@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

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

--
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 bigbluebu...@googlegroups.com.
Visit this group at https://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.

--
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 bigbluebu...@googlegroups.com.
Visit this group at https://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.

Chad Pilkey

unread,
Jul 9, 2018, 2:10:42 PM7/9/18
to BigBlueButton-Setup
It looks like you've got a couple of audio configurations incorrect so I would expect audio to not work.

For the SSL problem it looks like your certificate chain is incomplete. This is a handy site that can analyze a server's SSL setup. https://www.ssllabs.com/ssltest/analyze.html?d=virtual.usfx.bo&hideResults=on
Reply all
Reply to author
Forward
0 new messages