[asterisk-users] SIP over WSS connection : mask error
Thava Iyer
athava at gmail.com
Thu Sep 12 02:38:40 CDT 2013
Hi,
I use chrome and sipml5 to connect to asterisk webrtc interface using TLS.
The wss connection seems ok and the SIP REGISTER sent from chrome to
asterisk and the SIP response received.
In the response, I get a "failed: A server must not mask any frames that it
sends to the client" error msg and chrome terminates the ws connection.
I've checked the asterisk debug logs, and the wireshark tls trace ( after
decryption), the mask-bit of the WS Frame being not set. But the chrome
complains otherwise.
Given below is the chrome error log and the part of the wirehark capture
(after decryption).
Can someone , help me identify the problem?
session event = type = connecting - description = Connecting...
test_wss_ast.html:39
session event = type = sent_request - description = REGISTER request
successfully sent test_wss_ast.html:39
WebSocket connection to 'wss://nicta-vm1.cloudapp.net:8089/ws' failed: A
server must not mask any frames that it sends to the client. SIPml-api.js:3
__tsip_transport_ws_onerror SIPml-api.js:1
__tsip_transport_ws_onclose SIPml-api.js:1
State machine: tsip_dialog_register_Any_2_Terminated_X_transportError
SIPml-api.js:1
=== REGISTER Dialog terminated === SIPml-api.js:1
session event = type = transport_error - description = Transport error
test_wss_ast.html:39
session event = type = terminated - description = Disconnected
test_wss_ast.html:39
response code = -1 test_wss_ast.html:41
The FSM is in the final state
0000009F 81 7e 02 5b 53 49 50 2f 32 2e 30 20 34 30 31 20 .~.[SIP/ 2.0
401
000000AF 55 6e 61 75 74 68 6f 72 69 7a 65 64 0d 0a 56 69 Unauthor
ized..Vi
000000BF 61 3a 20 53 49 50 2f 32 2e 30 2f 57 53 53 20 64 a: SIP/2
.0/WSS d
000000CF 66 37 6a 61 6c 32 33 6c 73 30 64 2e 69 6e 76 61 f7jal23l
s0d.inva
000000DF 6c 69 64 3b 62 72 61 6e 63 68 3d 7a 39 68 47 34 lid;bran
ch=z9hG4
--
Rgds
Thava
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130912/1e682b62/attachment.htm>
More information about the asterisk-users
mailing list