Websocket limitation during evaluation?

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
pgrebenc
Posts: 4
Joined: Mon Aug 10, 2015 1:50 pm

Websocket limitation during evaluation?

Post by pgrebenc »

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.
ambrosio
Posts: 215
Joined: Thu Mar 27, 2008 12:20 pm

Post by ambrosio »

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
pgrebenc
Posts: 4
Joined: Mon Aug 10, 2015 1:50 pm

Post by pgrebenc »

Thank you for your reply. I missed the fine print.
Post Reply