doyke / telepresence

Automatically exported from code.google.com/p/telepresence
0 stars 0 forks source link

MSG: WS handshaking not done yet #53

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.When i go to web browser and configure WebRTC client (conf-call.org) using 
Firefox/google crome, it gives me Joining but i was never able to join to the 
session. Finally i got disconnected. Any clue?
2.
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

VERSION: 2.1.0 and CentOS 6.5 X64

Please provide any additional information below.

*******************************************************************
Copyright (C) 2013 Doubango Telecom <http://www.doubango.org>
PRODUCT: telepresence - the open source TelePresence System
HOME PAGE: http://conf-call.org
CODE SOURCE: https://code.google.com/p/telepresence/
LICENCE: GPLv3 or commercial(contact us)
VERSION: 2.1.0
'quit' to quit the application.
*******************************************************************

SSL is enabled :)
DTLS supported: yes
DTLS-SRTP supported: yes
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] debug-audio-loopback = yes
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] accept-sip-reg = yes
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] transport = 
udp;telepre.am.getdyl.com;20060;*
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] transport = 
udp://telepre.am.getdyl.com:20060@*
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] transport = 
ws;telepre.am.getdyl.com;20060;*
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] transport = 
ws://telepre.am.getdyl.com:20060@*
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] transport = 
tls;telepre.am.getdyl.com;20064;*
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] transport = 
tls://telepre.am.getdyl.com:20064@*
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] transport = 
http;telepre.am.getdyl.com;20065;
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] transport = 
https;telepre.am.getdyl.com;20066;
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] rtp-symmetric-enabled = yes
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] ice-enabled = yes
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] icestun-enabled = yes
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] stun-server = 
stun.l.google.com;19302;stun-user@doubango.org;stun-password
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] stun-server = stun.l.google.com;19302;-;-
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] rtcp-mux-enabled = yes
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] rtp-buffersize = 65535
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] avpf-tail-length = 200;500
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] codecs = 
pcma;pcmu;opus;vp8;h264-bp;h264-mp
*[DOUBANGO INFO]: UnRegister codec: PCMA, G.711a codec (native)
*[DOUBANGO INFO]: UnRegister codec: PCMU, G.711u codec (native)
*[DOUBANGO INFO]: UnRegister codec: opus, opus Codec
*[DOUBANGO INFO]: UnRegister codec: VP8, VP8 codec (libvpx)
*[DOUBANGO INFO]: UnRegister codec: H264, H264 Base Profile (FFmpeg, x264)
*[DOUBANGO INFO]: UnRegister codec: H264, H264 Main Profile (FFmpeg, x264)
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] codec-opus-maxrates = 48000;48000
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] congestion-ctrl-enabled = yes
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] video-max-upload-bandwidth = -1
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] video-max-download-bandwidth = -1
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] video-motion-rank = 2
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] video-fps = 15
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] video-jb-enabled = yes
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] video-zeroartifacts-enabled = yes
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] video-mixed-size = vga
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] video-speaker-par = 0:0
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] video-listener-par = 1:1
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] audio-channels = 1
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] audio-bits-per-sample = 16
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] audio-sample-rate = 8000
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] audio-ptime = 20
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] audio-volume = 1.0f
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] audio-dim = 2d
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] audio-max-latency = 200
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] record = no
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] record-file-ext = avi
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] overlay-fonts-folder-path = 
./fonts/truetype/freefont
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] overlay-copyright-text = Doubango Telecom
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] overlay-copyright-fontsize = 12
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] overlay-copyright-fontfile = 
FreeSerif.ttf
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] overlay-speaker-name-enabled = yes
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] overlay-speaker-name-fontsize = 16
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] overlay-speaker-name-fontfile = 
FreeMonoBold.ttf
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] overlay-speaker-jobtitle-enabled = yes
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] overlay-watermark-image-path = 
./images/logo35x34.jpg
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] srtp-mode = optional
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] srtp-type = sdes;dtls
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] presentation-sharing-enabled = yes
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] presentation-sharing-process-local-port 
= 2083
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] presentation-sharing-base-folder = 
./presentations
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] presentation-sharing-app = soffice
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] Bridge with id ='10060' added
*[DOUBANGO INFO]: [TELEPRESENCE] [CFG] Bridge with id ='10061' added
*[DOUBANGO INFO]: [TELEPRESENCE] No doc streamer implementation
*[DOUBANGO INFO]: Stack running in SERVER mode
*[DOUBANGO INFO]: tsk_timer_manager_start
*[DOUBANGO INFO]: SIP STACK::run -- START
*[DOUBANGO INFO]: Timer manager run()::enter
*[DOUBANGO INFO]: TIMER MANAGER -- START
*[DOUBANGO INFO]: tnet_transport_prepare()
*[DOUBANGO INFO]: pipeR fd=6, pipeW=7
*[DOUBANGO INFO]: Socket added[SIP transport]: fd=6, tail.count=1
*[DOUBANGO INFO]: master fd=3
*[DOUBANGO INFO]: Socket added[SIP transport]: fd=3, tail.count=2
*[DOUBANGO INFO]: tnet_transport_prepare()
*[DOUBANGO INFO]: pipeR fd=8, pipeW=9
*[DOUBANGO INFO]: Socket added[SIP transport]: fd=8, tail.count=1
*[DOUBANGO INFO]: master fd=4
*[DOUBANGO INFO]: Socket added[SIP transport]: fd=4, tail.count=2
*[DOUBANGO INFO]: tnet_transport_prepare()
*[DOUBANGO INFO]: pipeR fd=10, pipeW=11
*[DOUBANGO INFO]: Socket added[SIP transport]: fd=10, tail.count=1
*[DOUBANGO INFO]: master fd=5
*[DOUBANGO INFO]: Socket added[SIP transport]: fd=5, tail.count=2
*[DOUBANGO INFO]: SIP STACK -- START
*[DOUBANGO INFO]: Transport::run(SIP transport) - enter
*[DOUBANGO INFO]: Transport::run(SIP transport) - enter
*[DOUBANGO INFO]: Transport::run(SIP transport) - enter
*[DOUBANGO INFO]: Starting [SIP transport] server with IP {107.170.247.242} on 
port {20060} using fd {5} with type {64}...
*[DOUBANGO INFO]: Starting [SIP transport] server with IP {107.170.247.242} on 
port {20060} using fd {3} with type {2}...
*[DOUBANGO INFO]: Starting [SIP transport] server with IP {107.170.247.242} on 
port {20064} using fd {4} with type {16}...
*[DOUBANGO INFO]: ioctlt(5), len=0 returned zero or failed
*[DOUBANGO INFO]: NETWORK EVENT FOR SERVER [SIP transport] -- FD_ACCEPT(fd=12)
*[DOUBANGO INFO]: Socket added[SIP transport]: fd=12, tail.count=3
*[DOUBANGO INFO]: NETWORK EVENT FOR SERVER [SIP transport] -- TNET_POLLOUT
*[DOUBANGO INFO]: WebSocket Peer accepted/connected with fd = 12
*[DOUBANGO INFO]: #1 peers in the 'SIP transport' transport
*[DOUBANGO INFO]: WebSocket handshake message: GET / HTTP/1.1
Host: telepre.am.getdyl.com:20060
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:37.0) 
Gecko/20100101 Firefox/37.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Sec-WebSocket-Version: 13
Origin: http://conf-call.org
Sec-WebSocket-Protocol: sip
Sec-WebSocket-Extensions: permessage-deflate
Sec-WebSocket-Key: W8/N9r1LkW4LQonlh0EvRA==
Connection: keep-alive, Upgrade
Pragma: no-cache
Cache-Control: no-cache
Upgrade: websocket

*[DOUBANGO INFO]: WebSocket Peer accepted/connected with fd = 12
*[DOUBANGO INFO]: *** Stream Peer destroyed ***
*[DOUBANGO INFO]: #0 peers in the 'SIP transport' transport
*[DOUBANGO INFO]: #1 peers in the 'SIP transport' transport
***[DOUBANGO ERROR]: function: "tsip_transport_layer_ws_cb()"
file: "src/transports/tsip_transport_layer.c"
line: "407"
MSG: WS handshaking not done yet
*[DOUBANGO INFO]: Removing socket 12
*[DOUBANGO INFO]: Socket to remove: fd=12, index=2, tail.count=3
*[DOUBANGO INFO]: RemoveSocket(fd=12) has been requested but we are poll()ing 
the socket. ShutdownSocket(fd) called on the socket and we deferred the request.
*[DOUBANGO INFO]: ShutdownSocket(fd=12)
*[DOUBANGO INFO]: WebSocket Peer closed with fd = 12
*[DOUBANGO INFO]: #0 peers in the 'SIP transport' transport
*[DOUBANGO INFO]: *** Stream Peer destroyed ***
*[DOUBANGO INFO]: PipeR event = 1
*[DOUBANGO INFO]: NETWORK EVENT FOR SERVER [SIP transport] -- TNET_POLLHUP(12)
*[DOUBANGO INFO]: Removing socket 12
*[DOUBANGO INFO]: Socket to remove: fd=12, index=2, tail.count=3
*[DOUBANGO INFO]: CloseSocket(12)
*[DOUBANGO INFO]: PipeR event = 1
*[DOUBANGO INFO]: WebSocket Peer closed with fd = 12
*[DOUBANGO INFO]: WebSocket Peer closed with fd = 12

Original issue reported on code.google.com by amah...@dyl.com on 12 May 2015 at 5:23

Attachments: