Quantcast
Channel: Application Request Routing (ARR)
Viewing all articles
Browse latest Browse all 739

ARR Removes Sec-WebSocket-Protocol header from WebSocket Handshake response

$
0
0

We are trynig to use ARR to front a SIP Over Websockets application and have found that it is removing a mandatory header from the Websocket handshake response. See table below showing the handshake response when using a direct connection versus that returned when using ARR.

This causes browser to reject the response as it does not meet teh websocket rfc behaviour, which says that if a request is made with a Sec-WebSocket-Protocol specified, the response must include the same protocol header. In this case "Sec-WebSocket-Protocol: sip"

Correct treatment of WebSocket subprotocols seems to be a fairly fundamental aspect for a Reverse Proxy. So can I ask:

  1. Is this supposed to be supported?
  2. Is this known issue?
  3. Is a fix on the roadmap? 

Regards,

Warren

DirectARR
HTTP/1.1 101 Web Socket Protocol Handshake\r\nHTTP/1.1 101 Web Socket Protocol Handshake\r\n
Expert Info (Chat/Sequence): HTTP/1.1 101 Web Socket Protocol Handshake\r\nExpert Info (Chat/Sequence): HTTP/1.1 101 Web Socket Protocol Handshake\r\n
Message: HTTP/1.1 101 Web Socket Protocol Handshake\r\n  Message: HTTP/1.1 101 Web Socket Protocol Handshake\r\n
Severity level: Chat  Severity level: Chat
Group: Sequence  Group: Sequence
Request Version: HTTP/1.1 Request Version: HTTP/1.1
Status Code: 101 Status Code: 101
Response Phrase: Web Socket Protocol Handshake Response Phrase: Web Socket Protocol Handshake
Upgrade: WebSocket\r\nUpgrade: Websocket\r\n
Connection: Upgrade\r\nServer: Microsoft-IIS/8.0\r\n
Sec-WebSocket-Origin: http://<FQDN-origin-hostname>\r\nX-Powered-By: ARR/2.5\r\n
Sec-WebSocket-Location: ws:///<FQDN-server-hostname>\r\nSec-WebSocket-Accept: 3SxL8CBX4UYv3Xqi9GRNhZ2P1FY=\r\n
Sec-WebSocket-Accept: tFtQwxEHR/Yj42MLSlxwA3XTvHY=\r\nConnection: Upgrade\r\n
Sec-WebSocket-Protocol: sip\r\nDate: Wed, 20 Nov 2013 05:27:38 GMT\r\n
\r\n\r\n
HTTP response 1/1HTTP response 1/1
Time since request: 0.005959000 secondsTime since request: 0.016354000 seconds
Request in frame: 344Request in frame: 300
Missing 
Added 


Viewing all articles
Browse latest Browse all 739

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>