Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Websockets behind enterprises proxies

According to these articles, Websocket success rate is only 63 % (if you have a websocket-ready browser).

And this InfoQ article (http://www.infoq.com/articles/Web-Sockets-Proxy-Servers) says that you have better chance to connect by using Secured Websockets (wss://).

Does anyone have any feedback on their use of the Websockets for an enterprise ready application, behind enterprise proxies and firewall ?

I'm sorry if my question is off-topic.

Regards, Nico

like image 933
ndeverge Avatar asked Jan 26 '12 10:01

ndeverge


1 Answers

That email and article are approaching two years old.

Those problems were either server or proxy related. The reason that wss:// is more successful is because SSL traffic is more opaque to intermediaries and so it is more likely that it will just be passed along without interference.

As WebSockets becomes more common, those issues will begin to dissipate as the issues are fixed in proxies, firewalls, load-balancers, and web servers.

Also, regarding WebSockets support in browsers, if you include the Flash based web-socket-js as a polyfill/fallback in your web application then you get nearly universal browser support.

like image 51
kanaka Avatar answered Sep 21 '22 16:09

kanaka