> That's just Firefox trying to open a WebSocket to Apache and failing,
> because Apache doesn't support WebSockets. Faye should fall back to another
> transport and keep sending messages -- is your application not working
> because of this?
Thanks for the reply, i also see this in chrome
POST
http://172.16.85.2/bayeux/faye
Faye.Transport.XHR.Faye.extend.Faye.Class.requestfaye.js:1
(anonymous function)
I dont see any of this in development and everything was, fine before
changing servers
Do you see anything wrong in my proxy setup ?
I will test the communication later today to see if im still able to
publish.
here a bit more of my config
faye.ru
faye_server = Faye::RackAdapter.new(:mount => '/faye', :timeout => 25)
faye_server.add_extension(ServerAuth.new)
run faye_server
start task for capistrano
namespace :faye do
desc "Stop the thin server"
task :stop, :roles => :app do
run "thin -d stop -p 9292 -R #{deploy_to}/current/
faye.ru -e
production"
end
desc "Start the thin server"
task :start, :roles => :app do
run "thin -d start -p 9292 -R #{deploy_to}/current/
faye.ru -e
production"
end
desc "Restart the thin server"
task :restart, :roles => :app do
run "thin -d restart -p 9292 -R #{deploy_to}/current/
faye.ru -e
production"
end
end
js script for subscribing
var faye = new Faye.Client('http://<%=FAYE_SERVER%>/faye');
faye.addExtension(Logger);
var subscription= faye.subscribe
Here the logger does work.