Author |
Message |
pgrebenc Brekeke Newbie
Joined: 10 Aug 2015 Posts: 4
|
Posted: Mon Aug 10, 2015 2:09 pm Post subject: Websocket limitation during evaluation? |
|
|
1. Brekeke Product Name and Version: Brekeke SIP Server 3.4.7.2/411-1
2. Java version: 1.8.0_51 64-bit server
3. OS type and the version: Windows 8.1 x64 Enterprise Edition
4. UA (phone), gateway or other hardware/software involved: jsSIP
5. Your problem:
I'm currently testing with Brekeke, and I notice that after I have successfully registered two phones through the websocket interface, each additional attempt fails to establish a valid websocket connection. In my console log in the client I'm seeing "SCRIPT12152: Websocket Error: Network Error 12152, The server returned an invalid or unrecognized response". A capture of the traffic between the SIP client and the Brekeke server shows that the client is sending the following:
GET / HTTP/1.1
Origin: http://localhost:8088
Sec-WebSocket-Protocol: sip
Sec-WebSocket-Key: YmUBxgHwzs+o66GaFIlN2g==
Connection: Upgrade
Upgrade: Websocket
Sec-WebSocket-Version: 13
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko
Host: 172.16.17.227:10080
DNT: 1
Cache-Control: no-cache
The response from Brekeke is to close the connection (ie. send a FIN).
A successful connection starts as follows:
GET / HTTP/1.1
Origin: http://localhost:8088
Sec-WebSocket-Protocol: sip
Sec-WebSocket-Key: 1H9PQWYAUv8g7VGVptaI7w==
Connection: Upgrade
Upgrade: Websocket
Sec-WebSocket-Version: 13
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko
Host: 172.16.17.227:10080
DNT: 1
Cache-Control: no-cache
HTTP/1.1 101 Switching Protocols
Upgrade: websocket
Connection: Upgrade
Sec-WebSocket-Protocol: sip
Sec-WebSocket-Accept: xt4u5af5phQ50b7qCjHOPF2lKHU=
Server: Brekeke SIP Server rev.411-1 Evaluation
Date: Mon, 10 Aug 2015 21:07:35 GMT
Is there a connection limit imposed for the evaluation license for the SIP server product? I am only ever able to establish two connections at a time successfully. |
|
Back to top |
|
ambrosio Brekeke Master Guru
Joined: 27 Mar 2008 Posts: 215
|
Posted: Tue Aug 11, 2015 10:05 am Post subject: |
|
|
Yes, It seems Evaluation license's limitation.
The following page said: For TLS/WS/WSS, available only up to 2 end-points for evaluation purposes only.
http://www.brekeke.com/sip/feature-list.php |
|
Back to top |
|
pgrebenc Brekeke Newbie
Joined: 10 Aug 2015 Posts: 4
|
Posted: Tue Aug 11, 2015 10:14 am Post subject: |
|
|
Thank you for your reply. I missed the fine print. |
|
Back to top |
|
|