private_pub icon indicating copy to clipboard operation
private_pub copied to clipboard

Faye listen on specified server

Open bl4d3 opened this issue 12 years ago • 1 comments

Hi I need to run faye on the server pointed out in private_pub.yml, to accomplish this i made in this way

config/private_pub.yml

development: server: "http://192.168.10.5:9292/faye" secret_token: "secret" test: server: "http://192.168.10.5:9292/faye" secret_token: "secret" production: server: "http://192.168.10.5:9292/faye" secret_token: "ee9eeaf88b4f932b740dcf0ce1ddb9c5fd41ec126337540b2976b889e9967ac9" signature_expiration: 3600 # one hour

RAILS_ENV=production bundle exec rackup private_pub.ru -s thin -E production -o 192.168.10.5

Thin web server (v1.3.1 codename Triple Espresso) Maximum connections set to 1024 Listening on 192.168.10.5:9292, CTRL+C to stop

but I get this error on firefox The connection to ws://192.168.10.5:9292/faye was interrupted while the page was loading.

My rails app is running on 192.168.10.5:6665 and it is correctly accessible by that url. Any hint? thanks

bl4d3 avatar Apr 24 '12 12:04 bl4d3

Are you running a Faye server on 192.168.10.5? i.e.: you can run rackup private_pub.ru -s thin -E production within your app directory.

mattconnolly avatar Jan 21 '14 09:01 mattconnolly