Websocket header missing
I'm using the 'faye' gem with Rails 3.2.13. In development I'm running faye on localhost:9292 and my app on localhost:3000. I'm able to activate pop-up windows with a curl request from the command line but I can't establish a connection from within my app. The error I'm getting in my console is: WebSocket connection to 'ws://localhost:9292/faye' failed: Error during WebSocket handshake: 'Upgrade' header is missing I am trying to define a header for faye in my application.js file: $(function() { var faye = new Faye.Client("http://localhost:9292/faye"); faye.setHeader("Access-Control-Allow