I was using faye in OpenShift so far as heroku does not support but since i
heard that heroku supporting web sockets, i am trying to move the faye
server app to heroku but could not able to make it work. Please help me. I
have listed the files that i have
*config.ru*
require 'faye'
Faye::WebSocket.load_adapter('thin')
app = Faye::RackAdapter.new(:mount => '/faye', :timeout => 45)
run app
*procfile*
web: bundle exec thin -p $PORT -e $RACK_ENV -R config.ru start
please help me. I am trying to use it for sending the data in iOS app that
uses rails as backend
Also i have enabled web sockets using the command that is given in the
blog. I get the following error.
at=error code=H13 desc="Connection closed without response" method=GET
path=/ host=sample-app.herokuapp.com fwd="123.63.31.209" dyno=web.1
connect=1ms service=16ms status=503 bytes=0
--
--
You received this message because you are subscribed to the Google
Groups "Heroku" group.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/heroku?hl=en_US?hl=en
---
You received this message because you are subscribed to the Google Groups
"Heroku Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.