RTMP sip app: NetConnection.Connect.Rejected

419 views
Skip to first unread message

vn...@yandex.com

unread,
Feb 10, 2018, 7:51:22 PM2/10/18
to BigBlueButton-Setup
I did an app-get dist-upgrade, and pulled the last version of BBB.  After this I am getting errors in BBB-conf --check.

RTMP sip app:  NetConnection.Connect.Rejected

and the same for RTMPT.

SystemD reports freeswitch is active, UFW firewall says the ports are open.

bbb-conf --watch gives this:
Every 2.0s: top -n 1 -b | head -n 5; echo; bbb-conf --network; bbb-conf --debug                                                           Sun Feb 11 07:49:54 2018

top - 07:49:54 up 29 min,  1 user,  load average: 0.19, 0.48, 0.64
Tasks: 157 total,   1 running, 151 sleeping,   0 stopped,   5 zombie
%Cpu(s): 18.8 us,  2.8 sy,  0.4 ni, 76.6 id,  0.1 wa,  0.0 hi,  0.1 si,  1.3 st
KiB Mem :  4046348 total,   658564 free,  2209456 used,  1178328 buff/cache
KiB Swap:        0 total,        0 free,        0 used.  1557488 avail Mem

netstat                 80      1935
113.167.43.75           6       4
172.254.254.1           1       0
   -- ERRORS found in /usr/share/red5/log/* --
/usr/share/red5/log/sip.log:2018-02-11 07:45:03,254+07:00 [RTMPConnectionExecutor-2] ERROR o.b.voiceconf.red5.Application - Invalid number of parameters. param le
ngth=3
/usr/share/red5/log/sip.log:2018-02-11 07:45:04,073+07:00 [RTMPConnectionExecutor-2] ERROR o.b.voiceconf.red5.Application - Invalid number of parameters. param le
ngth=3
/usr/share/red5/log/sip.log:2018-02-11 07:49:10,353+07:00 [RTMPConnectionExecutor-1] ERROR o.b.voiceconf.red5.Application - Invalid number of parameters. param le
ngth=3
/usr/share/red5/log/sip.log:2018-02-11 07:49:10,982+07:00 [RTMPConnectionExecutor-3] ERROR o.b.voiceconf.red5.Application - Invalid number of parameters. param le
ngth=3

   -- Errors found in /var/log/syslog --
Jan 27 11:03:29 mbaenglish red5-shutdown.sh[3319]: Exception connecting to 127.0.0.1
Jan 27 11:03:29 mbaenglish red5-shutdown.sh[3319]: java.lang.ArrayIndexOutOfBoundsException: 0
Jan 28 12:02:03 mbaenglish red5-shutdown.sh[6776]: Exception connecting to 127.0.0.1
Jan 28 12:02:03 mbaenglish red5-shutdown.sh[6776]: java.lang.ArrayIndexOutOfBoundsException: 0
Feb  9 16:28:44 mbaenglish red5-shutdown.sh[2269]: Exception connecting to 127.0.0.1
Feb  9 16:28:44 mbaenglish red5-shutdown.sh[2269]: java.lang.ArrayIndexOutOfBoundsException: 0
Feb  9 16:28:55 mbaenglish bbb-fsesl-akka[6957]: WARNING: EXCEPTION, please implement org.freeswitch.esl.client.inbound.InboundClientHandler.exceptionCaught() for
 proper handling.
Feb  9 16:28:55 mbaenglish bbb-fsesl-akka[6957]: java.net.ConnectException: Connection refused
Feb  9 16:28:55 mbaenglish bbb-fsesl-akka[6957]: java.net.ConnectException: Connection refused
Feb  9 16:29:00 mbaenglish bbb-fsesl-akka[6957]: java.net.ConnectException: Connection refused
Feb  9 16:29:00 mbaenglish bbb-fsesl-akka[6957]: WARNING: EXCEPTION, please implement org.freeswitch.esl.client.inbound.InboundClientHandler.exceptionCaught() for
 proper handling.
Feb  9 16:29:00 mbaenglish bbb-fsesl-akka[6957]: java.net.ConnectException: Connection refused
Feb  9 16:29:05 mbaenglish bbb-fsesl-akka[6957]: java.net.ConnectException: Connection refused
Feb  9 16:29:05 mbaenglish bbb-fsesl-akka[6957]: WARNING: EXCEPTION, please implement org.freeswitch.esl.client.inbound.InboundClientHandler.exceptionCaught() for
 proper handling.
Feb  9 16:29:05 mbaenglish bbb-fsesl-akka[6957]: java.net.ConnectException: Connection refused
Feb  9 16:29:10 mbaenglish bbb-fsesl-akka[6957]: java.net.ConnectException: Connection refused
Feb  9 16:29:10 mbaenglish bbb-fsesl-akka[6957]: WARNING: EXCEPTION, please implement org.freeswitch.esl.client.inbound.InboundClientHandler.exceptionCaught() for
 proper handling.
Feb  9 16:29:10 mbaenglish bbb-fsesl-akka[6957]: java.net.ConnectException: Connection refused


Not sure what changed after the upgrade, as all was working before.

Thanks in advance.

Fred Dixon

unread,
Feb 11, 2018, 12:56:58 PM2/11/18
to bigbluebu...@googlegroups.com
Hmm ... can you post the output of

  dpkg -l | grep bbb


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

vn...@yandex.com

unread,
Feb 11, 2018, 10:39:25 PM2/11/18
to BigBlueButton-Setup
OOPS.  The error mentioned in the title was generated by the /check page, NOT bbb-conf..  Sorry if that caused any confusion!

Results for your request for additional info:
dpkg -l | grep bbb
ii  bbb-apps                              1:2.0.0-42                                 amd64        BigBlueButton applications for Red5
ii  bbb-apps-akka                         2.0.0-128                                  all          BigBlueButton Apps (Akka)
ii  bbb-apps-screenshare                  1:2.0.0-25                                 amd64        BigBlueButton screenshare module for Red5
ii  bbb-apps-sip                          1:2.0.0-6                                  amd64        BigBlueButton SIP module for Red5
ii  bbb-apps-video                        1:2.0.0-15                                 amd64        BigBlueButton video module for Red5
ii  bbb-apps-video-broadcast              1:2.0.0-4                                  amd64        BigBlueButton video broadcast module for Red5
ii  bbb-check                             1:2.0.0-10                                 amd64        Client check package for BigBlueButton
ii  bbb-client                            1:2.0.0-276                                amd64        BigBlueButton Flash client
ii  bbb-config                            1:2.0.0-38                                 amd64        BigBlueButton configuration utilities
ii  bbb-demo                              1:2.0.0-12                                 amd64        BigBlueButton API demos
ii  bbb-freeswitch-core                   2:1.6-44                                   amd64        BigBlueButton build of FreeSWITCH
ii  bbb-freeswitch-sounds                 1:1.6.7-9                                  amd64        FreeSWITCH Sounds
ii  bbb-fsesl-akka                        2.0.0-19                                   all          BigBlueButton FS-ESL (Akka)
ii  bbb-html5                             1:2.0.0-199                                amd64        The HTML5 components for BigBlueButton
ii  bbb-mkclean                           1:0.8.7-3                                  amd64        Clean and optimize Matroska and WebM files
ii  bbb-playback-presentation             1:2.0.0-20                                 amd64        BigBluebutton playback of presentation
ii  bbb-record-core                       1:2.0.0-17                                 amd64        BigBlueButton record and playback
ii  bbb-red5                              1:1.0.8-33                                 amd64        The Red5 server for BigBlueButton
ii  bbb-swftools                          1:0.9.2-2                                  amd64        The swftools files for BigBlueButton
ii  bbb-transcode-akka                    2.0.0-4                                    all          BigBlueButton Transcoder
ii  bbb-web                               1:2.0.0-68                                 amd64        BigBlueButton API
rc  bbb-webhooks                          1:1.1.0-5                                  amd64        BigBlueButton Webhooks
ii  bbb-webrtc-sfu                        1:2.0.0-15                                 amd64        BigBlueButton WebRTC SFU
ii  bigbluebutton                         1:2.0.0-6                                  amd64        Open source web conferencing platform (bbb)


Hope that helps.

vn...@yandex.com

unread,
Feb 11, 2018, 10:45:31 PM2/11/18
to BigBlueButton-Setup
And the entire output of bbb-conf, in case it helps.  I see external 

 bbb-conf --check

BigBlueButton Server 2.0.0-beta (988)
                    Kernel version: 4.4.0-112-generic
                      Distribution: Ubuntu 16.04.3 LTS (64-bit)
                            Memory: 4046 MB

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

/opt/freeswitch/etc/freeswitch/sip_profiles/external.xml (FreeSWITCH)
                    websocket port:     <param name=
                    WebRTC enabled: true

/etc/nginx/sites-available/bigbluebutton (nginx)
                       server name: bbb.example.com
                              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: bbb.example.com

/var/lib/tomcat7/webapps/demo/bbb_api_conf.jsp (API demos)
                               url: bbb.example.com

/var/www/bigbluebutton/check/conf/config.xml (client check)
                      client check: bbb.example.com

/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: bbb.example.com


** Potential problems described below **
# Warning: API URL IPs do not match host:
#
#                                IP from ifconfig: 45.76.146.248
#  /var/lib/tomcat7/webapps/demo/bbb_api_conf.jsp: bbb.example.com


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

Chad Pilkey

unread,
Feb 12, 2018, 4:48:13 PM2/12/18
to BigBlueButton-Setup
Extra parameters were added to the RTMP connections for added security. It looks like the sip check wasn't updated to match the new format.

vn...@yandex.com

unread,
Feb 12, 2018, 7:03:44 PM2/12/18
to BigBlueButton-Setup
OK. does this mean all is well with my install, barring an out of synch bbb/check applet?

ie. Leave It Alone?

Chad Pilkey

unread,
Feb 12, 2018, 7:26:31 PM2/12/18
to BigBlueButton-Setup
I would test it in the actual client. If you can connect to listen only audio then you're all good.
Reply all
Reply to author
Forward
0 new messages