ngauthier / tubesock

Websocket interface on Rack Hijack w/ Rails support
MIT License
620 stars 43 forks source link

Failing plain rack application #45

Closed vmoravec closed 9 years ago

vmoravec commented 9 years ago

Hi, I tried to run the example in the README from within a config.ru without any additions, and it fails with Rack::Lint::LintError: Status must be >=100 seen as integer when querying it from within a Firebug with:

// backend is powered by puma
var socket = new WebSocket("ws://localhost:9292")
var socket.send("Hello")

Whatever I have tried, I always failed with different errors. What I'm doing wrong, please? I am going to use tubesock inside a Sinatra app, but had no success with any possible configuration even from a plain rack sofar. Thanks for any hints and help.

ngauthier commented 9 years ago

Thanks for the report. We're tracking this in #32. This is a known issue with newer versions of rack.