Open mariusbutuc opened 11 years ago
All works well on local machine with Faye server embedded on port :9292.
As soon as connecting to remote Faye server hosted on Heroku, 2 issues:
Unexpected response code: 400
XMLHttpRequest cannot load http://wts-faye.herokuapp.com/faye. Origin http://lvh.me:3000 is not allowed by Access-Control-Allow-Origin.
i got the same error, did you fix it ?
it's ok, i found the solution ;)
For the free Heroku account, the 750 free dyno-hours are enough for 1 dyno (process)/ month — that's enough for the Rails server.
We can scale to more than one web dyno, and use the second for the Faye server.
For starters, isolate Faye in a separate Heroku app.