ryanb / private_pub

Handle pub/sub messaging through private channels in Rails using Faye.
MIT License
864 stars 228 forks source link

Connection timing out for getting faye.js #119

Open Diosan opened 8 years ago

Diosan commented 8 years ago

I have no idea why but private_pub is giving me connection timed out errors in the browser console ad the site when I am using it now.

I can access mysite:9292/faye.js and mysite:9292/faye/faye.js via my browser yet it gives me this error and hangs up the application when it does. I am at my wits end right now, hoping for a miracle.

I am starting faye with the default rackup from private_pub

rackup private_pub.ru -s thin -E production

my private_pub.yml look like this

development:
  server: "http://localhost:9292/faye"
  secret_token: "secret"
test:
  server: "http://localhost:9292/faye"
  secret_token: "secret"
production:
  server: "http://mysite.com:9292/faye"
  secret_token: "8c892afbd2ae23cd015c461a4e94aee26a3c17d9080818ea78t78t78t87t78d1"
  signature_expiration: 3600 # one hour

PLEASE HELP.... I hate to sound desperate... but I am

vairix-dmacchi commented 7 years ago

Hi @Diosan! I'm facing the same issue... did you found the solution for it?