I've been trying to deploy a clojure app all day but I can't get it to
start in production.

After running "git push heroku master", it times out and I get this
error:

Error R10 (Boot timeout) -> Web process failed to bind to $PORT within
60 seconds of launch

The full logs are here: https://gist.github.com/1842439

My app is open source so you can see all of the code: 
https://github.com/dmix/documeds

The problem is apparently connecting to RedisToGo. When I remove the
code for connecting to Redis, the app deploys fine and starts up with
no errors.

I am using Aleph to connect to redis: https://github.com/ztellman/aleph

(:use [aleph.redis :only (redis-client)])
(def r (redis-client {:host redis-url :password redis-pass :port redis-
port}))

The weird thing is, when I run "heroku run lein repl" and paste in the
redis aleph code. It connects fine and can read data from the
database.

It's something about how the app is starting up thats breaking it....
but I'm completely out of ideas on how to fix it. Theres no error
messages or anything when I run "heroku run lein run" its just blank
and nothing happens.

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to [email protected].
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.

Reply via email to