| Tornado Websockets with Google Chrome 16 |
|
Google Chrome 16 has updated their Websockets protocol from HyBi 8 to HyBi 16. This update breaks tornado.websockets (version 2.1.1 and earler) for python. Google Chrome 16 heads up post: Upcomming Protocol Update for Chrome 16 Tornado github reference: Issue#385, Issue #387 Since as of this posting there has yet to be an official relase including this patch. The quick fix for users of tornado.websockets is to sync to the HEAD version of the repository. Once it has been released just make sure your using a relased version of tornado greater then 2.1.1. Till then using git perform the following to get the latest and greatest of tornado (WARNING: Use this code at your own risk. Unreleased source code may contain incomplete API definitions and known bugs. This code is subject to change without notice): cd <temp-path-to-copy-source-code-to> Once installed your previously broken Websocket server will now work. |