Corporate Firewalls Blocking WebSockets

1,107 views
Skip to first unread message

Eric B

unread,
Aug 7, 2014, 9:32:56 AM8/7/14
to python-...@googlegroups.com
Not sure if this is a Tornado specific problem or Nginx.


That's the project, I don't get how some firewalls are able to block websockets, any help would be greatly appreciated.  Thanks!

Phyo Arkar

unread,
Aug 7, 2014, 10:08:12 AM8/7/14
to Tornado Mailing List
Yes , most web proxies , firewalls will block websocket.
To work around that use Longpolling , it is more acceptable to Co-operate firewalls and web proxies. 
If Everything else fails, fall back to Normal Polling , it always work.But defeat the purpose of using Tornado.


--
You received this message because you are subscribed to the Google Groups "Tornado Web Server" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python-tornad...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Russ Weeks

unread,
Aug 7, 2014, 12:57:23 PM8/7/14
to python-...@googlegroups.com
I've used sockjs-tornado in the past, it uses websockets where possible but falls back to long-polling (or a number of other transport mechanisms) if websockets are not available. It works well. 


-Russ

David Nellessen

unread,
Aug 13, 2014, 7:39:42 AM8/13/14
to python-...@googlegroups.com
Or encrypt your Websockets with SSL (WSS). That works well in our case.
Reply all
Reply to author
Forward
0 new messages