Webrtc Check 'hangs' , and 1007 with SSL installation.

253 views
Skip to first unread message

Gary Seymour

unread,
Jan 2, 2016, 10:20:21 AM1/2/16
to BigBlueButton-Setup
Hi, 

Ive had a successful BBB session working using 0.91 / ubuntu 14.04 etc wtith bbb-demo and the standard instructions.

Ive been trying to implement SSL, with some success, again following the standard instructions...

My problem seems to be webrtc.

i) https://<hostname>/check give all okay except Webrtc Echo Test amd Webrtc Socket Test both 'hang' with a 'Loading...' message.

- The /usr/share/red5/log/0.0.0.0_access.2016-01-02.log file seems to be successful..

127.0.0.1 - - [02/Jan/2016:15:09:20 +0000] "POST /idle/ZTWCWO0INLFVC/125 HTTP/1.0" 200 1
127.0.0.1 - - [02/Jan/2016:15:09:20 +0000] "POST /idle/OEBAP8BHU932E/125 HTTP/1.0" 200 1
127.0.0.1 - - [02/Jan/2016:15:09:20 +0000] "POST /idle/ERDNB0KEKBTMH/125 HTTP/1.0" 200 1
127.0.0.1 - - [02/Jan/2016:15:09:20 +0000] "POST /idle/R4D9Z0KTEAQQE/126 HTTP/1.0" 200 1

- the red5 error.log file gives a few warnings, and indications, but no clear issues...

<extract>
2016-01-02 12:04:23,979Z [0.0.0.0-startStop-1] WARN  o.s.w.s.h.SimpleUrlHandlerMapping - Neither 'urlMap' nor 'mappings' set on SimpleUrlHandlerMapping
2016-01-02 12:04:32,232Z [Launcher:/] WARN  org.red5.server.scope.Scope - Invalid scope rejected: Scope [name=null, path=/default, type=APPLICATION, autoStart=true, creationTime=1451736272192, depth=1, enabled=true, running=false]
2016-01-02 12:04:32,232Z [Launcher:/] WARN  org.red5.server.scope.Scope - Scope not added to parent
2016-01-02 12:04:32,338Z [Launcher:/video] WARN  o.r.s.persistence.FilePersistence - Persistence directory creation failed
2016-01-02 12:04:32,951Z [Launcher:/sip] WARN  o.r.s.persistence.FilePersistence - Persistence directory creation failed
2016-01-02 12:04:34,085Z [Launcher:/deskshare] WARN  o.r.s.persistence.FilePersistence - Persistence directory creation failed
2016-01-02 12:04:34,327Z [Launcher:/bigbluebutton] WARN  o.r.s.persistence.FilePersistence - Persistence directory creation failed
2016-01-02 12:05:30,974Z [0.0.0.0-startStop-1] WARN  o.s.w.s.h.SimpleUrlHandlerMapping - Neither 'urlMap' nor 'mappings' set on SimpleUrlHandlerMapping
2016-01-02 12:05:40,965Z [Launcher:/] WARN  org.red5.server.scope.Scope - Invalid scope rejected: Scope [name=null, path=/default, type=APPLICATION, autoStart=true, creationTime=1451736340911, depth=1, enabled=true, running=false]

 timeout: session=[OG9CWWVOUHYVJ}, lastPongReceived=[65000 ms ago], lastPingSent=[5000 ms ago], lastDataRx=[75000 ms ago]
2016-01-02 14:56:30,090Z [RTMPConnectionExecutor#14517448994842] WARN  o.r.server.net.rtmp.RTMPConnection - Client on session=[OG9CWWVOUHYVJ] has not responded to our ping for [65000 ms] and we haven't received data for [75000 ms]
2016-01-02 14:56:30,101Z [ConnectionChecker-1] WARN  o.r.server.net.rtmp.RTMPConnManager - Connection BO7KHAVYFZNYN has exceeded the max inactivity threshold
2016-01-02 14:56:30,147Z [RTMPConnectionExecutor#14517448995012] WARN  o.r.server.net.rtmp.RTMPConnection - Closing connection - inactivity timeout: session=[8CPVBDZNQPAEO}, lastPongReceived=[65001 ms ago], lastPingSent=[4999 ms ago], lastDataRx=[75000 ms ago]
2016-01-02 14:56:30,148Z [RTMPConnectionExecutor#14517448995012] WARN  o.r.server.net.rtmp.RTMPConnection - Client on session=[8CPVBDZNQPAEO] has not responded to our ping for [65001 ms] and we haven't received data for [75000 ms]
2016-01-02 14:56:30,347Z [RTMPConnectionExecutor#14517448994102] WARN  o.r.server.net.rtmp.RTMPConnection - Closing connection - inactivity timeout: session=[RQJDQXRYTQGVE}, lastPongReceived=[65000 ms ago], lastPingSent=[5000 ms ago], lastDataRx=[75000 ms ago]
2016-01-02 14:56:30,347Z [RTMPConnectionExecutor#14517448994102] WARN  o.r.server.net.rtmp.RTMPConnection - Client on session=[RQJDQXRYTQGVE] has not responded to our ping for [65000 ms] and we haven't received data for [75000 ms]
2016-01-02 14:56:30,358Z [ConnectionChecker-1] WARN  o.r.server.net.rtmp.RTMPConnManager - Connection 8CPVBDZNQPAEO has exceeded the max inactivity threshold
2016-01-02 14:56:30,614Z [ConnectionChecker-1] WARN  o.r.server.net.rtmp.RTMPConnManager - Connection OG9CWWVOUHYVJ has exceeded the max inactivity threshold
2016-01-02 14:56:30,614Z [ConnectionChecker-1] WARN  o.r.server.net.rtmp.RTMPConnManager - Connection RQJDQXRYTQGVE has exceeded the max inactivity threshold


The nginx bigbluebutton log file shows a couple of errors..

192.168.1.85 - - [02/Jan/2016:14:28:18 +0000] "GET /check/conf/config.xml?t=712 HTTP/1.1" 200 1246 "https://collaboration-01.viewdeck.com/check/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.80 Safari/537.36"
192.168.1.85 - - [02/Jan/2016:14:28:19 +0000] "POST /fcs/ident2 HTTP/1.1" 404 5 "-" "Shockwave Flash"
192.168.1.85 - - [02/Jan/2016:14:28:19 +0000] "POST /fcs/ident2 HTTP/1.1" 404 5 "-" "Shockwave Flash"
192.168.1.85 - - [02/Jan/2016:14:28:19 +0000] "POST /fcs/ident2 HTTP/1.1" 404 5 "-" "Shockwave Flash"
192.168.1.85 - - [02/Jan/2016:14:28:19 +0000] "POST /fcs/ident2 HTTP/1.1" 404 5 "-" "Shockwave Flash"
192.168.1.85 - - [02/Jan/2016:14:28:19 +0000] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.80 Safari/537.36"
192.168.1.85 - - [02/Jan/2016:14:28:19 +0000] "POST /open/1 HTTP/1.1" 200 14 "-" "Shockwave Flash"
192.168.1.85 - - [02/Jan/2016:14:28:19 +0000] "POST /open/1 HTTP/1.1" 200 14 "-" "Shockwave Flash"
192.168.1.85 - - [02/Jan/2016:14:28:19 +0000] "POST /open/1 HTTP/1.1" 200 14 "-" "Shockwave Flash"
192.168.1.85 - - [02/Jan/2016:14:28:19 +0000] "POST /open/1 HTTP/1.1" 200 14 "-" "Shockwave Flash"
192.168.1.85 - - [02/Jan/2016:14:28:19 +0000] "POST /idle/RQJDQXRYTQGVE/0 HTTP/1.1" 200 1 "-" "Shockwave Flash"
192.168.1.85 - - [02/Jan/2016:14:28:19 +0000] "POST /idle/BO7KHAVYFZNYN/0 HTTP/1.1" 200 1 "-" "Shockwave Flash"
192.168.1.85 - - [02/Jan/2016:14:28:19 +0000] "POST /send/RQJDQXRYTQGVE/1 HTTP/1.1" 200 3074 "-" "Shockwave Flash"
192.168.1.85 - - [02/Jan/2016:14:28:19 +0000] "POST /idle/OG9CWWVOUHYVJ/0 HTTP/1.1" 200 1 "-" "Shockwave Flash"
192.168.1.85 - - [02/Jan/2016:14:28:19 +0000] "POST /idle/8CPVBDZNQPAEO/0 HTTP/1.1" 200 1 "-" "Shockwave Flash"
192.168.1.85 - - [02/Jan/2016:14:28:19 +0000] "POST /send/BO7KHAVYFZNYN/1 HTTP/1.1" 200 3074 "-" "Shockwave Flash"
192.168.1.85 - - [02/Jan/2016:14:28:19 +0000] "POST /send/OG9CWWVOUHYVJ/1 HTTP/1.1" 200 3074 "-" "Shockwave Flash"
192.168.1.85 - - [02/Jan/2016:14:28:19 +0000] "POST /send/8CPVBDZNQPAEO/1 HTTP/1.1" 200 3074 "-" "Shockwave Flash"
192.168.1.85 - - [02/Jan/2016:14:28:20 +0000] "POST /send/BO7KHAVYFZNYN/2 HTTP/1.1" 200 1 "-" "Shockwave Flash"
192.168.1.85 - - [02/Jan/2016:14:28:20 +0000] "POST /send/OG9CWWVOUHYVJ/2 HTTP/1.1" 200 1 "-" "Shockwave Flash"
192.168.1.85 - - [02/Jan/2016:14:28:20 +0000] "POST /send/8CPVBDZNQPAEO/2 HTTP/1.1" 200 1 "-" "Shockwave Flash"
192.168.1.85 - - [02/Jan/2016:14:28:20 +0000] "POST /idle/BO7KHAVYFZNYN/3 HTTP/1.1" 200 190 "-" "Shockwave Flash"

ii) When I start the demo's I get the following message 
Detected the following WebRTC issue: Error 1007: ICE negotiation failed. Do you want to try Flash instead?

Netstat shows lots of 'hung' sockets on port 5080..

Would appreciate any pointers or shared expereince of where I should look next... My hunch in somewhere in the https->Wss->red5 chain, but Im I cant see much/anything to point to the next.


Many Thanks,

G

Fred Dixon

unread,
Jan 2, 2016, 11:34:20 AM1/2/16
to bigbluebu...@googlegroups.com
Hi Gary,

> 192.168.1.85 - - [02/Jan/2016:14:28:20 +0000] "POST /send/8CPVBDZNQPAEO/2 HTTP/1.1" 200 1 "-" "Shockwave Flash"

The POST command triggers when the BigBlueButton client can not talk directly with port 1935.  

Do you have a firewall on your server?  The ports listed at


should be available.  If there is a firewall in play, try (temporarily) disabling it and see if you get a connection via WebRTC.

> Webrtc Check 'hangs' , and 1007 with SSL installation.

For WebRTC error codes in BigBlueButton, see


(The 1007 suggests a firewall is blocking access to UDP connections).


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
Reply all
Reply to author
Forward
0 new messages